Alphanumeric shellcode: Difference between revisions

Content deleted Content added
Tompsci (talk | contribs)
AWB assisted clean up
No edit summary
Line 8:
 
Sometimes, alphanumeric code could also be used when the programmer needs to write a program but does not have access to any [[compiler]] or [[assembly language|assembler]]. All that is needed to write a alphanumeric program is a [[text editor]].
 
==Example DOS-program==
%!!%BB-tz-!!-%cP\%!!%BB-=<Pu( ------Written by Kalle
 
The text above will, when interpretended by an [[x86]] [[Central processing unit|CPU]] using the [[DOS]] operating system [[self-modifying code|overwrite parts of itself]] with a code used to terminate the execution of the program, and return back to DOS. Just copy the text into an pure text editor (for example edit.exe in DOS or notepad in Windows), save the file and then rename it to "something.com". To execute the program, just type "something" in a DOS command shell.
 
[[Category:Security exploits]]