Skip to content

Instantly share code, notes, and snippets.

View lucadidomenico's full-sized avatar

Luca Di Domenico lucadidomenico

View GitHub Profile
require("@zondax/filecoin-signing-tools/js")
require("hardhat-deploy")
require("hardhat-deploy-ethers")
const ethers = require("ethers")
const util = require("util")
const request = util.promisify(require("request"))
const { networkConfig } = require("../helper-hardhat-config")
const DEPLOYER_PRIVATE_KEY = network.config.accounts[0]

Keybase proof

I hereby claim:

  • I am lucadidomenico on github.
  • I am luca_dd (https://keybase.io/luca_dd) on keybase.
  • I have a public key ASCh8kbn0DI_u-sOkfT1Ug180pHCP3tAQxtx3ZpORaSOUwo

To claim this, I am signing this object:

@lucadidomenico
lucadidomenico / fuzzer.py
Created October 30, 2020 15:58
MySql fuzzer
#!/usr/bin/python3
import mysql.connector
import warnings
excluded_chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'
VERSION = "5.6.49"
def fuzzDB():
warnings.warn("deprecated", DeprecationWarning)
db = mysql.connector.connect(host="localhost", user="root", passwd=".sweetpwd.", db="my_db", port=3306)

Keybase proof

I hereby claim:

  • I am lucadidomenico on github.
  • I am luca_didomenico (https://keybase.io/luca_didomenico) on keybase.
  • I have a public key ASD-L9nxUQJAJMaBMbHP0E7JT-WqStJ_sXLTTLMpYuxtaQo

To claim this, I am signing this object:

@lucadidomenico
lucadidomenico / parse_url.py
Created April 29, 2020 16:12
Parse a given absolute URL and prints it's structure, as described in the book "The Tangled Web"
#!/usr/bin/env python3
import sys
def parse_url(url):
scheme = ""
hierarchical_url = False
credentials = "[]"
host = ""
port = 0