Skip to content

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

Notifications You must be signed in to change notification settings

ja1sh/grepTheCurl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

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"

Author: Jai Kumar Sharma

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages