Skip to content

Instantly share code, notes, and snippets.

@nicokruger
Created October 1, 2012 15:33
Show Gist options
  • Save nicokruger/3812535 to your computer and use it in GitHub Desktop.
Save nicokruger/3812535 to your computer and use it in GitHub Desktop.
netcat example
for F in $(seq 1); do echo "Doing $F"; bash -c 'sleep 1; echo -e "login:a:a;\r\ncommand;\r\nlogout;\r\n"' | netcat localhost 8094; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment