Git Product home page Git Product logo

multiversecoder / darknet.py Goto Github PK

View Code? Open in Web Editor NEW
68.0 3.0 5.0 164 KB

darknet.py is a network application with no dependencies other than Python and Tor, useful to anonymize the traffic of linux servers and workstations.

License: BSD 3-Clause "New" or "Revised" License

Python 95.23% Shell 4.77%
tor linux darknet anonymous-proxy anonymity transparent-proxy ubuntu debian fedora centos

darknet.py's Introduction

This repository has been archived as it was poorly developed during a very confusing time.

For a better version: hidemego

darknet.py - Network Anonymization Tool

What is darknet.py?

darknet.py is a network application with no dependencies other than Python and Tor, useful to anonymize the traffic of linux servers and workstations.

The action darknet.py performs is to redirect all traffic via SOCKS5 (Tor) Proxy using the Transparent Proxy Method.

DNS requests are also anonymized and darknet.py makes DNS Leak almost impossible.

When to use darknet.py?

darknet.py can be used under any circumstances that require a mandatory anonymity requirement. The cases could be different: From Scraping to the prevention of attacks on Servers with Critical Information, or the communication in total anonymity through the programs of daily use.

The creator's hope is that it will be used to improve people's privacy.

It is up to the user to decide what to do with it.

Compatibility

The compatibility of darknet.py is verified on all RHEL distributions such as Fedora and CentOS. Debian/Ubuntu/Mint are also supported.

SELinux is temporarily disabled when darknet.py is started.

Requirements

To use darknet.py you need a Linux distribution with:

  • Python3.7
  • Tor
  • NetworkManager
  • IPTables
  • CURL

How Can I Install darknet.py on Linux?

Download

$ git clone https://github.com/multiversecoder/darknet.py

$ cd darknet.py

In the darknet.py folder use the ./install.sh to install the software

$ chmod +x install.sh

$ sudo ./install.sh

Features

  • Ease of use
  • MAC address spoofing
  • Compatibility with Linux Distros
  • Security against DNS Leaks
  • No need to use external libraries (Python)

Usage

To start darknet.py without special configurations use the command:

$ sudo darknet.py --start --torid <YOUR_Tor_ID>

To start darknet.py in stealth mode to change the MAC Address of the interfaces, use the command:

$ sudo darknet.py --stealth --torid <YOUR_Tor_ID> --ifaces [enp1s0]

To end the darknet.py anonymisation session, use the command:

$ sudo darknet.py --stop

NOTES:

<interface(s)> should be added as python list [wlo1, ...]

Optional darknet.py arguments:

-h, --help | show this help message and exit

--start | Starts the transparent proxy

--stealth | Changes MAC Address and Starts the transparent proxy

--stop | Stop the execution and reset configurations

--torrc TorRC | Sets the location of torrc config file

--torid TorID | Sets the Tor Process ID

--tpass TPASS | The Tor Control Password (Enables Control Port)

--port PORT | Sets the Tor transport port

--ifaces IFACES | Add interfaces to change mac address

--remove | Removes the current installation of darknet.py from the system

--no5 | Excludes Nodes from 5 eyes countries

--no9 | Excludes Nodes from 9 eyes countries

--no14 | Excludes Nodes from 14 eyes countries

--no14p | Excludes Nodes from 14 eyes countries + Others

Finding your Tor ID

From the terminal run:

id -u (Tor username)

Finding ID of Default Tor User on RHEL/CentOS/Fedora:

id -u toranon

Finding ID of Default Tor User on Debian/Ubuntu/Mint:

id -u debian-tor

Finding ID of Default Tor User on ARCH:

id -u tor

DISCLAIMER:

The author of this software assumes no responsibility for the use of this software to perform actions that do not comply with the law or damage property or individuals. Using this software you take full responsibility for your actions.

darknet.py's People

Contributors

multiversecoder avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

darknet.py's Issues

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.