Skip to content

Instantly share code, notes, and snippets.

@olix0r
Created July 27, 2017 18:35
Show Gist options
  • Save olix0r/5fb6fafaad5911b65cbf4b7b86491783 to your computer and use it in GitHub Desktop.
Save olix0r/5fb6fafaad5911b65cbf4b7b86491783 to your computer and use it in GitHub Desktop.
Kill your thrift server with this handy dandy command
#!/bin/sh
set -e
echo -n -e \\x00\\x00\\x00\\x08\\x4e\\x49\\x5f\\x50\\x49\\x4e\\x47\\x00 | nc $@
@amanjeev
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment