How adhithiya-77/phishing-website-detection works
This is a Flask-based phishing-URL screening application. A user submits a URL; the server normalizes and validates it, checks whether the destination responds, and—if reachable—runs URL-feature extraction, model classification, and additional security checks before rendering an assessment. The browser enhances the result display and stores recent checks locally. The README documents this staged workflow; source excerpts confirm the server-side orchestration and prediction components. Some prediction internals are only partially excerpted, so edges between their stages are limited to documented or visible relationships.
Main entry points: app.py Flask workflow · predict.py Prediction workflow · index.html Analysis page · app.js Interactive interface
Components 14
Web experience
- Analysis page
templates/index.html - Interactive interface
static/app.js - Recent checks
static/app.js
Request handling
- Flask workflow
app.py - URL validation
predict.py - Availability check
app.py
Detection analysis
- Prediction workflow
predict.py - URL features
feature_extractor.py - ML classifier
predict.py - Security checks
predict.py
Model and browser state
- Trained model
phishing_model.pkl - Feature names
feature_names.pkl
Other components
- URL submitter
- Submitted website
Connections 14
- URL submitter → Analysis page: enters URL
README.md - Analysis page → Flask workflow: submits form
app.py - Flask workflow → URL validation: validates URL
app.py - Flask workflow → Availability check: checks availability
app.py - Availability check → Submitted website: requests URL
app.py - Flask workflow → Prediction workflow: analyzes reachable URL
app.py - Prediction workflow → URL features: extracts features
predict.py - Prediction workflow → ML classifier: classifies URL
README.md - ML classifier → Trained model: loads model
predict.py - ML classifier → Feature names: uses feature names
- Prediction workflow → Security checks: runs security checks
predict.py - Flask workflow → Analysis page: renders assessment
app.py - Analysis page → Interactive interface: provides result data
static/app.js - Interactive interface → Recent checks: stores recent results
static/app.js