Skip to content

Instantly share code, notes, and snippets.

@feiskyer
Created March 6, 2017 11:36
Show Gist options
  • Save feiskyer/b1a0f009c9f0a2b7ee7b143148f40d79 to your computer and use it in GitHub Desktop.
Save feiskyer/b1a0f009c9f0a2b7ee7b143148f40d79 to your computer and use it in GitHub Desktop.
# curl --unix-socket /var/run/hyper.sock -X POST "http://localhost/execvm?pod=nginx-9296454126&command=\[\"/sbin/busybox\",\"ls\",\"/sbin\"\]"
busybox
depmod
iptables
iptables-restore
iptables-save
ipvsadm
modprobe
mount.nfs4
# ./hyperctl exec -m nginx-9296454126 /sbin/busybox ls /sbin
busybox
depmod
iptables
iptables-restore
iptables-save
ipvsadm
modprobe
mount.nfs4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment