GithubHelp home page GithubHelp logo

tofind's Introduction

ToFind

同源码网站收集工具 发现网站特征指纹,通过Fofa搜寻同源网站

摘要

这是一个发现网站指纹的工具,依据css、Api等来发现网站指纹,调用Fofa Api搜索同源网站

更新日志

版本更新(2024/7/27)

v2.0.1

更新获取api逻辑,排除jquery.jsbootstrap.css等引用的api接口

降低指纹中.css.js.png.jpg.icoapi占比,放大.html.php接口的比例

版本更新(2024/7/16)

v2.0.0

支持任意url,附加httphttps协议,支持批量读取url,修复xlsx导出功能

使用方式

0x01

通过requests.txt文件下载python3模板包

pip install -r requests.txt -i https://pypi.tuna.tsinghua.edu.cn/simple

image-20240713104509957

0x02

配置config.json文件设置Fofa key

image-20240713105007932

0x03

image-20240713105831167

用法

python ToFind.py -u http://localhost:4000/                       (提取本地4000端口web服务的网站指纹)        
python ToFind.py -u http://localhost:4000/ -p hexo               (提取web网站指纹并且附加参数“hexo”,如果提取的指纹为“/login”,最后的指纹为 "/login" && "hexo")
python ToFind.py -u http://localhost:4000/ -f                    (输出网站指纹,并且使用Fofa查询同源的网站并显示在命令行中)
python ToFind.py -u http://localhost:4000/ -f -o 1.txt           (输出网站指纹,使用Fofa查询同源的网站将其保存在1.txt文件中)
python ToFind.py -u http://localhost:4000/ -f -o 1.xlsx          (输出网站指纹,使用Fofa查询同源的网站将其保存在1.xlsx文件中)
python ToFind.py -r 1.txt -f -o out.xlsx                         (批量读取1.txt中的url通过Fofa搜索数据导出至out.xlsx)

批量测试:

image-20240716095456086

image-20240716102017407

结果图

image-20240716102159147

image-20240716102346780

image-20240716102303040

同源测试

0x01

https://jwxt.lcu.edu.cn/jwglxt/xtgl/login_slogin.html

image-20240713110853527

python3 ToFind.py -u https://jwxt.lcu.edu.cn/jwglxt/xtgl/login_slogin.html -f | more

image-20240713111154485

image-20240713111301822

image-20240713111308158

0x02

http://speak13.com:81/

image-20240713111739290

python3 ToFind.py -u http://speak13.com:81/ -f | more

image-20240713111814174

image-20240713111935578

image-20240713111959722

0x03

(hexo)

image-20240713114435230

python3 ToFind.py -u http://192.168.1.3/ -f | more

image-20240713114638317

image-20240713114603431

image-20240713114700558

末尾

如有侵权请联系我删除

tofind's People

Contributors

xiaomming9 avatar

Stargazers

NieR avatar

Watchers

 avatar

Forkers

haroldfinch-l

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.