Create laravel.sh

patch-1
Muhammad Daffa 2020-04-10 18:27:11 +07:00 committed by GitHub
commit 31866b9b29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 19 additions and 0 deletions

19
Mass Find Logs/laravel.sh Normal file
View File

@ -0,0 +1,19 @@
#!/bin/bash
# Log Laravel 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}/wp-content/debug.log" ) =~ 'laravel\framework' ]]; then
echo -e "\e[32m[+] FOUND: ${SITE}storage/logs/laravel.log"
else
echo -e "\e[31m[-] NOT FOUND: ${SITE}"
fi
done