Github

https://github.com/shadow1ng/fscan

快速使用

主机存活探测

fscan -nobr -nopoc -h ip -o output.txt

带poc扫描

fscan -nobr -np -hf ipfile -o output.txt

ssh爆破

fscan  -np -m ssh -hf ipfile -pwdf pwdfile -o output.txt

所有参数

参数说明
-c stringssh命令执行
-cookie string设置cookie
-debug int多久没响应,就打印当前进度(default 60)
-domain stringsmb爆破模块时,设置域名
-h string目标ip用逗号隔开,也可以用-表示范围(0-255)
-hf string读取文件中的目标
-hn string扫描时要跳过的ip
-m string设置扫描模式: -m ssh (default “all”)
-no扫描结果不保存到文件中
-nobr跳过sql、ftp、ssh等的密码爆破
-nopoc跳过web poc扫描
-np跳过存活探测
-num intweb poc 发包速率 (default 20)
-o string扫描结果保存到哪 (default “result.txt”)
-p string设置扫描的端口: 22 1-65535 22,80,3306
-pa string新增需要扫描的端口
-path stringfcgi、smb romote file path
-ping使用ping代替icmp进行存活探测
-pn string扫描时要跳过的端口,as: -pn 445
-pocname string指定web poc的模糊名字, -pocname weblogic
-proxy string设置代理, -proxy http://127.0.0.1:8080
-user string指定爆破时的用户名
-userf string指定爆破时的用户名文件
-pwd string指定爆破时的密码
-pwdf string指定爆破时的密码文件
-rf string指定redis写公钥用模块的文件 (as: -rf id_rsa.pub)
-rs stringredis计划任务反弹shell的ip端口 (as: -rs 192.168.1.1:6666)
-silent静默扫描,适合cs扫描时不回显
-sshkey stringssh连接时,指定ssh私钥
-t int扫描线程 (default 600)
-time int端口扫描超时时间 (default 3)
-u string指定Url扫描
-uf string指定Url文件扫描
-wt intweb访问超时时间 (default 5)
-pocpath string指定poc路径
-usera string在原有用户字典基础上,新增新用户
-pwda string在原有密码字典基础上,增加新密码
-socks5指定socks5代理 (as: -socks5 socks5://127.0.0.1:1080)
-sc指定ms17010利用模块shellcode,内置添加用户等功能 (as: -sc add)