From 822a158315ff0ddfc5140f40298bd5f4ec682ae2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Can=20B=C3=B6l=C3=BCk?= Date: Sun, 6 May 2018 04:30:07 +0300 Subject: [PATCH] Made friendlier --- PerfectInjector.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/PerfectInjector.cpp b/PerfectInjector.cpp index 10fc334..afbce8e 100644 --- a/PerfectInjector.cpp +++ b/PerfectInjector.cpp @@ -113,6 +113,14 @@ uint32_t FindProcess( const std::string& Name ) return 0; } + +static const char* ConHdr = "=================================================\n" + "| The Perfect Injector |\n" + "| This software is distributed free of charge. |\n" + "| If you bought this you have been scammed. |\n" + "| https://github.com/can1357/ThePerfectInjector |\n" + "=================================================\n\n"; + int main( int argc, char**argv ) { std::string ProcessName = argc > 1 ? argv[ 1 ] : ""; @@ -133,6 +141,11 @@ int main( int argc, char**argv ) } } + SetConsoleTitleA( "The Perfect Injector" ); + SetConsoleTextAttribute( GetStdHandle( STD_OUTPUT_HANDLE ), 0xF ); + printf( ConHdr ); + SetConsoleTextAttribute( GetStdHandle( STD_OUTPUT_HANDLE ), 0x8 ); + if ( !ProcessName.size() ) { printf( "Enter the target process name: " );