A ML model to detect the payload type from the four used attacks such as XSS, SQLI, LFI and Command Injection. Model will also be looking if payload is valid payload or not
- It can detect four attacks very effeciently such as XSS, LFI, SQLI and Command Injection
- It also verifies either entered input by the user is a valid payload or a simple string such as abc or 123 etc
- It can also be used as a WAF because it will trigger and alert if any of the web attacks is detected from the payload
pip install -r requirements.txt
python use_model_file.py
Enter payload: hello world
Input | Response |
---|---|
hello world | Dear user! please enter some valid payload.. |
123 | Dear user! please enter some valid payload.. |
admin") or "1"="1"/* | sqli |
javascript:alert(1) | xss |
/etc/passwd | lfi |
&ls; | command injection |