Skip to content

Instantly share code, notes, and snippets.

@SocioDroid
Last active October 3, 2020 11:24
Show Gist options
  • Select an option

  • Save SocioDroid/2b26d7f5de60d71c33f2bf0309ddea5e to your computer and use it in GitHub Desktop.

Select an option

Save SocioDroid/2b26d7f5de60d71c33f2bf0309ddea5e to your computer and use it in GitHub Desktop.

Revisions

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

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

    sort -u $1.txt -o $1.txt
    sort -u $line.txt -o $line.txt
    done < $filename
    #./enumSubdomains.sh subs.txt
  2. SocioDroid revised this gist May 6, 2020. 1 changed file with 2 additions and 3 deletions.
    5 changes: 2 additions & 3 deletions enumSubdomains.sh
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,3 @@
    #Usage
    #./enumSubdomains.sh subs.txt
    #!/bin/sh
    filename=$1
    while read line; do
    @@ -10,4 +8,5 @@ while read line; do
    assetfinder --subs-only $1 | tee -a $1.txt

    sort -u $1.txt -o $1.txt
    done < $filename
    done < $filename
    #./enumSubdomains.sh subs.txt
  3. SocioDroid renamed this gist May 6, 2020. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions enumSubsdomains.sh → enumSubdomains.sh
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,5 @@
    #Usage
    #./enumSubdomains.sh subs.txt
    #!/bin/sh
    filename=$1
    while read line; do
  4. SocioDroid revised this gist May 6, 2020. 1 changed file with 0 additions and 2 deletions.
    2 changes: 0 additions & 2 deletions enumSubsdomains.sh
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,5 @@
    #!/bin/sh

    filename=$1

    while read line; do
    echo "Sublist3r"
    python3 sublist3r.py -d $1 -o $1.txt
  5. SocioDroid created this gist May 6, 2020.
    13 changes: 13 additions & 0 deletions enumSubsdomains.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    #!/bin/sh

    filename=$1

    while read line; do
    echo "Sublist3r"
    python3 sublist3r.py -d $1 -o $1.txt

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

    sort -u $1.txt -o $1.txt
    done < $filename