How codejay411/phishing-website-detection-system works
This is a Flask-based phishing-URL detection web app. A visitor submits a URL; the app removes a common scheme and www prefix, vectorizes the cleaned text, predicts a label, and renders a human-readable result. The checked-in model and vectorizer are loaded at startup. The repository also includes a dataset and notebooks suggesting model-development work, but their contents were not sampled, so their roles and connections to the runtime are not asserted.
Main entry points: app.py Flask request handler · index.html Result rendering · vectorizer.pkl Text vectorizer · phishing.pkl Phishing classifier
Components 10
Web application
- Flask request handler
app.py - URL cleanup
app.py - Result rendering
templates/index.html
Detection artifacts
- Text vectorizer
vectorizer.pkl - Phishing classifier
phishing.pkl - MNB model artifact
phishing_mnb.pkl
Model development
- URL dataset
Dataset/phishing_site_urls.csv - Detection notebook
Phishing website detection system.ipynb - Word2Vec notebook
word2vec.ipynb
Other components
- Visitor
Connections 5
- Visitor → Flask request handler: submits URL
app.py - Flask request handler → URL cleanup: cleans URL
app.py - Flask request handler → Text vectorizer: transforms URL
app.py - Flask request handler → Phishing classifier: predicts label
app.py - Flask request handler → Result rendering: renders result
app.py