Skip to content

Instantly share code, notes, and snippets.

@michaeljyeates
Last active October 23, 2019 18:17
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save michaeljyeates/451be98c2e7717f22086dcb050e38c25 to your computer and use it in GitHub Desktop.
Save michaeljyeates/451be98c2e7717f22086dcb050e38c25 to your computer and use it in GitHub Desktop.
#!/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