@@ -471,6 +471,9 @@ def cmdLineParser():
471471 general .add_option ("--charset" , dest = "charset" ,
472472 help = "Force character encoding used for data retrieval" )
473473
474+ general .add_option ("--crawl" , dest = "crawlDepth" , type = "int" ,
475+ help = "Crawl the website starting from the target url" )
476+
474477 general .add_option ("--eta" , dest = "eta" ,
475478 action = "store_true" ,
476479 help = "Display for each output the "
@@ -480,14 +483,30 @@ def cmdLineParser():
480483 action = "store_true" ,
481484 help = "Flush session file for current target" )
482485
486+ general .add_option ("--forms" , dest = "forms" ,
487+ action = "store_true" ,
488+ help = "Parse and test forms on target url" )
489+
483490 general .add_option ("--fresh-queries" , dest = "freshQueries" ,
484491 action = "store_true" ,
485492 help = "Ignores query results stored in session file" )
486493
494+ general .add_option ("--parse-errors" , dest = "parseErrors" ,
495+ action = "store_true" ,
496+ help = "Parse and display DBMS error messages from responses" )
497+
498+ general .add_option ("--replicate" , dest = "replicate" ,
499+ action = "store_true" ,
500+ help = "Replicate dumped data into a sqlite3 database" )
501+
487502 general .add_option ("--save" , dest = "saveCmdline" ,
488503 action = "store_true" ,
489504 help = "Save options on a configuration INI file" )
490505
506+ general .add_option ("--tor" , dest = "tor" ,
507+ action = "store_true" ,
508+ help = "Use default Tor (Vidalia/Privoxy/Polipo) proxy address" )
509+
491510 general .add_option ("--update" , dest = "updateAll" ,
492511 action = "store_true" ,
493512 help = "Update sqlmap" )
@@ -504,24 +523,21 @@ def cmdLineParser():
504523
505524 miscellaneous .add_option ("--check-payload" , dest = "checkPayload" ,
506525 action = "store_true" ,
507- help = "IDS detection testing of injection payloads" )
526+ help = "Offline WAF/IPS/IDS payload detection testing" )
527+
528+ miscellaneous .add_option ("--check-waf" , dest = "checkWaf" ,
529+ action = "store_true" ,
530+ help = "Check for existence of WAF/IPS/IDS protection" )
508531
509532 miscellaneous .add_option ("--cleanup" , dest = "cleanup" ,
510533 action = "store_true" ,
511534 help = "Clean up the DBMS by sqlmap specific "
512535 "UDF and tables" )
513536
514- miscellaneous .add_option ("--crawl" , dest = "crawlDepth" , type = "int" ,
515- help = "Crawl the website starting from the target url" )
516-
517537 miscellaneous .add_option ("--dependencies" , dest = "dependencies" ,
518538 action = "store_true" ,
519539 help = "Check for missing sqlmap dependencies" )
520540
521- miscellaneous .add_option ("--forms" , dest = "forms" ,
522- action = "store_true" ,
523- help = "Parse and test forms on target url" )
524-
525541 miscellaneous .add_option ("--gpage" , dest = "googlePage" , type = "int" ,
526542 help = "Use Google dork results from specified page number" )
527543
@@ -533,18 +549,6 @@ def cmdLineParser():
533549 action = "store_true" ,
534550 help = "Display page rank (PR) for Google dork results" )
535551
536- miscellaneous .add_option ("--parse-errors" , dest = "parseErrors" ,
537- action = "store_true" ,
538- help = "Parse and display DBMS error messages from responses" )
539-
540- miscellaneous .add_option ("--replicate" , dest = "replicate" ,
541- action = "store_true" ,
542- help = "Replicate dumped data into a sqlite3 database" )
543-
544- miscellaneous .add_option ("--tor" , dest = "tor" ,
545- action = "store_true" ,
546- help = "Use default Tor (Vidalia/Privoxy/Polipo) proxy address" )
547-
548552 miscellaneous .add_option ("--wizard" , dest = "wizard" ,
549553 action = "store_true" ,
550554 help = "Simple wizard interface for beginner users" )
0 commit comments