Update dmarc.sh
parent
00dd809930
commit
2219166038
|
@ -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") =~ '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}"
|
echo -e "\e[32m[+] VULN: ${SITE}"
|
||||||
else
|
else
|
||||||
echo -e "\e[31m[-] NOT VULN: ${SITE}"
|
echo -e "\e[31m[-] NOT VULN: ${SITE}"
|
||||||
|
|
Loading…
Reference in New Issue