0e69040a6a
Using the separation of block_recv and reverse_tcp, implement reverse_tcp_dns using original shellcode as template with dynamic injection of parameters. Concatenate the whole thing in the generation call chain, and compile the resulting shellcode for delivery. Metasploit module pruned to bare minimum, with the LHOST OptString moved into the library component. Testing: Win2k8r2 ToDo: Update payload sizes when this branch is "complete" Ensure UUIDs and adjacent black magic all work properly Misc: Clean up rc4.rb to use the rc4_keys method when generating a stage. Makes the implementation far more readable and reduces redundant code.