Credit to SeanDaBlack for the basis of the script.
If you have a question, before dropping into the Discord, check out our FAQ page and see if your question has already been answered.
main.pyis the entrypoint for the program.bot/server.pycreates a local web server that serves up a reCaptcha checkbox and passes the reCaptcha token to theforms.pyfile.bot/forms.pycontains the functions used to interact with the forms on the target's website.bot/data.pycontains generators for realistic randomized data.bot/redirection.pyis used to redirectprolifewhistleblower.comto127.0.0.1bot/static/captcha.htmlis our simple reCaptcha checkbox page.bot/logger.pyfile for setting uploggingpackage.bot/arguments.pyfile for getting arguments from the commandline.requirements.txtcontains the required Python3 packages to be installed.style.yapfis the configuration file for the yapf formatter. Please runyapf -ri ./bot/when contributing.FAQ.mdis a list of frequently asked questions and their answers.
git clone https://github.com/SeanDaBlack/AbBOT.git
cd AbBotIf you don't already have python3.exe and pip3.exe installed on Windows, you can install them from the Microsoft Store.
https://www.microsoft.com/en-us/p/python-39/9p7qfqmjrfp7
Now we can install the required Python 3 packages for this project.
pip3.exe install -r .\requirements.txtPlease ensure you're running the script with Adminsitrator rights, or someone with read and write access to C:\Windows\System32\drivers\etc\hosts.
python3.exe .\main.py
Then, you will see the following message, "Starting the web server at http://prolifewhistleblower.com:8000/". You will want to open this URL in your browser (works with browsers' Incognito mode if you want to use it). From there you will see a reCaptcha checkbox. Click or solve the reCaptcha and then submit the form.
If you see a message exactly like the following the following in your terminal, then it was successful. If it was not successful, let us know so we can try to fix the issue.
POST request complete.
{"success":true,"data":{"message":"<p>Thank you, we will be working on this shortly.<\/p>","success":true,"behav":"behaviour-hide"}}
To exit the program, please hit Ctrl+C.
If you don't have python3 or pip3 installed, you can install the python3 package with your preferred package manager.
sudo apt install python3
# or
brew install python3Now we can install the required Python 3 packages for this project.
pip3 install -r ./requirements.txtPlease ensure you're running the script with sudo, or someone with read and write access to /etc/hosts.
sudo python3 ./main.py
# or
sudo ./main.pyIf you installed python3/pip3 with brew (or installed Python to your account and not to the system in another way), you will want to keep your PATH when using sudo.
sudo env "PATH=$PATH" python3 ./main.py
# or
sudo env "PATH=$PATH" ./main.pyThen, you will see the following message, "Starting the web server at http://prolifewhistleblower.com:8000/". You will want to open this URL in your browser (works with browsers' Incognito mode if you want to use it). From there you will see a reCaptcha checkbox. Click or solve the reCaptcha and then submit the form.
If you see a message exactly like the following the following in your terminal, then it was successful. If it was not successful, let us know so we can try to fix the issue.
POST request complete.
{"success":true,"data":{"message":"<p>Thank you, we will be working on this shortly.<\/p>","success":true,"behav":"behaviour-hide"}}
To exit the program, please hit Ctrl+C.
If you don't have python3 or pip3 installed you can either download the installer from the Python 3.9.7 release page or install it with brew.
brew install python3Now we can install the required Python 3 packages for this project.
pip3 install -r ./requirements.txtTo make use of a feature that will generate the text of your tip dynamically on each submission, make a free account at DeepAI and use the API key generated for you found on your profile page. Set the environment variable 'DEEP_AI_KEY' to this value. This will make it harder to automatically filter out these tips.
Please ensure you're running the script with sudo, or someone with read and write access to /etc/hosts.
sudo python3 ./main.py
# or
sudo ./main.pyIf you installed python3/pip3 with brew (or installed Python to your account and not to the system in another way), you will want to keep your PATH when using sudo.
sudo env "PATH=$PATH" python3 ./main.py
# or
sudo env "PATH=$PATH" ./main.pyThen, you will see the following message, "Starting the web server at http://prolifewhistleblower.com:8000/". You will want to open this URL in your browser (works with browsers' Incognito mode if you want to use it). From there you will see a reCaptcha checkbox. Click or solve the reCaptcha and then submit the form.
If you see a message exactly like the following the following in your terminal, then it was successful. If it was not successful, let us know so we can try to fix the issue.
POST request complete.
{"success":true,"data":{"message":"<p>Thank you, we will be working on this shortly.<\/p>","success":true,"behav":"behaviour-hide"}}
To exit the program, please hit Ctrl+C.
usage: main.py [-h] [-v] [-c COUNT]
optional arguments:
-h, --help show this help message and exit
-v, --verbose Increases the verbosity of the output.
-c COUNT, --count COUNT
Set a maximum number of times to successfully submit to the form.
