Created
May 10, 2020 12:59
-
-
Save imran-parray/bb8b00c9ebef024f06ccdc10a98bae15 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
giturls() | |
{ | |
while read line; do echo $line | cut -d/ -f1-3;echo $line | cut -d/ -f1-4;echo $line | cut -d/ -f1-5;echo $line | cut -d/ -f1-6;echo $line | cut -d/ -f1-7;echo $line | cut -d/ -f1-8;echo $line | cut -d/ -f1-9;echo $line | cut -d/ -f1-10;echo $line | cut -d/ -f1-11;echo $line | cut -d/ -f1-12;echo $line | cut -d/ -f1-13;echo $line | cut -d/ -f1-14;echo $line | cut -d/ -f1-15;echo $line | cut -d/ -f1-16;echo $line | cut -d/ -f1-17;echo $line | cut -d/ -f1-18;echo $line | cut -d/ -f1-19;echo $line | cut -d/ -f1-20;echo $line | cut -d/ -f1-21;done | grep -v '?' | grep -v "\...$" | grep -v "\....$" | grep -v "\....$" | sort -u | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello imran,
what is this script about ?
is it about recon or something else
i didnt get anything else except cut -d and echo $line its kind of iteration i think