Skip to content

Instantly share code, notes, and snippets.

@attacker34
Forked from ntrzz/linkfinder-oneliner.sh
Created June 16, 2018 04:49
Show Gist options
  • Save attacker34/4b5b8c0a27a99333bb43adfa7ed9d02f to your computer and use it in GitHub Desktop.
Save attacker34/4b5b8c0a27a99333bb43adfa7ed9d02f to your computer and use it in GitHub Desktop.

Revisions

  1. @ntrzz ntrzz revised this gist Jun 15, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion linkfinder-oneliner.sh
    Original file line number Diff line number Diff line change
    @@ -1 +1 @@
    curl -s $1 | grep -Eo "(http|https)://[a-zA-Z0-9./?=_-]*" | sort | uniq | grep ".js" > jslinks.txt; while IFS= read link; do python linkfinder.py -i "$link" -o cli; done < jslinks.txt | tee -a output.html | grep $2 | grep -v $3 | sort -n | uniq; rm -rf jslinks.txt
    curl -s $1 | grep -Eo "(http|https)://[a-zA-Z0-9./?=_-]*" | sort | uniq | grep ".js" > jslinks.txt; while IFS= read link; do python linkfinder.py -i "$link" -o cli; done < jslinks.txt | grep $2 | grep -v $3 | sort -n | uniq; rm -rf jslinks.txt
  2. @ntrzz ntrzz revised this gist Jun 15, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion linkfinder-oneliner.sh
    Original file line number Diff line number Diff line change
    @@ -1 +1 @@
    curl -s $1 | grep -Eo "(http|https)://[a-zA-Z0-9./?=_-]*" | sort | uniq | grep ".js" > jslinks.txt; while IFS= read link; do python linkfinder.py -i "$link" -o cli; done < jslinks.txt | tee -a output.html | grep $2; rm -rf jslinks.txt
    curl -s $1 | grep -Eo "(http|https)://[a-zA-Z0-9./?=_-]*" | sort | uniq | grep ".js" > jslinks.txt; while IFS= read link; do python linkfinder.py -i "$link" -o cli; done < jslinks.txt | tee -a output.html | grep $2 | grep -v $3 | sort -n | uniq; rm -rf jslinks.txt
  3. @ntrzz ntrzz created this gist Jun 15, 2018.
    1 change: 1 addition & 0 deletions linkfinder-oneliner.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    curl -s $1 | grep -Eo "(http|https)://[a-zA-Z0-9./?=_-]*" | sort | uniq | grep ".js" > jslinks.txt; while IFS= read link; do python linkfinder.py -i "$link" -o cli; done < jslinks.txt | tee -a output.html | grep $2; rm -rf jslinks.txt