Giter Club home page Giter Club logo

dark-spider's Introduction

dark-spider

Dark-spider is a dark web crawler designed to navigate and index content on the dark web. It crawls through .onion web pages, and scrapes all the hyperlinks on those pages. The crawler goes on recursively upto a certain depth, and stores the links in a tree-like structure in json format, for futher analysis.

Dependencies

  1. requests: To make HTTP requests.
  2. BeautifulSoup: For HTML parsing.
  3. stem and stem.control.Controller: For controlling and switching IP addresses through the Tor network.
  4. socks: For configuring the session with SOCKS proxy to route traffic through Tor.

Install the dependecies using:

sudo pip install -r requirements.txt

The tor service should also be installed

sudo apt install tor

Prerequisites

  1. Generate 'tor_hash_password' using:

    tor --hash-password <secretkey>

  2. Edit tor configuration file (/etc/tor/torrc):

    sudo nano /etc/tor/torrc

    Append following lines at the end of file:

    SocksPort 9050

    ControlPort 9051 HashedControlPassword 'tor_hash_password'

  3. Restart the tor service:

    sudo systemctl restart tor

Usage

Run the python script:

sudo python3 darkspider.py

Results

Visual representation of the .json file. crawled3

dark-spider's People

Contributors

arjun4522 avatar

Watchers

 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.