Hell of Hackerz
Welcome to HELL OF HACKERZ

Login or Register for connect with us

Because many features only for registered users.

Now enjoy without verification....

Thanks

________________________________________
HELL OF HACKERZ
Administrator
Ady Blaze
www.twitter.com/adyblazecorp
www.adyblaze.com
Hell of Hackerz
Welcome to HELL OF HACKERZ

Login or Register for connect with us

Because many features only for registered users.

Now enjoy without verification....

Thanks

________________________________________
HELL OF HACKERZ
Administrator
Ady Blaze
www.twitter.com/adyblazecorp
www.adyblaze.com

Hell of Hackerz

Learn hacking & cracking
 
HomeHell Of HackerzSearchLatest imagesRegisterLog in
ChatBox
Welcome to Hell of Hackerz we are back in action. Get new updates on adyblaze.com too....
Latest topics
» Best video editing software for youtubers
PHP SHELL CODING BY GOOGLE I_icon_minitime19/08/21, 12:24 am by Hacker iam

» How to make bootable USB ?
PHP SHELL CODING BY GOOGLE I_icon_minitime12/08/21, 12:33 am by Hacker iam

» Meesho RTO Charges big problem for suppliers
PHP SHELL CODING BY GOOGLE I_icon_minitime12/08/21, 12:18 am by Hacker iam

» Get 200 Instagram followers daily free
PHP SHELL CODING BY GOOGLE I_icon_minitime28/07/21, 03:13 pm by Hacker iam

» onlineshopingshirt.com Fake Company
PHP SHELL CODING BY GOOGLE I_icon_minitime06/03/18, 02:09 pm by Hacker iam

» Keygen, crack, serial
PHP SHELL CODING BY GOOGLE I_icon_minitime29/05/15, 08:44 pm by Karl Marx

» Hello everyone
PHP SHELL CODING BY GOOGLE I_icon_minitime18/04/15, 11:05 pm by Hacker iam

» Keygen for Moneydance 2015
PHP SHELL CODING BY GOOGLE I_icon_minitime23/01/15, 08:32 pm by iota

» key gen request for Basic Inventory Control Desktop
PHP SHELL CODING BY GOOGLE I_icon_minitime19/01/15, 01:45 pm by dexterdidi

» Keygen request for paralog
PHP SHELL CODING BY GOOGLE I_icon_minitime30/11/14, 12:12 am by MarkV

» Microkinetics Turnmaster Pro 2014
PHP SHELL CODING BY GOOGLE I_icon_minitime07/10/14, 12:52 pm by Machine_Man

» Keygen for Forex Tester 2.9
PHP SHELL CODING BY GOOGLE I_icon_minitime02/10/14, 11:59 pm by ocean7

» Make your Internet Download Manager for lifetime
PHP SHELL CODING BY GOOGLE I_icon_minitime24/08/14, 02:22 pm by Hacker iam

» Make your Internet Download Manager for lifetime
PHP SHELL CODING BY GOOGLE I_icon_minitime24/08/14, 02:20 pm by Hacker iam

» HACK FACEBOOK ID OFFER BY IMRAN
PHP SHELL CODING BY GOOGLE I_icon_minitime10/08/14, 01:41 pm by Hacker iam

» Ethical Hacking classes and many more courses
PHP SHELL CODING BY GOOGLE I_icon_minitime08/08/14, 05:13 pm by Hacker iam

» Ethical Hacking classes Gonna Start
PHP SHELL CODING BY GOOGLE I_icon_minitime08/08/14, 04:58 pm by Hacker iam

» Banned From Group On Facebook
PHP SHELL CODING BY GOOGLE I_icon_minitime19/07/14, 06:52 pm by Hacker iam

» Winpass 12 keygen needed
PHP SHELL CODING BY GOOGLE I_icon_minitime18/07/14, 12:04 am by lvilleda

» Simfatic Forms 4.0
PHP SHELL CODING BY GOOGLE I_icon_minitime11/06/14, 11:45 am by kachi4gud

» SA Techietools
PHP SHELL CODING BY GOOGLE I_icon_minitime02/06/14, 09:04 pm by Hacker iam

» immo tool 3.2
PHP SHELL CODING BY GOOGLE I_icon_minitime16/05/14, 01:46 pm by adisby

