This repository contains a script to copy websites using httrack
through proxychains
and tor
, ensuring dynamic IP rotation to bypass rate-limiting mechanisms on the target website.
- Automatic installation of required tools (
httrack
,proxychains
,tor
) - Dynamic IP rotation using Tor, with a new IP address every 10 seconds
- Configurable delay between requests to prevent rate limiting
- User-friendly output messages
Ensure you have the following installed on your system:
- Bash shell
sudo
privileges
Clone this repository to your local machine:
git clone https://github.com/ianwolf99/WEB_cloner.git
cd WEB_cloner
-
Configure Tor: Edit your Tor configuration file (
/etc/tor/torrc
) to include the following settings for dynamic IP rotation:MaxCircuitDirtiness 10 CircuitBuildTimeout 3 LearnCircuitBuildTimeout 0
-
Configure Proxychains: Ensure your Proxychains configuration file (
/etc/proxychains.conf
) is set up correctly:# proxychains.conf VER 3.1 dynamic_chain quiet_mode proxy_dns tcp_read_time_out 15000 tcp_connect_time_out 8000 [ProxyList] socks5 127.0.0.1 9050
Run the script with the target website URL as an argument:
./web_copy.sh <website_url>
To copy a website:
./web_copy.sh https://example.com
The script will:
- Ensure
httrack
,proxychains
, andtor
are installed. - Start the Tor service.
- Use
proxychains
to routehttrack
traffic through Tor. - Copy the website with a 20-second delay between each request.
The copied website will be saved in a directory named after the URL with _mirror
appended.
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
## Acknowledgments
- [HTTrack](https://www.httrack.com/)
- [Proxychains](https://github.com/haad/proxychains)
- [Tor](https://www.torproject.org/)
---