Parse the target URL, Method, Headers (specifically Cookie and User-Agent), and the Payload provided by the user.
Format the request data and pass it to the scripts/replay.py execution script.
python3 scripts/replay.py --url "{URL}" --method "{METHOD}" --data "{PAYLOAD}" --headers "{JSON_HEADERS}"Parse the JSON output returned by the script (includes status code, headers, and smart body snippet).
Perform deep analysis on the response context:
500 Internal Server Error (often indicates syntax escape or fatal exception).body_snippet for signature keywords: SQLSTATE, Syntax error, ExtractValue, XPATH syntax error, Call to undefined function, etc.Generate the final vulnerability validation report strictly adhering to the Output Format below.
[+] PoC Validation Report
[ ] Target Interface : {Method} {URL} [] Test Payload : {The critical injection code/payload} [*] Response Status: {Status Code} (e.g., 200 OK / 500 Internal Server Error)
[!] Analysis Conclusion: {Clearly state if the vulnerability exists. E.g., "SQL Error-Based Injection confirmed. Successfully captured SQLSTATE[42000] exception." or "Injection failed. The target returned 200 OK with sanitized input."}
[-] Critical Evidence / Stack Trace:
text
{The extracted error logs or relevant response snippet demonstrating the vulnerability}