Hidden-Parameter-Injector
inject.py, Tries to inject hidden common parameters to basic HTTP requests. Reveals any hidden parameters if any were accepted and changed the content of the page.
- make sure you the latest upgrade of urlib3:
python3 -m pip install --upgrade urllib3
python3 inject.py -u http://localhost/- If you want to use a urls list and run with all of them you can by using
--urlsfollowed by an urls list. - Change the parameters wordlists with
-ffollowed by the file you want the script to read from. - See results in
accepted_params.json
- Parsing the URLs file and parameters wordlist.
- Getting the original content length of the webpage.
- Itereates through the parameters, requesting the page with the parameters.
- If any parameters were accepted - adds them to the list of accepted parameteres.
- Finally saves results to
accpeted_params.json- If you want, change that with
-ofollowed by the output file name (No need to provide file extenstion as the script adds ".json" to the end if the file doens't end with ".json" extension
- If you want, change that with