Gsec
v2.1
功能•密钥•安装•使用•关键字•加入Discord
被动扫描
正常/主动扫描
确保您安装了 GoLang,没有它您将无法安装 nuclei。
git clone https://github.com/gotr00t0day/Gsec.git
cd Gsec
pip3 install -r requirements.txt
# Make sure that nuclei-templates is cloned in the / directory. Gsec fetches the templates from ~/nuclei-templates
python3 install.py
Gsec will fetch the shodan API key from the core directory, the passive recon script supports scanning with shodan,
please save your shodan key in core/.shodan for the scan to be able to work.
Some outputs that are too large will be saved in a file in the output folder / directory.
# normal (passive and aggresive scans)
python3 gsec.py -t https://domain.com
# Passive Recon
python3 gsec.py -t https://domain.com --passive_recon
# Ultimate Scan (Scan for High and Severe CVEs and Vulnerabilities with nuclei)
python3 gsec.py --ultimatescan https://target.com
您可以将 Proxychains 与 tor 一起使用以实现匿名。
proxychains -q python3 gsec.py -t https://target.com
如果 Gsec 发现漏洞并且有可能!输出中的关键字意味着它可能是误报,您需要手动测试该漏洞以确保它确实容易受到攻击。
我正在努力添加对 Gsec 的代理支持,它将在未来的版本中添加。
在 python3.10+ 中,运行 Gsec 时可能会出现 SSL 错误。要解决此问题,只需pip3 install ceritifi
,然后执行/Applications/Python 3.10/Install Certificates.command
,问题就会得到解决。