General

Pass in shellcode

$ (echo -en "\x00\x00...\n"; cat) | ./someprogram


Scan open ports and services.

nmap -sV -sT -sC -o dump.txt IP