Alphanumeric shellcode: Difference between revisions

Content deleted Content added
No edit summary
last change. fixed the last bug. i will not use wikipedia as coding editor anymore :)
Line 11:
==Example DOS-program==
 
%!!%BB-tz-!!-%cP\%!!%BB-=<PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPu( -Written-By-Kalle-:)!!--Written by Kalle
 
The text above will, when interpretended by an [[x86]] [[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.