This Python script is designed to automate the process of reporting potentially malicious URLs through the Phish.Report API. It facilitates mass phishing report submissions and stores the results in JSON files within a local folder.
- Mass Reporting: Allows you to report up to 10 URLs at a time.
- Takedown Automation: Automatically initiates takedown processes for URLs identified as malicious.
- Local Result Storage: Saves abuse contact information and takedown responses in JSON files.
To use this script, you need the following:
- Python 3
requests
library installed in Python (install usingpip install requests
)json
library installed in Python (install usingpip install json
)- A valid Phish.Report API key
- Clone this repository or download the files to your local machine.
- Open the script in your favorite IDE or text editor and replace
'your_real_api_key_here'
with your actual API key. - Ensure that the
requests
andjson
libraries are installed.
To run the script, follow these steps:
- Open a terminal or command prompt.
- Navigate to the directory where the script is located.
- Run the script with
python repph.py
. - Follow the on-screen instructions to input the URLs you want to report.
- Check the "results" folder to view the JSON files containing the report details.
A .gitignore
file has been configured to exclude the 'results' folder and its contents from the repository.
Use this script with caution and ensure that only URLs you have verified as malicious are reported.
If you encounter any issues or have suggestions, please open an issue in this repository.