How vivekjohnsudhakar/fyp-phishing-url-detection-and-vulnerability-assesment-of-php-files-in-web-applications-with-xai works
The repository is a PHP web application for phishing-URL detection and PHP web-application vulnerability assessment. Its user-facing workflow accepts a URL for phishing classification, or a PHP file for AST-backed static/taint inspection and dynamic input-validation analysis; vulnerability attributes can then be passed to machine-learning prediction and explanation views. README claims XGBoost-based SQLi, XSS, and file-inclusion prediction with XAI. The graph preserves those documented stages, while noting that the excerpts do not establish every handoff between the PHP analysis pages and the model views.
Main entry points: page1.php Vulnerability result view · tempoutput.php Phishing result · index.php Site crawler · tempinput.php URL input
Components 19
Web entry
- Application pages
mainpage.php - Site crawler
index.php - HTML parser
html/simple_html_dom.php
Phishing detection
- URL input
first_module/tempinput.php - Phishing result
first_module/tempoutput.php - URL classifier
first_module/script.py - SVM model
first_module/linearSVC_model_url_detec3.sav - Phishing result data
first_module/phishing.txt
Static code analysis
- File analysis view
html/staticsearch.php - PHP AST parser service
index.js - Taint analysis
html/Taintanalysis.php
Vulnerability assessment
- Dynamic analysis
html/dynamicanalysis.php - IVS feature extraction
html/dynamicanalysis_get_attributes_dataset.php
Prediction and explanation
- Vulnerability result view
Third_Module/page1.php - Vulnerability prediction
Third_Module/ml.py - Vulnerability models
Third_Module/FYP_datasets - XAI views
Third_Module/model_dashboard.html - Prediction result data
Third_Module/ml_results.txt
Other components
- User
Connections 18
- User → Application pages: opens
README.md - User → URL input: submits URL
first_module/tempinput.php - URL input → Phishing result: posts URL
first_module/tempinput.php - Phishing result → URL classifier: runs classifier
first_module/tempoutput.php - URL classifier → SVM model: classifies with
- Phishing result → Phishing result data: reads result
first_module/tempoutput.php - User → Site crawler: submits site
index.php - Site crawler → HTML parser: parses fetched HTML
index.php - User → File analysis view: selects PHP file
html/staticsearch.php - File analysis view → PHP AST parser service: loads AST service
html/staticsearch.php - PHP AST parser service → Taint analysis: links to taint view
index.js - Taint analysis → Dynamic analysis: offers analysis route
- Dynamic analysis → IVS feature extraction: extracts attributes
- IVS feature extraction → Vulnerability result view: provides attributes
- Vulnerability result view → Vulnerability prediction: runs prediction
Third_Module/page1.php - Vulnerability prediction → Vulnerability models: predicts with
- Vulnerability result view → Prediction result data: reads results
Third_Module/page1.php - Vulnerability result view → XAI views: links to XAI