Skip to content

enh123/SecretFinder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SecretFinder 渗透测试敏感信息搜索工具

用法一: {D6FD4B0C-9115-4E00-BE86-76AF7C5D144B}_mosaic(1) {F2A64928-DFA2-4284-A9B5-7D2A333BC081}_mosaic

用法二,不发送请求直接从url中提取参数和值: {5A5874BA-9839-41E8-90DB-17AFEA3EA572}

{ED18343B-92D0-4298-BD2D-E491A30FD975}

可以匹配多种规则例如:

key=123456

key='123456'

key:123456

key:'123456'

'key' : '123456'

'key' = '123456'

使用技巧:

katana -d 5 -jc -kf all -ef jpg,png,css,woff,ttf -s breadth-first -timeout 15 -retry 2 -headless -nos -automatic-form-fill -u urls.txt |grep -E '.js$|.json$|.config$|.log$|.txt$|.sql$|.env$|.xml$' >> secret_urls.txt

sort -u secret_urls.txt -o secret_urls.txt

httpx -l secret_urls.txt -t 10 -mc 200 --retries 3 >> final_urls.txt

py -3 main.py -f final_urls.txt -t 10 --proxy="http://127.0.0.1:8080" -d baidu.com,baidu.cn >> result.txt


2025/7/20 引入并优化linkfinder正则

linkfinder匹配不到这样的路径例如 "#/components/schemas/UpdateStatusParams" , "components/schemas/UpdateStatusParams"


参考了以下项目:

https://github.com/abhi-recon/jssecretscanner

https://github.com/gh0stkey/HaE

https://github.com/GerbenJavado/LinkFinder

About

SecretFinder

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages