Skip to content

adoxa/ansicon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Apr 29, 2019
37f9200 · Apr 29, 2019
Nov 15, 2010
Apr 29, 2019
Mar 3, 2011
Nov 29, 2017
Feb 3, 2019
Aug 23, 2018
Jul 18, 2013
Apr 29, 2019
Nov 4, 2018
Jul 18, 2013
May 9, 2018
May 11, 2018
May 11, 2018
Dec 30, 2017
May 8, 2018
May 9, 2018
Dec 23, 2017
Apr 29, 2019
Dec 30, 2017
Apr 29, 2019
Apr 29, 2019

Repository files navigation

ANSICON Latest release

ANSICON provides ANSI escape sequences for Windows console programs. It provides much the same functionality as ANSI.SYS does for MS-DOS.

Requirements

  • 32-bit: Windows 2000 Professional and later (it won't work with NT or 9X).
  • 64-bit: AMD64 (it won't work with IA64).

How it Works

ANSICON injects a DLL into a process, hooking its functions.

Injection

One of three methods is used to inject the DLL.

  • LoadLibrary via CreateRemoteThread for a running process.

  • LdrLoadDll via CreateRemoteThread for a 64-bit .NET AnyCPU process.

  • Adding the DLL directly to the import table, otherwise.

Hooking

Hooking is achieved by modifying import addresses, or the return value of GetProcAddress.