» urgent help need. Pls create the keygen for DewanEja Pro 8
PHP SHELL CODING BY GOOGLE I_icon_minitime05/05/14, 02:04 am by hamizal

» Track my IMEI
PHP SHELL CODING BY GOOGLE I_icon_minitime27/04/14, 06:58 pm by rajesh

» Advanced WIFI hacker
PHP SHELL CODING BY GOOGLE I_icon_minitime20/03/14, 05:34 pm by wasam

» Can anyone provide keygen for below software ?
PHP SHELL CODING BY GOOGLE I_icon_minitime04/03/14, 10:34 am by akmakm2005

» Flaming Cliffs 3 - Keygen request please
PHP SHELL CODING BY GOOGLE I_icon_minitime17/02/14, 01:28 pm by moejo

» CalMAN 5 Keygen
PHP SHELL CODING BY GOOGLE I_icon_minitime14/02/14, 10:52 am by droid

» Clearscada license key request
PHP SHELL CODING BY GOOGLE I_icon_minitime10/02/14, 06:22 pm by mahpayma

» Huawei unlocker
PHP SHELL CODING BY GOOGLE I_icon_minitime04/01/14, 06:54 pm by dennis1990

Learn hacking & cracking


Share | 
 

 PHP SHELL CODING BY GOOGLE

View previous topic View next topic Go down 
AuthorMessage
Mr. Khan

Mr. Khan

Posts : 60
Points : 124
Reputation : 0
Join date : 2011-02-08

PHP SHELL CODING BY GOOGLE Empty
PostSubject: PHP SHELL CODING BY GOOGLE   PHP SHELL CODING BY GOOGLE I_icon_minitime14/05/11, 10:52 pm

Code:
#!/usr/bin/perl

use strict;
use warnings;
use LWP::UserAgent;

usage() unless $ARGV[2];

my @searchTerm;
my @checkTerm;

if(lc($ARGV[0]) eq "r57") {
        push(@searchTerm, "inurl:r57.php");
        push(@searchTerm, ""[ phpinfo ]  [ php.ini ]  [ cpu ]  [ mem ]  [ users ]  [ tmp ]  [ delete ]"");
        push(@searchTerm, "intitle:r57shell");
        push(@checkTerm, "r57");
        push(@checkTerm, "safe_mode");
} elsif(lc($ARGV[0]) eq "c99") {
        push(@searchTerm, "inurl:c99.php");
        push(@searchTerm, ""Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout"");
        push(@searchTerm, "intitle:" - phpshell"");
        push(@searchTerm, "intitle:" - c99shell"");
        push(@checkTerm, "c99");
        push(@checkTerm, "Safe-mode");
} elsif(lc($ARGV[0]) eq "mys") {
        push(@searchTerm, ""Auto error traping enabled"");
        push(@searchTerm, "intitle:"MyShell 1.1.0 build 20010923"");
        push(@checkTerm, "MyShell");
        push(@checkTerm, "Echo commands");
} elsif(lc($ARGV[0]) eq "phs") {
        push(@searchTerm, "intitle:"PHP Shell 1.5"");
        push(@searchTerm, "intitle:"PHP Shell 1.6"");
        push(@searchTerm, "intitle:"PHP Shell 1.7"");
        push(@searchTerm, ""Enable stderr-trapping?"");
        push(@checkTerm, "PHP Shell");
        push(@checkTerm, "Choose new working");
} elsif(lc($ARGV[0]) eq "phm") {
        push(@searchTerm, ""PHPShell by Macker"");
        push(@searchTerm, ""[ Main Menu ]      [ PHPKonsole ]      [ Haxplorer ]"");
        push(@checkTerm, "Haxplorer");
        push(@checkTerm, "PHPKonsole");
} elsif(lc($ARGV[0]) eq "rem") {
        push(@searchTerm, "intitle:"phpRemoteView: "");
        push(@searchTerm, ""REMVIEW TOOLS"");
        push(@checkTerm, "phpRemoteView");
        push(@checkTerm, "perms");
}

if(!@searchTerm) {
        print "Error: [shell to find] is a unknown shell\n" and die;
}

my $outputOn;

