Executable Ascii files pt. 2

Here is something very old, but still very cool. Attached are txt files that when saved as com (16bit MS DOS binary executables) will run. Pure magic. It works in DOS, Win9x, Win2k and WinXP SP3. In Windows 7 (32bit) you can only run console apps as the ntvdm.exe wont allow the app to take over VGA.

I have encoded a few text files which can be run in a lab environment (Remember these are unknown ASCII executables after all ! ) Plus I am including the original com2txt ASCII binary and exe2com ASCII binary for further encoding experiments.

So here is how the com2txt looks like : 

Download here and rename to com2txt.com : com2txt.doc

In case you need to convert a 16bit EXE into a COM then you can use the this : exe2com

These programs were not created by me but by some Japanese guy a long time ago. Anyways there is a source code to the converter which can be found online.  I am including some example ASCII executables here to play with (Old games)

blocks  mario pingu passw

Remember to save these files with COM extensions.

Also Kaspersky Antivirus 2013 was released a few days back, so I’ve tested it here :

“I need a jug of wine and a book of poetry,
Half a loaf for a bite to eat,
Then you and I, seated in a deserted spot,
Will have more wealth than a Sultan’s realm.”




About astr0baby

Please run Adblock or similar... we have been told to do so since Carl Sagan wrote the Contact .
This entry was posted in Uncategorized. Bookmark the permalink.

5 Responses to Executable Ascii files pt. 2

  1. Nicolas says:

    Corkami has a very good resource also on the topic, http://code.google.com/p/corkami/wiki/Encodings#aa86

  2. gold price says:

    How To Determine Whether File Is Ascii Or Binary Hi there Any idea how to make a VB program able to determine from a filename whether the file is ascii or binary?

    • astr0baby says:

      I don’t think Windows can distinguish between ASCII and Binary. You can check the file however with some rules like : if the file contains ASCII char #0 then it is probably binary, if #26 and it is not a last character then it is probably a binary, etc, etc, Or if any ASCII character codes are greater then 127 (&h7f) then it is most probably a binary. Best way to distinguish between ASCII and BINARY is some kind of a *nix flavor, there are many tools available.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.