Skip to content

Instantly share code, notes, and snippets.

@Zobber
Created June 21, 2020 00:40
Show Gist options
  • Save Zobber/f8b6fd798a8fd98c610390da1441780f to your computer and use it in GitHub Desktop.
Save Zobber/f8b6fd798a8fd98c610390da1441780f to your computer and use it in GitHub Desktop.
cat file | grep -Eo "(http|https)://[a-zA-Z0-9./?=_-]*"*
curl http://host.xx/file.js | grep -Eo "(http|https)://[a-zA-Z0-9./?=_-]*"*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment