How sakshamgupta154/phishingwebsitedetection works
This is a Flask phishing-URL scoring app. A user submits a URL to the root route; the app extracts 30 URL and website features, passes them to a loaded classifier, and renders a safety score in the page. Feature extraction includes URL/page checks and domain or reputation signals. The excerpts establish the app-to-extractor and app-to-model flow, plus several external lookups; the template contents and most feature implementations were not sampled, so those details are kept at subsystem level.
Main entry points: feature.py Feature extraction · app.py Scoring route · index.html Result page · model.pkl Phishing classifier
Components 13
Web interface
- Scoring route
link--master/app.py - Result page
link--master/templates/index.html
URL analysis
- Feature extraction
link--master/feature.py - URL heuristics
link--master/feature.py - Page checks
link--master/feature.py - Domain signals
link--master/feature.py - Reputation checks
link--master/feature.py
Classification
- Phishing classifier
link--master/pickle/model.pkl
Other components
- URL submitter
- Submitted website
- WHOIS service
- Ranking services
- Search service
Connections 12
- URL submitter → Scoring route: submits URL
link--master/app.py - Scoring route → Feature extraction: extracts features
link--master/app.py - Feature extraction → URL heuristics: evaluates URL
link--master/feature.py - Feature extraction → Page checks: checks page
link--master/feature.py - Feature extraction → Domain signals: checks domain
link--master/feature.py - Feature extraction → Reputation checks: checks reputation
link--master/feature.py - Feature extraction → Submitted website: fetches page
link--master/feature.py - Feature extraction → WHOIS service: queries WHOIS
link--master/feature.py - Feature extraction → Ranking services: queries rankings
link--master/feature.py - Feature extraction → Search service: searches URL
link--master/feature.py - Scoring route → Phishing classifier: predicts with
link--master/app.py - Scoring route → Result page: renders result
link--master/app.py