This Python script facilitates the anonymous downloading of files from URLs listed in a .txt
file through the Tor network. The script ensures privacy by routing requests through Tor and provides real-time progress updates on the downloads, including download speed and percentage completion. It also logs all download activities to an output.txt
file for record-keeping and audit purposes.
- Anonymity: Uses Tor to anonymize your internet traffic.
- Progress Tracking: Real-time progress bar with percentage completion and download speed.
- Logging: Detailed logs of all download activities.
- User-Agent Customization: Sends requests with a generic Mozilla user-agent to mimic typical user traffic.
Before running this script, make sure you have the following installed:
- Python 3.x
- Tor Browser or a standalone Tor service
This script requires several Python libraries:
requests
PySocks
(orsocks
depending on your environment)tqdm
-
Clone the Repository:
git clone https://github.com/alenperic/Darkweb-Downloader.git cd darkweb-downloader
-
Install Required Libraries:
pip install -r requirements.txt
-
Configure Tor: Ensure that Tor is running and configured to accept connections through a SOCKS proxy (default is
localhost:9150
for Tor Browser). -
Set Up Configuration Files: Edit the
urls.txt
file to include the URLs you wish to download files from.
Add links to be downloaded to the urls.txt file. Run the script using:
python download.py
or for logging capabilities:
python dwn2.py
The files will be downloaded to the downloaded_files
directory, and progress will be shown in the command line interface. Logs of the downloads will be stored in output.txt
.
Contributions to this project are welcome. Please fork the repository and submit a pull request.