-
Notifications
You must be signed in to change notification settings - Fork 81
Usage
You can scan a single URL using the -t/--target arguments:
crlfsuite -t http://testphp.vulnweb.com
You can scan multiple URLs using the -iT/--import-targets arguments:
crlfsuite -iT targets.txt
CRLFsuite supports stdin so you can scan URL(s) from stdin using --pipe argument:
cat targets.txt | crlfsuite --pipe
CRLFsuite supports GET/POST
crlfsuite -t http://example.com -m POST
You can specify HTTP POST data using -d/--data arguments:
crlfsuite http://example.com -m POST -d "nefcore=security&crlf=injection"
You can specify HTTP cookies using -c/--cookies arguments:
crlfsuite http://example.com -c "PID=334;CID=32234"
You can specify Request timeout using -tO/--timeout arguments:
crlfsuite http://example.com --timeout 30
You can use --ssl if you want CRLFsuite to verify SSL cert.
crlfsuite -iT targets --ssl
You can specify delay between every URL using --delay argument (it will set the number of threads to 1):
crlfsuite -iT targets.txt --delay 5
If you want CRLFsuite to prioritize stability over speed then can specify --stable argument (it will also set the number of threads to 1):
crlfsuite -t http://example.com --stable
There are two ways you can specify headers:
- Using command line
crlfsuite -t http://example.com --headers "user-agent: mozila\naccept: */*"
- By Pasting headers in the editor
The following command will open a temp file in nano editor so you can paste headers in it
crlfsuite -t https://example.com --headers
CRLFsuite supports Text & JSON output formats, you can export vulnerable URLs using -oN/--normal-output or -oJ/--json-output
crlfsuite -t http://example.com -oJ output.json
You can specify number of concurrent threads using -cT/--concurrent-threads arguments:
crlfsuite -t http://example.com -cT 15
There are three levels of verbosity in CRLFsuite:
Level 1: It shows basic information like when waf detector started and ended.
Level 2: It shows more information than level 1 like parsed URLs details, Requested URL and Status code.
Level 3: It shows every thing like all the things of the previous levels, parsed cookies, parsed post data, parsed headers, response headers and response text of every URL
You can give higher level than 3 but it will effect the verbosity.
You can resume scan after CTRL^C is pressed using -r/--resume argument:
crlfsuite --resume
Note:resumable_data.crlfsuite and resume.cfg is required to resume a scan.