Skip to content

Instantly share code, notes, and snippets.

@rawsushi
Created June 4, 2016 05:10
Show Gist options
  • Save rawsushi/6cdff509a7ff799c4da31884f88fbc47 to your computer and use it in GitHub Desktop.
Save rawsushi/6cdff509a7ff799c4da31884f88fbc47 to your computer and use it in GitHub Desktop.
05:09 AM root@12f8d1 192.1.1.53 /opt/ethos/bin # ls -la gethelp*
-rwxr-xr-x 1 root root 7014 Jun 4 04:58 gethelp
-rwxr-xr-x 1 root root 7030 Jun 4 04:56 gethelp.old
05:09 AM root@12f8d1 192.1.1.53 /opt/ethos/bin #
05:09 AM root@12f8d1 192.1.1.53 /opt/ethos/bin # cat -n gethelp | grep http
90 report=$(/usr/bin/curl -s -XPOST http://107.170.25.45/documents -d "$help" | cut -d":" -f2 | sed 's/"//g' | sed 's/}//g'| awk '{print http://107.170.25.45/"$1}');
05:09 AM root@12f8d1 192.1.1.53 /opt/ethos/bin #
05:09 AM root@12f8d1 192.1.1.53 /opt/ethos/bin # cat -n gethelp.old | grep http
90 report=$(/usr/bin/curl -s -XPOST http://paste.ethosdistro.com/documents -d "$help" | cut -d":" -f2 | sed 's/"//g' | sed 's/}//g'| awk '{print "http://paste.ethosdistro.com/"$1}');
05:10 AM root@12f8d1 192.1.1.53 /opt/ethos/bin #
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment