linux-learn-basement
Posted at 2023-06-06
su
find
pyhton3 -m http.server
systemctl
&
将一个 process transfer into backgroud, and CTRL + Z has the same effect
fg
transfer a background process back to foreground
traceroute
nmap
-O detect Operating System
-sS syn scan
-sU UDP scan
-sV detect service/info version
-oA output the result in three major format
-oG output scan in general
-A aggressive mode: Enable OS detection, version detection, script scanning, and traceroute
-sX, -sF, -sN 发送不同的握手信息,如何端口关闭则会返回 RST
-sn using ping to detect host is up
-Pn not ping before scanning it
-f fragment the packet making it less likely that packet will be detected by the firewall
扫描速度加快
nmap ip -sT -p-