Created
March 10, 2021 21:11
-
-
Save remonsec/c144b31604d5687f1430747f9203c005 to your computer and use it in GitHub Desktop.
filter subdomain 3rd level domain and so and so on
This file contains hidden or 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
for i in $(cat scope.txt);do echo $i | tr -cd . | wc -c > word.txt; [[ $(cat word.txt) -le 1 ]] && echo $i;done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment