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/python3 | |
from pwn import * | |
from past.builtins import xrange | |
from time import sleep | |
from IO_FILE import * | |
import random | |
#Utils | |
def allocate(alloc_size,read_size,data,silent=False): | |
if silent==False: |
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
from pwn import * | |
from past.builtins import xrange | |
from time import * | |
def execute(command): | |
io.sendlineafter('(gdb) ',command) | |
def rerun_process(): | |
io.sendlineafter('(gdb) ','r') |
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/python3 | |
from pwn import * | |
from time import sleep | |
import random | |
def malloc(idx,size): | |
io.sendlineafter('> ','1') | |
io.sendlineafter('index: ',f'{idx}') | |
io.sendlineafter('size: ',f'{size}') |
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/python3 | |
from pwn import * | |
from past.builtins import xrange | |
from time import sleep | |
import random | |
#Utils | |
def add(name): | |
io.sendlineafter('> ','A') | |
io.sendafter('name:\n',name) |
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/python3 | |
from pwn import * | |
from past.builtins import xrange | |
from time import sleep | |
import struct | |
import random | |
import subprocess | |
# Utils | |
def add(size,data=None): |
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/python3 | |
from pwn import * | |
from past.builtins import xrange | |
from time import sleep | |
import subprocess | |
import random | |
# Util | |
def new(index,size): | |
print(f'[+] Add index: {index} | Size : {hex(size)}') |
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/python3 | |
from pwn import * | |
from past.builtins import xrange | |
from IO_FILE import * | |
from time import sleep | |
import random | |
import subprocess | |
# Util | |
def Read(size,data): |
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/python3 | |
from pwn import * | |
from past.builtins import xrange | |
from time import sleep | |
import subprocess | |
import random | |
# Util | |
def Run(command): | |
io.sendline('RUN') |
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/python3 | |
from pwn import * | |
from past.builtins import xrange | |
from time import sleep | |
from binascii import hexlify, unhexlify | |
import subprocess | |
import random | |
# Utils | |
def Encrypt(index,note=None,data=None): |
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/python3 | |
from pwn import * | |
from time import sleep | |
from past.builtins import xrange | |
import subprocess | |
# Util | |
def add(_id,size,data=None,lable=None,leaks=False): | |
io.sendlineafter('> ','1') | |
io.sendlineafter('Id: ',f'{_id}') |
OlderNewer