if(lc($ARGV[1]) eq "on") {
        $outputOn = 1;
} elsif(lc($ARGV[1]) eq "off") {
        $outputOn = 0;
} else {
        print "Error: [screen output] must be "on" or "off"\n" and die;
}

my $outputFile;

if(index(lc($ARGV[2]), ".htm") > 0) {
        $outputFile = $ARGV[2];
} else {
        print "Error: [output HTML file] must be *.htm or *.html\n" and die;
}

open(FILEHANDLE, ">$outputFile");
print FILEHANDLE "<html><head><title>PHP Shell's</title></head><body>\n";
close FILEHANDLE;

my $userAgent = LWP::UserAgent->new;
$userAgent->agent("User-Agent=Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.5) Gecko/20061201 Firefox/2.0.0.5");

my @resultLinks;

foreach(@searchTerm) {
        print "
[*] Query for "$_"\n" if($outputOn == 1);
     
        my $isLastPage = 0;
     
        for(my $gPage = 0; ; $gPage++) {
                if($isLastPage == 1) { last; }
             
                my $gRequest =  HTTP::Request->new(GET => "http://www.google.de/search?q=$_&start=$gPage"."0");
                my $gResource = $userAgent->request($gRequest);
             
                if($gResource->is_success) {
                        my @gContent = split("<div class=g>", $gResource->content);
                        if(@gContent < 10) { $isLastPage = 1; };
                     
                        for(my $gPiece = 1; $gPiece < @gContent; $gPiece++) {
                                my $shellLink = substr($gContent[$gPiece], index($gContent[$gPiece], "href="") + 6);
                                $shellLink = substr($shellLink, 0, index($shellLink, """));
                             
                                print "
[*] Check status of site "$shellLink"\n" if($outputOn == 1);
                             
                                my $sRequest = HTTP::Request->new(GET => $shellLink);
                                my $sResource = $userAgent->request($sRequest);
                             
                                if($sResource->is_success) {
                                        if(index($sResource->content, $checkTerm[0]) != -1 && index($sResource->content, $checkTerm[1]) != -1) {
                                                open(FILEHANDLE, ">>$outputFile");
                                                print FILEHANDLE "Link: <a href="$shellLink">$shellLink</a><br>\n";
                                                print FILEHANDLE "Search Term: <i>$_</i><br><br>\n";
                                                close FILEHANDLE;
                                             
                                                print "[+] Found shell: $shellLink\n" if($outputOn == 1);
                                        } else {
                                                print "[-] No shell\n" if($outputOn == 1);
                                        }
                                } else {
                                        print "[-] Offline\n" if($outputOn == 1);
                                }
                        }
                     
                        sleep 20; #wait 20 seconds so google dont think we are a bot
                } else {
                        print "Unable to query google\n" and die;
                }
        }
}

open(FILEHANDLE, ">>$outputFile");
print FILEHANDLE "<br><br><center><small><a href="http://www.vx-dia.de.vu">Find PHP Shells via Google - by DiA/RRLF</a></small></center></body></html>";
close FILEHANDLE;

sub usage {
        print qq(
Find PHP Shells via Google - by DiA/RRLF (http://www.vx-dia.de.vu)
     
Usage:  perl $0 [shell to find] [screen output] [output HTML file]
                  [shell to find] can be:
                        r57 - find r57shell
                        c99 - find c99shell
                        mys - find MyShell
                        phs - find PHP Shell
                        phm - find PHPShell (Macker)
                        rem - find phpRemoteView
                  [screen output] can be:
                        on  - every step the script doas get printed on the screen
                        off - no output, the script just writes to the output file
                  [output HTML file] must be:
                        *.htm or *.html
                                                         
Example: perl $0 c99 on c99shells.htm
        perl $0 mys off manyshells.htm

)      and exit;
}
// http://www.bec0de.com
Back to top Go down
 

PHP SHELL CODING BY GOOGLE

View previous topic View next topic Back to top 

 Similar topics

-
» Google+ fake page coding and HTML Page
» Bind Shell and Client in Python
» LITTLE INFO ABOUT GOOGLE PLUS
» Facebook Hammer on Google+
» Happy Birthday Google
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Hell of Hackerz :: Tip and Tricks :: Todays fortune-

Similar topics

+
ChatBox
Free forum | ©phpBB | Free forum support | Report an abuse | Cookies | Forumotion.com