Update dmarc.sh

patch-1
Muhammad Daffa 2020-04-10 18:52:33 +07:00 committed by GitHub
parent 00dd809930
commit 2219166038
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ fi
for SITE in $(cat $LISTS);
do
if [[ $(curl --connect-timeout 3 -kls --max-time 3 -d "action=dm_integration_inspect_dmarc&domain=${SITE}&security=83b182c4ce" -X POST "https://dmarcian.com/wp-admin/admin-ajax.php") =~ 'Congratulations! Your DMARC record is valid.' ]]; then
if [[ $(curl --connect-timeout 3 -kls --max-time 3 -d "action=dm_integration_inspect_dmarc&domain=${SITE}&security=83b182c4ce" -X POST "https://dmarcian.com/wp-admin/admin-ajax.php") =~ 'No DMARC record published.' ]]; then
echo -e "\e[32m[+] VULN: ${SITE}"
else
echo -e "\e[31m[-] NOT VULN: ${SITE}"