This commit is contained in:
nick 2018-06-20 10:05:06 +08:00
parent a335523133
commit 02f5f95147
2 changed files with 6 additions and 0 deletions

View File

@ -266,6 +266,10 @@ ls /usr/local/nginx | tee -a test.txt #查看并以追加的形式写入内容
#### nmap 命令 #### nmap 命令
``` ```
nmap ip #查看开放端口
nmap ip -p 端口 #查看指定端口是否开启
nmap -sS -P0 -sV -O ip #查看主机系统信息 nmap -sS -P0 -sV -O ip #查看主机系统信息
``` ```

View File

@ -28,6 +28,8 @@ wget --user username --password pass url #认证
#### curl 命令 #### curl 命令
``` ```
curl ifconfig.me #查看外网 IP
curl www.baidu.com #请求指定网址并显示出来 curl www.baidu.com #请求指定网址并显示出来
curl -o demo.html https://www.baidu.com/index.php #下载指定文件并重命名为 demo.html curl -o demo.html https://www.baidu.com/index.php #下载指定文件并重命名为 demo.html