New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PR for issue 654 (environment identifiers dict) #671
Conversation
Command: `curl -sk "https://crt.sh/?q=total.com&output=json" | jq -r ".[].name_value" | cut -d'.' -f1 | sort -u`
Cmd: `curl -sk "https://crt.sh/?q=sgbt.lu&output=json" | jq -r ".[].name_value" | cut -d'.' -f1 | sort -u`
I have run the following script against all LU domains from the Majestic files: Source: Script: #!/bin/bash
# wget http://downloads.majestic.com/majestic_million.csv
# cat majestic_million.csv | cut -d',' -f3 | grep "\.lu" > lu-domains.txt
rm sub*.txt 2>/dev/null
while IFS= read -r line
do
printf "\rDomain: %-40s" "$line"
curl -sk "https://crt.sh/?q=$line&output=json" | jq -r ".[].name_value" | cut -d'.' -f1 >> sub.txt
done < lu-domains.txt
cat sub.txt | sort -u > sub2.txt Generated files: New entries related to environments were added to the commit f86abe0 |
Oh wow! Thanks! |
I added the results, after the extraction from FR + BE sub domains, to the commit 9e778c6 : Command used: cat sub-be.txt sub-fr.txt | sort -u > subFRBE.txt
grep -Ei "^(de|dv|ts|te|in|st|ho|pr|pp)" subFRBE.txt > selection.txt Generated files: |
OK I will refactor the script to be more generic. I keep you informed about this, please wait before to merge this PR 😃 |
@g0tmi1k I added a more generic version of the script to the PR in the bin folder, I have tried to follow as much as possible the format of your script in order to match your standard 😃 |
Thank you SO MUCH for doing this! This is great work (as always!) |
@g0tmi1k Thank to you and the SecLists's team for this amazing project! |
Hi,
This PR refer to the issue #654
I have used the following command against several local (Luxembourg) domains:
Domains used, as sources, were defined in each commits. You will find English and French identifiers depending on the companies owing the domains.
Thank you very much in advance 😃