@@ -155,9 +155,6 @@ def cmdLineParser():
155155 request .add_option ("--randomize" , dest = "rParam" ,
156156 help = "Randomly change value for given parameter(s)" )
157157
158- request .add_option ("--scope" , dest = "scope" ,
159- help = "Regexp to filter targets from provided proxy log" )
160-
161158 request .add_option ("--safe-url" , dest = "safUrl" ,
162159 help = "URL address to visit frequently during testing" )
163160
@@ -172,6 +169,10 @@ def cmdLineParser():
172169 action = "store_true" ,
173170 help = "Force usage of SSL/HTTPS" )
174171
172+ request .add_option ("--hpp" , dest = "hpp" ,
173+ action = "store_true" ,
174+ help = "Use HTTP parameter pollution" )
175+
175176 request .add_option ("--eval" , dest = "evalCode" ,
176177 help = "Evaluate provided Python code before the request (e.g. \" import hashlib;id2=hashlib.md5(id).hexdigest()\" )" )
177178
@@ -601,6 +602,12 @@ def cmdLineParser():
601602 action = "store_true" ,
602603 help = "Save options to a configuration INI file" )
603604
605+ general .add_option ("--scope" , dest = "scope" ,
606+ help = "Regexp to filter targets from provided proxy log" )
607+
608+ general .add_option ("--test-filter" , dest = "testFilter" ,
609+ help = "Select tests by payloads and/or titles (e.g. ROW)" )
610+
604611 general .add_option ("--update" , dest = "updateAll" ,
605612 action = "store_true" ,
606613 help = "Update sqlmap" )
@@ -640,10 +647,6 @@ def cmdLineParser():
640647 miscellaneous .add_option ("--gpage" , dest = "googlePage" , type = "int" ,
641648 help = "Use Google dork results from specified page number" )
642649
643- miscellaneous .add_option ("--hpp" , dest = "hpp" ,
644- action = "store_true" ,
645- help = "Use HTTP parameter pollution" )
646-
647650 miscellaneous .add_option ("--identify-waf" , dest = "identifyWaf" ,
648651 action = "store_true" ,
649652 help = "Make a through testing for a WAF/IPS/IDS protection" )
@@ -664,9 +667,6 @@ def cmdLineParser():
664667 action = "store_true" ,
665668 help = "Conduct through tests only if positive heuristic(s)" )
666669
667- miscellaneous .add_option ("--test-filter" , dest = "testFilter" ,
668- help = "Select tests by payloads and/or titles (e.g. ROW)" )
669-
670670 miscellaneous .add_option ("--wizard" , dest = "wizard" ,
671671 action = "store_true" ,
672672 help = "Simple wizard interface for beginner users" )
0 commit comments