A cross-platform proxy checker and hunter toolkit built with PHP, Python, and shell scripting.
- Proxy checker/hunter/extractor
- CIDR range scanner
- HTTP/HTTPS, SOCKS4/5 support
- Open port scanner
- Web-based and CLI interface
- Artisan, Nginx, and Apache support
- Multithread & single-thread checker
- WhatsApp Bot proxy manager (Ubuntu 20.x)
- Cross-platform: Linux & Windows 10+
- PHP, Python, Bash, Batch support
Before starting, run:
git submodule update --init --recursive
sudo apt install build-essential autoconf libtool bison re2c pkg-config -yUbuntu 18.x:
# Build from source
cd /tmp
curl -LO https://www.sqlite.org/2024/sqlite-autoconf-3460000.tar.gz
tar -xzf sqlite-autoconf-3460000.tar.gz
cd sqlite-autoconf-3460000
./configure && make && sudo make install
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export LD_RUN_PATH=/usr/local/lib:$LD_RUN_PATH
# Update ld.so
if ! grep -q "/usr/local/lib" /etc/ld.so.conf; then
echo "/usr/local/lib" | sudo tee -a /etc/ld.so.conf
fi
sudo ldconfig
# Link binary
sudo ln -sf /usr/local/bin/sqlite3 /usr/bin/sqlite3
sqlite3 --versionUbuntu 20.x:
sudo apt update && sudo apt upgrade
sudo apt install sqlite3
sqlite3 --versionpython3 requirements_install.py
yarn install
composer install
# Setup Git attributes merge driver
git config merge.resolve_hash.driver "node bin/cfh.cjs %O %A %B"task buildsudo apt install git git-lfs -y
git clone https://github.com/dimaslanjaka/php-proxy-hunter my-project
cd my-project
git lfs install
git lfs track "*.rar"- Rename
.env_sampleto.env - Create required data files:
touch CIDR.txt CIDR-original.txt dead.txt proxies.txt proxies-all.txt proxies-http.txt proxies-socks.txt proxyChecker.txt proxyFetcherSources.txt proxyRange.txt status.txt working.txt- Extract
src/database.rarintosrc/
.
βββ project/
βββ src/
β βββ database.sqlite
β βββ database.sqlite-whm
βββ proxies.txt
βββ dead.txt
-
Modify
.htaccessornginx.conffor your domain -
Install dependencies:
npm install -g @go-task/cli
task install-nodejs
task install-python
task install-php| Task | Schedule | Command |
|---|---|---|
| Proxy checker | Every 10 mins | */10 * * * * php /path/to/proxyChecker.php > /path/to/proxyChecker.txt 2>&1 |
| Proxy fetcher | Daily | 0 0 * * * php /var/www/html/proxyFetcher.php |
| Proxy index | Daily | 0 0 * * * php /var/www/html/artisan/proxyCollector.php |
| Parallel checker | Hourly at 17 mins | 17 */1 * * * php /var/www/html/proxyCheckerParallel.php |
| Cleaner | Weekly (Sunday) | 0 0 * * 0 php /var/www/html/cleaner.php |
| DB backup | Daily at midnight | 0 0 * * * sqlite3 /var/www/html/src/database.sqlite .dump > /var/www/html/backups/database_backup_$(date +\%Y-\%m-\%d).sql |
Crontab as specific user:
sudo crontab -u www-data -e # Edit
sudo crontab -u www-data -l # List
sudo crontab -u www-data .crontab.txt # Apply from file
sudo crontab -u www-data -r # remove allsudo apt install php-fpm -ygit config core.fileMode falseGIT_LFS_SKIP_SMUDGE=1systemctl restart php7.2-fpm
systemctl restart nginxpython3 -m pip install -r requirements.txtThis project is licensed under the GNU General Public License v3.0
Copyright (c) 2024 Dimas Lanjaka
See https://www.gnu.org/licenses/gpl-3.0.html for details.
For questions:
- Name: Dimas Lanjaka
- Website: webmanajemen.com
- Email: [email protected]