Using packets and a C++ Console to Pentest