If you have any questions, contact us:
Telegram:maintex
ICQ:1607000

  #1 Old 08-31-2013, 05:34 PM
Cartographer
 
Cartographer's Avatar
 
Join Date: Aug 2013
Posts: 511
Cartographer is on a distinguished road
Default Mass checking of webshells on valid.

1. If you need to check a lot of webshells on valid first you need to check them on http-code – we need to receive an answer if there are any page on this url. For doing this tasks we use bash,.c Php of course has more universal but it would take more time and you won’t be able to use it on hosting as time of script working os limited.
Here is listing of ready script:

#!/usr/local/bin/bash

links="/root/links.txt" # File with all the available Link
result="/root/valid.txt" # File with links, where there is a page (200 ок).


if [ -r "$links" ]; then
if [ -w "$result" ]; then
for address in $(cat $links); do
if (wget -t 1 -T 5 --spider $address &>/dev/null); then
echo $address; # Showing links with pages
echo $address >> $result;
fi
done
else
echo Cannot open $result for writing or file does not exist.
fi
else
echo Cannot open $links for reading or file does not exist.
fi

"wget -t 1 -T 5" says that we’ll try to connect with an address one time with timeout 5sec. Otherwise checking may take some days. If you wanna see more details delete "&>/dev/nul".

2. So we have a list of links where are some page. Now we need to know if there are web-shell or something else. As most of shells were from rst was decided to download pages and make grep for needed info (r57shell). Here is listing:
#!/usr/local/bin/bash

links="/root/valid.txt" # File with all links.
result="/root/result.txt" # File with links with webshells.

keyword="r57shell" # Keyword

if [ -r "$links" ]; then
if [ -w "$result" ]; then
for address in $(cat $links); do
if ( (wget -T 5 -t 1 $address -O - | grep -m 1 $keyword) &>/dev/null); then
echo $address; # Shows good links
echo $address >> $result;
fi
done
else
echo Cannot open $result for writing or file does not exist.
fi
else
echo Cannot open $links for reading or file does not exist.

fi

As you can see it’s almost the same script, only wget downloads file and then there is grep for r57shell.
Cartographer is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Cybercrime forum, cybercrime site, ,fraud forum, russian fraud forum, Credit cards, carder, infraud, carders.ws, crdpro, fraudsters, darkpro, crdcrew, dumps, cvv, cc, stuff carding, legit seller, vendor, free cvv, dumps+pin, skimmer, ,shimmer, emv software, emv chip writer, free cc+cvv, valid cards, track 2, free cvv, dump pin, dumps, cvv, cc, credit cards, real carding, legit vendor, carder forum, carding tutorial, russian hackers, online cvv shop, track 101, enroll, fullz