F-Alpha5 / grepTheCurl

One liner regex match to search inside JS files, using curl and grep!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

grepTheCurl Guide:

One liner regex match to search inside JS files, using curl and grep!

Gather urls from Hakrawler:

hakrawler -url https://redacted.com -plain -depth 3 | tee -a /urls.txt

Bonus:

Prefix the urls with correct syntax which will be accepted by the 'curl' sed 's/^/url=/;' /urls.txt | tee -a /curls.txt

grep the regex in server response:

curl -sS -K /curls.txt | grep -Eoi "REGEX"

For Regex examples: https://github.com/odomojuli/RegExAPI

Author: Jai Kumar Sharma

About

One liner regex match to search inside JS files, using curl and grep!


Languages

Language:Shell 100.0%