This tool allows for quickly searching for a specified pattern within HTTP Response bodies. Simply pipe in a list of URLs, specify your pattern and hit enter.
Usage of gpm:
-context int
Number of characters on both sides of a match to include. (0 to include whole line, could be large for minified JS) (default 50)
-findall
Find all matches not just first one
-pattern string
Pattern definition to look for
-timeout int
timeout in milliseconds (default 10000)
-workers int
Number of workers to process urls (default 20)
cat urls.txt | gpm --pattern admin
cat urls.txt | gpm --patttern .js --findall
cat urls.txt | gpm --pattern .js --findall --workers 30
cat urls.txt | gpm --pattern .js --findall --workers 30 --timeout 20000
cat urls.txt | gpm --pattern .js --findall --workers 30 --timeout 20000 --context 100