Skip to content

Instantly share code, notes, and snippets.

@SocioDroid
Last active October 3, 2020 11:24
Show Gist options
  • Save SocioDroid/e96366b8da70e33f0edd8fe5a3715578 to your computer and use it in GitHub Desktop.
Save SocioDroid/e96366b8da70e33f0edd8fe5a3715578 to your computer and use it in GitHub Desktop.

Revisions

  1. SocioDroid revised this gist May 6, 2020. 1 changed file with 2 additions and 5 deletions.
    7 changes: 2 additions & 5 deletions subdomainTakeover.sh
    Original file line number Diff line number Diff line change
    @@ -3,12 +3,9 @@ filename=$1
    while read line; do
    echo "Sublist3r"
    python3 sublist3r.py -d $line -o $line.txt

    echo "Assetfinder"
    assetfinder --subs-only $line | tee -a $line.txt

    sort -u $line.txt -o $line.txt

    assetfinder --subs-only $line | tee -a $line.txt
    sort -u $line.txt -o $line.txt
    echo "Subjack"
    subjack -w $line.txt -t 1000 -o $1takeover.txt
    done < $filename
  2. SocioDroid renamed this gist May 6, 2020. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. SocioDroid created this gist May 6, 2020.
    15 changes: 15 additions & 0 deletions sudomainTakeover.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    #!/bin/sh
    filename=$1
    while read line; do
    echo "Sublist3r"
    python3 sublist3r.py -d $line -o $line.txt

    echo "Assetfinder"
    assetfinder --subs-only $line | tee -a $line.txt

    sort -u $line.txt -o $line.txt

    echo "Subjack"
    subjack -w $line.txt -t 1000 -o $1takeover.txt
    done < $filename
    #./sudomainTakeover.sh subs.txt