Update dmarc.sh

master
Muhammad Daffa 2020-11-08 08:47:54 +07:00 committed by GitHub
parent 1a4c9d6ada
commit 22f733aaaa
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); for SITE in $(cat $LISTS);
do 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") =~ 'No DMARC record published.' ]]; then if [[ $(curl --connect-timeout 3 -kls --max-time 3 -X GET "https://dmarcly.com/server/dmarc_check.php?domain=${SITE}") =~ 'success' ]]; then
echo -e "\e[32m[+] VULN: ${SITE}" echo -e "\e[32m[+] VULN: ${SITE}"
else else
echo -e "\e[31m[-] NOT VULN: ${SITE}" echo -e "\e[31m[-] NOT VULN: ${SITE}"