Skip to content

Commit

Permalink
Made friendlier
Browse files Browse the repository at this point in the history
  • Loading branch information
can1357 committed May 6, 2018
1 parent 831b104 commit 822a158
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions PerfectInjector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 ] : "";
Expand All @@ -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: " );
Expand Down

0 comments on commit 822a158

Please sign in to comment.