The author does not hold any responsibility about the bad use of this script, remember that attacking targets without prior concent its ilegal and punish by law, this script was build to show how resource files can automate tasks.
ReelPhish consists of two components: the phishing site handling code and this script. The phishing site can be designed as desired. Sample PHP code is provided in /examplesitecode. The sample code will take a username and password from a HTTP POST request and transmit it to the phishing script.
The phishing script listens on a local port and awaits a packet of credentials. Once credentials are received, the phishing script will open a new web browser instance and navigate to the desired URL (the actual site where you will be entering a user’s credentials). Credentials will be submitted by the web browser.
The recommended way of handling communications between the phishing site and this script is by using a reverse SSH tunnel. This is why the example PHP phishing site code submits credentials to localhost:2135.
1. You must specify the browser you will be using with the –browser parameter. Supported browsers include Internet Explorer (“–browser IE”), Firefox (“–browser FF”), and Chrome (“–browser Chrome”). Windows and Linux are both supported. Chrome requires the least amount of setup steps. See above installation instructions for further details.
2. You must specify the URL. The script will navigate to this URL and submit credentials on your behalf.
3. Other optional parameters are available.
++ Set the logging parameter to debug (–logging debug) for verbose event logging
++ Set the submit parameter (–submit) to customize the element that is “clicked” by the browser
++ Set the override parameter (–override) to ignore missing form elements
++ Set the numpages parameter (–numpages) to increase the number of authentication pages (see below section)
Multi Page Authentication Support
ReelPhish supports multiple authentication pages. For example, in some cases a two factor authentication code may be requested on a second page. To implement this feature, be sure that –numpages is set to the number of authentication pages. Also be sure that the session ID is properly tracked on your phishing site. The session ID is used to track users as they proceed through each step of authentication.
In some cases, you may need to scrape specific content (such as a challenge code) off of a particular authentication page. Example commented out code is provided in ReelPhish.py to perform a scraping operation.
– Python 2.7.x
– Internet Explorer: www.seleniumhq.org/download/
– Firefox: www.github.com/mozilla/geckodriver/releases/
– Chrome: https://chromedriver.storage.googleapis.com/index.html?path=2.35/
Use and Download:
git clone https://github.com/fireeye/ReelPhish && cd ReelPhish
pip install -r requirements.txt
1. Download the Internet Explorer Driver Server for 32 bit Windows IE. Unzip the file and rename the binary to: IEDriver.exe.
Download here: http://www.seleniumhq.org/download/
2. Download the latest release of the Firefox GeckoDriver for Windows 32 bit. Unzip the file and rename the binary to: FFDriver.exe.
Download here: http://www.github.com/mozilla/geckodriver/releases/
3. Download the latest release of the Google Chrome Driver for Windows 32 bit. Unzip the file and rename the binary to: ChromeDriver.exe.
Download here: https://chromedriver.storage.googleapis.com/index.html?path=2.35/