kleiton0x00 / CRLF-one-liner

A simple Bash one liner with aim to automate CRLF vulnerability scanning.

Home Page:https://kleiton0x00.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adding some color the Output for visual betterness

rahulgautam123 opened this issue · comments

input='/Users/rohit/Tools/ytlive/cve20203452/CRLF-one-liner/subdomains.txt';while IFS= read -r targets; do cat /Users/rohit/Tools/ytlive/cve20203452/CRLF-one-liner/crlf_payloads.txt|xargs -I % sh -c "curl -vs --max-time 9 $targets/% 2>&1 |grep -q '< Set-Cookie: ?crlf'&& echo $targets '\033[0;31mVulnerable vulnerable with payload as \n'%>>crlf_results.txt||echo '\033[0;32mNot Vulnerable\n '$targets";done<$input