Giter Club home page Giter Club logo

baidu_url_collect's Introduction

baidu_url_collect

百度url采集脚本,挖洞的人都懂这是什么.. win和linux下均可使用,亲测速度比较快(多线程加队列的写法),脚本本身确实不是很难实现,大牛勿喷

usage: bd_url.py [-h] [-p PAGECOUNT] [-t THREAD_COUNT] [-o OUTFILE] keyword

baidu_url_collect py-script by xiaoye

positional arguments:
  keyword               keyword like inurl:.?id= for searching sqli site

optional arguments:
  -h, --help            show this help message and exit
  -p PAGECOUNT, --page PAGECOUNT
                        page count
  -t THREAD_COUNT, --thread THREAD_COUNT
                        the thread_count
  -o OUTFILE, --outfile OUTFILE
                        the file save result

keyword为关键字,如site:.kr即为搜寻韩国网站; -p指定要采集的页数,一页10条url,实际采集中会比这个数字少,因为有的网站已经无法访问; -t指定线程数,默认为10,建议开到40左右; -o指定输出文件位置,默认为当前目录的result.txt下

demo: python bd_url.py "site:.kr" -p 20 -t 20 -o result1.txt

脚本只是初步完成,确实比较简单,之后会完善,加入google等的采集功能,如有bug,敬请提出

baidu_url_collect's People

Contributors

xiaoyecent avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

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.