more ctf stuff
This commit is contained in:
@@ -20,7 +20,7 @@ def cutPieces(image_path, output_name_scheme):
|
||||
cell_height = height // 3
|
||||
|
||||
# Split the original image into 9 pieces
|
||||
for i in range(16):
|
||||
for i in range(9):
|
||||
# Calculate the coordinates of the current grid cell
|
||||
x1 = (i % 3) * cell_width
|
||||
y1 = (i // 3) * cell_height
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
from pwn import *
|
||||
|
||||
context.binary = ELF("./promis_patched")
|
||||
context.binary = ELF("./promis")
|
||||
libc = ELF("./libc-2.27.so")
|
||||
ld = ELF("./ld-2.27.so")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user