PHPScraper is a Python script that extracts PHP files from a website and optionally saves them to a text file.
- Extract PHP files from a specified website.
- Display the list of extracted PHP files.
- Option to save the list of PHP files to a text file.
- Python 3.x
- BeautifulSoup4 library
- Requests library
- Clone the repository:
git clone https://github.com/f8le/PHPScraper.git
- Install the required libraries:
pip install beautifulsoup4 pip install requests
- Run the script:
python PHPScraper.py
-
Enter the URL of the website when prompted.
-
The script will display the PHP files found on the website.
-
Choose whether to save the list of PHP files to a text file.