杂
s1y1n9aI
未知攻 焉知防
展开
-
防火墙相关命令
查看防火墙配置netsh firewall show config允许指定程序全部连接(Windows Server 2003 系统及之前版本)netsh firewall add allowedprogram c:\nc.exe "allow nc" enable允许指定程序连入(Windows Server 2003 之后系统版本)netsh advfirewall firewall add rule name="pass nc" dir=in action=allow program="原创 2022-04-14 17:04:36 · 3109 阅读 · 1 评论 -
一行代码开启python、php简易服务
python# python2python2 -m SimpleHTTPServer 8080# python3python3 -m http.server 8080phpphp -S 127.0.0.1:8080原创 2022-04-14 16:56:52 · 761 阅读 · 0 评论