Create zend.sh
parent
3f52ab8978
commit
bdee414346
|
@ -0,0 +1,19 @@
|
||||||
|
#!/bin/bash
|
||||||
|
# Log Zend Mass Scanner
|
||||||
|
LISTS=$1
|
||||||
|
|
||||||
|
if [[ ! -f ${LISTS} ]]; then
|
||||||
|
echo "ERROR: ${LISTS} not found"
|
||||||
|
echo "usage: bash $0 list.txt"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
for SITE in $(cat $LISTS);
|
||||||
|
do
|
||||||
|
if [[ $(curl --connect-timeout 3 --max-time 3 -kLs "${SITE}/application/configs/application.ini" ) =~ 'resources.db.params.password' ]]; then
|
||||||
|
echo -e "\e[32m[+] FOUND: ${SITE}/application/configs/application.ini"
|
||||||
|
else
|
||||||
|
echo -e "\e[31m[-] NOT FOUND: ${SITE}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
done
|
Loading…
Reference in New Issue