usingboost::asio::ip::tcp; tcp::socket s(io_context); tcp::resolver resolver(io_context); boost::asio::connect(s, resolver.resolve(argv[1], argv[2])); std::string request; std::getline(std::cin, request); boost::asio::write(s, boost::asio::buffer(request)); std::array<char,...
msf_proxy.ps1 - Open a TCP socket on localhost:65535, and relay data back and forth over the device. In a separate thread, invoke the metasploit stage loader, connecting to localhost:65535. This can be used to run a msfconsole windows/shell/reverse_tcp or even (with some patience!) a...
msf_proxy.ps1 - Open a TCP socket on localhost:65535, and relay data back and forth over the device. In a separate thread, invoke the metasploit stage loader, connecting to localhost:65535. This can be used to run a msfconsole windows/shell/reverse_tcp or even (with some patience!) a...