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 ecdsa import VerifyingKey | |
import ecdsa | |
# tx : https://sepolia.etherscan.io/getRawTx?tx=0x39adc69ce44b1cd82df7d024d59793cf774c2902c8894b01979d0976b420aa38 | |
digest = bytearray.fromhex("365e8c124f9899fa9fe3f5d0b49f8c672b852340f32c1f4762cc02499b1e9cd5") | |
sig = bytearray.fromhex("00000000000000000000000000000000000000000000000000000005ca1ab1e0000000000000000000000000000000000000000000000000000000005ca1ab1e") | |
pubkeys = VerifyingKey.from_public_key_recovery_with_digest(sig, digest, ecdsa.SECP256k1, hashfunc=None) | |
# We should fin 0438df74e6944be4c15fe5396e7f8d317c41d512a0bc78ec1dbe9505da97b08c74aa80b5796d569395a4caf80f661a4f82a51c2b8d25df0953c882a777ea2e332c |
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
// Fill the IP here | |
let ip = "67.223.119.155"; | |
let port = 30303; | |
// Fill the remote_id here | |
let remote_id = hex::decode("9acab6f0d76413b33b1835000b956a62edac9945f97a47ad1ce2326ba3203d564e75de23fde8917ba2305b1bd99feab93ae17f1672fd2c1f580828280d4ff2a5").unwrap(); |
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
nmap -sn -iL ethereum_ips.txt | grep -Eo "((\(|)([0-9]{1,3}[\.]){3}[0-9]{1,3})(\)|$)|[0-9]+\.[0-9]+s" | tr -d '\015' | paste - - | sort -k 2 |
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 ecdsa | |
# https://bitcoin.stackexchange.com/questions/114850/sighash-single-with-no-corresponding-output | |
pubkey = "044edfcf9dfe6c0b5c83d1ab3f78d1b39a46ebac6798e08e19761f5ed89ec83c108172c4776865f02047b39cd704135c00c1b00085e0d1b9255405ac7079fa50a2" | |
signature = "912f994094193109a9faedf7ef855220638f95ac51c66d4eb46740dd1c0813fa100bc99adb8b64fb784173ca8883a78835e156b74f143c02e071dc82695e8472" | |
msg = bytes.fromhex("0100000000000000000000000000000000000000000000000000000000000000") | |
verify_key = ecdsa.VerifyingKey.from_string(bytearray.fromhex(pubkey), curve=ecdsa.SECP256k1) |
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
- SPV wallet : https://github.com/BitcoinAmiens/dogecoin-spv-node | |
- Payment Channel service : https://github.com/xanimo/dogecoin-spv-node-middleware | |
- Testnet faucet : https://gitlab.com/toffee_/dogecoin-testnet-faucet | |
- Payment Channel poc : https://github.com/rllola/doge-payment-channel | |
- Testnet miner : https://github.com/rllola/dogecoin-miner-rust | |
- Libdogecoin : https://github.com/xanimo/libdogecoin | |
- Discord tipping bot : https://github.com/BitcoinAmiens/dogecoin-tipping-bot |
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
{ | |
"hash": "a19271cbe06a8243dfecdcf5935754566edc074a7544f042b5bb4796b8a87027", | |
"confirmations": 3429024, | |
"strippedsize": 516, | |
"size": 516, | |
"weight": 2064, | |
"height": 158390, | |
"version": 6422786, | |
"versionHex": "00620102", | |
"merkleroot": "cd258a54487d9239d10743cbe3f68ce07d610def2bd5659a6e41b84671245117", |
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/env python3 | |
from Crypto.Util.number import inverse | |
import ecdsa | |
import random | |
import hashlib | |
C = ecdsa.SECP256k1 | |
G = C.generator | |
n = C.order |
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 re | |
import glob | |
javascript_files = glob.glob('**/*.js', recursive=True) | |
variables = [] | |
for file in javascript_files: | |
with open(file, 'r') as f: | |
javascript_blob = f.read() |
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
Hello World ! |
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
const electron = require('electron') | |
const APP_VERSION = require('../package.json').version | |
const AUTO_UPDATE_URL = 'https://api.update.rocks/github.com/rllola/electron-example/update/' + process.platform + '/' + APP_VERSION | |
function init () { | |
if (process.platform === 'linux') { | |
console.log('Auto updates not available on linux') | |
} else { | |
initDarwinWin32() |
NewerOlder