Last active
October 23, 2019 18:17
-
-
Save michaeljyeates/451be98c2e7717f22086dcb050e38c25 to your computer and use it in GitHub Desktop.
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/python | |
from argparse import Namespace | |
from pyjfuzz.lib import * | |
import requests | |
from thread import start_new_thread | |
def do_req(payload): | |
r = requests.post("http://13.251.66.224:8886/v1/chain/get_code", data=payload) | |
print payload | |
config = PJFConfiguration(Namespace(json={"account_name": "eosio"}, nologo=True, level=6, strong_fuzz=True)) | |
fuzzer = PJFFactory(config) | |
while True: | |
payload = fuzzer.fuzzed | |
start_new_thread(do_req, (payload,)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment