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
,問題就會解決。