If not found, php and python modoules will be installed on first run
Tested on
Termux
Ubuntu
Kali-Linux
Arch
Fedora
Manjaro
Usage
Run the script
Choose a Website
Wait sometimes for setting up all
Send the generated link to victim
Wait for victim login. As soon as he/she logs in, credentials will be captured
Example
Video Tutorial
PyPhisher in Termux
PyPhisher in Kali Linux by InfoSecPat
PyPhisher in Kali Linux by Sathvik
Whats new in 1.8?
Mailing
Now you can send credentials to any email. You just need a gmail and app password to use this feature. Edit the data in files/email.json
Custom Preview
Now you can set a custom social media preview of your link. Enter a website url when asked in shadow url. Your link will have same appearence as that website in whatsapp/messenger/telegram etc. Note this only works with Cloudflared urls
OTP Support
20 templates will show an option to enable otp pages
Saved
An option to view all saved credentials just from PyPhisher. This credentials won't get deleted in PyPhisher update
Whats new in 1.9?
Loclx
Introducing a new port forwarding/tunneling service named localxpose or loclx. It is quite slower but still usable
Docker image
A docker image is published which can be pulled and run
PIP
This project is now also available in PIP
Whats new in 2.0?
LocalHostRun
Introducing a new port forwarding/tunneling service named localhost.run. It works over ssh without binaries
Redirection url
Users can decide where the victim will be redirected after data is captured
Solution of common issues
Some secured browsers like Firefox can warn for '@' prefixed links. You should use pure links or custom link to avoid it.
Termux from play store in not supported. Download termux from fdroid or github
VPN or proxy prevents tunneling and even proper internet access. Turn them off you have issues.
Some android requires hotspot to start Cloudflared and Loclx. If you face 'tunneling failed' in android, most probably your hotspot is turned off. Turn it on and keep it on untill you close PyPhisher.
If you want mailing credentials then you need to use app password. Visit here and generate an app password, put that in files/email.json. You may need to enable 2FA before it.
[!] Disclaimer
This tool is developed for educational purposes. Here it demonstrates how phishing works. If anybody wants to gain unauthorized access to someones social media, he/she may try out this at his/her own risk. You have your own responsibilities and you are liable to any damage or violation of laws by this tool. The author is not responsible for any misuse of PyPhisher!
This repository is open source to help others. So if you wish to copy, consider giving credit!
Credits:
Some base codes and templates are from htr-tech, otp templates are from ignitech and url masking is inspired from jaykali
[*] Support
Want to show support? Just spread the word and smash the star button