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
import csv | |
from enum import Enum | |
import decimal | |
# dump data for one year from https://www.binance.com/my/orders/futures/transactionhistory Big Data Dump | |
data = [] | |
with open(r'/your/dump/data/path/0.csv', newline='') as csvfile: | |
spamreader = csv.reader(csvfile) |
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
import web3 | |
from eth_account._utils.typed_transactions import TypedTransaction | |
from eth_account._utils.signing import ( | |
hash_of_signed_transaction, | |
to_standard_v, | |
extract_chain_id, | |
) | |
from eth_account._utils.legacy_transactions import ( | |
Transaction, |
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
// frida -U --enable-jit -l poc.js -p [pid] | |
var hook_replace_handle = Module.findExportByName("libmylib.so","hook_replace"); | |
var hook_replace_Call = new NativeFunction(hook_replace_handle, 'void', ['int']); | |
var libc_write_handle = Module.findExportByName("libc.so","write"); | |
Interceptor.replace(hook_replace_handle,new NativeCallback(function (iii) { | |
console.log("gc entering"); | |
gc(); | |
console.log("gc left"); | |
}, 'void', ['int']) | |
); |