HollowsHunter
Scans all running processes. Recognizes and dumps a variety of potentially malicious implants (replaced/implanted PEs, shellcodes, hooks, in-memory patches).
Loading...
Searching...
No Matches
term_util.cpp File Reference
#include "term_util.h"
#include <windows.h>
#include <iostream>
#include <string>
#include <mutex>

Go to the source code of this file.

Functions

bool get_current_color (int descriptor, WORD &color)
 
WORD set_color (WORD color)
 
void print_in_color (WORD color, const std::string &text)
 

Variables

std::mutex g_stdOutMutex
 

Function Documentation

◆ get_current_color()

bool get_current_color ( int descriptor,
WORD & color )

Definition at line 11 of file term_util.cpp.

◆ print_in_color()

void print_in_color ( WORD color,
const std::string & text )

Definition at line 33 of file term_util.cpp.

Here is the call graph for this function:

◆ set_color()

WORD set_color ( WORD color)

Definition at line 20 of file term_util.cpp.

Here is the call graph for this function:

Variable Documentation

◆ g_stdOutMutex

std::mutex g_stdOutMutex

Definition at line 9 of file term_util.cpp.