Created
June 2, 2011 01:08
-
-
Save kcbanner/1003728 to your computer and use it in GitHub Desktop.
Tired of restarting netcat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2 | |
import subprocess | |
while True: | |
subprocess.call(['nc', 'localhost', '5206']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment