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 * | |
r = remote("rms-fixed.hackable.software",1337) | |
def add_url(url): | |
r.recvuntil('Choice') | |
r.sendline("a") | |
r.recvuntil("url?") | |
r.sendline(url) |
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
# Dirty way to compile curl tool_main with libFuzzer | |
# clean | |
rm curl | |
rm curl-tool_main.o | |
# modify tool_main.c | |
# remove main() in tool_main | |
# define function LLVMFuzzerTestOneInput at tool_urlglob.c | |
# make |