8000 GitHub - ThomasByr/tor-brute at v1.0.0-dev
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ThomasByr/tor-brute

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

58 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

icon tor-brute - Forms brute-forcer via Tor

GitHub license GitHub commits GitHub latest commit Maintenance

Python Package GitHub release Author Author

  1. ✏️ Setup
  2. πŸ”§ Usage
  3. πŸ§‘β€πŸ« Contributing
  4. βš–οΈ License
  5. πŸ”„ Changelog
  6. πŸ› Bugs and TODO
  7. 🎨 Logo and Icons
Warning

Disclaimer : This is an educational project, please do not use it for illegal purposes. We are not responsible for any damage caused by the use of this project.

✏️ Setup

Info

Please note we do not officially support Windows or MacOS, but we do provide some instructions for those who want to use it on these platforms.

You do not explicitly need a conda environment for the bot to run. But it is always recommended nontheless, especially because the next LTS of Ubuntu won't let users pip-install anything without a virtual environment. At the time of writing, this app requires python >= 3.8 to run.

First, install the dependencies :

sudo apt-get update
sudo apt-get install tor
sudo service tor stop  # the app will start its own tor instance

Then clone the repository and cd into it :

# Clones the repository
git clone git@github.com:ThomasByr/tor-brute.git
cd tor-brute

You can create and activate a conda environment with the following commands :

# Creates environment and install dependencies
conda env create -f environment.yml -y
conda activate tor

Finally, run the app in the background with nohup and tee :

# Runs the app in the background
nohup python tor-brute.py 2>&1 | tee -a .log &

or in the foreground :

# Runs the app (lets you Ctrl+C to stop it)
python tor-brute.py

πŸ”§ Usage

Simply create a .cfg file from .cfg.example and fill it, then provide text files for both usernames and passwords. The app will try every combination of usernames and passwords, and will issue a log record for each successful login.

username_or_password_part_1
username_or_password_part_2
username_or_password_part_3
...
argument hint default
--help show help message and exit
--version show program's version
--debug debug mode False
--config path to the config file .cfg
--user path to the usernames file assets/user.txt
--passwd path to the passwords file assets/passwd.txt
--iter * number of combination for user/passwd 3, 2
--each change Tor ID each X requests (0 or >=100) 1000

πŸ§‘β€πŸ« Contributing

If you ever want to contribute, either request the contributor status, or, more manually, fork the repo and make a pull request !

We are using black to format the code, so make sure you have it installed and run :

black src

The standard procedure is :

fork -> git branch -> push -> pull request

Note that we won't accept any PR :

  • that does not follow our Contributing Guidelines
  • that is not sufficiently commented or isn't well formated
  • without any proper test suite
  • with a failing or incomplete test suite

Happy coding ! πŸ™‚

βš–οΈ License

Warning

This repository is an app and might be exported as a standalone binary. Working source code is licensed under AGPL, the text assets are unlicensed, images and logos have their own section. The following license only applies to the template itself and is not legal advice. The license of this repo does not apply to the resources used in it. Please check the license of each resource before using them.

This project is licensed under the AGPL-3.0 new or revised license. Please read the LICENSE file. Additionally :

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

  • Neither the name of the tor-brute authors nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

tor-brute - Forms brute-forcer via Tor
Copyright (C) 2023 ThomasByr AND LosKeeper

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.

πŸ”„ Changelog

Please read the changelog file for the full history !

first release (click here to expand)

v1.0 beta candidate (a.k.a. dev)

  • add option to change Tor ID each X requests
  • new TupleGenerator that yields products of conbinations
  • renew http session each Tor ID swap
  • ThreadPool is not closed/joined/terminated/deleted and then recreated anymore ! we use POSIX condition variables !
  • somehow improved performance by 6.9% (not sure how)
  • RAM usage does not seem to increase anymore (to be confirmed)
  • consistent naming for variables and files
  • next up: beta, release candidate, and release (drastic changes should only happen between beta and release candidate)

πŸ› Bugs and TODO

TODO (first implementation version)

  • add a simple cli (0.1.1)
  • option to not use tor (?)
  • option to change Tor ID each X requests (would need to implement a catch-up mechanism because thread jobs are unordered) (v1.0.0)
  • option to use a running tor instance/service
  • choose protocol (http, https, ssh, etc.)

Known Bugs (latest fix)

  • lagging threads are not catching up, especially when ReadTimeout is reached (interferes with Tor ID swap)

🎨 Logo and Icons

Icon by Dewi Sari from flaticon.com

Unless otherwise stated, all icons and logos are made by the author. Copyright (C) 2023 Thomas BOUYER, all rights reserved.

Tools used :

About

πŸ§„ forms brute forcer via tor

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0