- Notifications
You must be signed in to change notification settings - Fork3
Python Phishing URL Detection
NotificationsYou must be signed in to change notification settings
sannjayy/python-phishing-url-detection
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Demo Video:https://youtu.be/9t4gbbrkfks
Python 3.11.9(Currently Using)
- Clone or downloadpython-phishing-url-detection
git clone git@github.com:sannjayy/python-phishing-url-detection.git
- Create a virtual environment
python -m venv zenvsource zenv/Scripts/activate# Windowssource zenv/bin/activate# Mac
- Install basic requirements
pip install -r requirements.txt# OR INITIAL INSTALLATIONpip install --upgrade pippip install --upgrade setuptoolspip install pandas whois httpxpip install pycaret# It will take sometime.
if__name__=="__main__":phishing_url_1='https://bafybeifqd2yktzvwjw5g42l2ghvxsxn76khhsgqpkaqfdhnqf3kiuiegw4.ipfs.dweb.link/'phishing_url_2='http://about-ads-microsoft-com.o365.frc.skyfencenet.com'real_url_1='https://chat.openai.com'real_url_2='https://github.com/'print(predict(phishing_url_1))print(predict(phishing_url_2))print(predict(real_url_1))print(predict(real_url_2))
python main.py# OUTPUT: {'prediction_label': 0, 'prediction_score': 68.39}# 0 = False | 1 True
pip install flaskpython app.py
Openhttp://127.0.0.1:5000 in your browser!
Developed with ❤️ bysanjaysikdar.dev.
About
Python Phishing URL Detection
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.