I hereby claim:
- I am tintinweb on github.
- I am tintinweb (https://keybase.io/tintinweb) on keybase.
- I have a public key ASCRLJovs-yWFA5fAyyoGxiP3wgkvPhH5XS3CmZI6RS2BAo
To claim this, I am signing this object:
/*** | |
BenkoJet auto-tweet'er | |
todo: | |
- grab a user token from adsbexchange | |
- implement twitter api | |
- only tweet if last flight changed | |
super cheap. salut 🫡 |
var ethers = require('ethers'); | |
var apiKey = '#yourAPIKey#'; //github is a good source for this :p | |
var url = `https://goerli.infura.io/v3/${apiKey}`; | |
var rpc = new ethers.providers.JsonRpcProvider(url); | |
var privateKey = "#ethPrivateKey#"; | |
var wallet = new ethers.Wallet(privateKey); | |
console.log("Address: " + wallet.address); | |
async function main(){ |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python2 | |
''' | |
# ./inplace-upgrade.py | |
python version: (2, 5, 2, 'final', 0) | |
[***] newer python interpreter available. switching versions... | |
python version: sys.version_info(major=2, minor=7, micro=9, releaselevel='final', serial=0) | |
''' | |
import os, sys | |
def try_switch_to_python2_7(): |
#!/usr/bin/env python | |
# -*- coding: UTF-8 -*- | |
# | |
# source: https://www.4armed.com/blog/forging-wifi-beacon-frames-using-scapy/ | |
# | |
# requires: | |
# radiotap supported wifi nic/driver (frame injection) (works fine with Ralink RT2571W) | |
# iwconfig $iface mode monitor | |
# iw dev $iface set channel $channel | |
# or |
var seen = []; | |
var results = []; | |
function searchObj (obj, query, strparent, level) { | |
level = level || 1; | |
if (level % 3==0 || level==1) | |
console.info(level); | |
for (var key in obj) { | |
var orig_sig = strparent + "." + key; | |
var sig = orig_sig.split(".").slice(-2).join("."); |
/* | |
Title : Jenkins PostBuild groovy script to get run status/parameters/environment, save to a json file in order to post it to mongodb | |
Author : [email protected] <github.com/tintinweb> | |
Setup : Jenkins | |
+ https://wiki.jenkins-ci.org/display/JENKINS/Groovy+Postbuild+Plugin | |
+ https://wiki.jenkins-ci.org/display/JENKINS/MongoDB+Document+Upload+Plugin | |
Job: | |
add post-build action: Groovy Postbuild Plugin (this code) |
#!/usr/bin/env python | |
# -*- coding: UTF-8 -*- | |
# Author : [email protected] <github.com/tintinweb> | |
''' | |
A simple TCP three-way handshake example | |
#> python scapy_tcp_handshake.py | |
DEBUG:__main__:init: ('oststrom.com', 80) | |
DEBUG:__main__:start | |
DEBUG:__main__:SND: SYN |
''' | |
@author: tintinweb | |
python asn.1 decoder including utility functions for pem format certificates | |
''' | |
import re,hashlib, binascii | |
class ASN1Element(object): | |
TYPE_UNIVERSAL = 0x00 |
#!/usr/bin/env python2 | |
# Quick and dirty demonstration of CVE-2014-0160 by Jared Stafford ([email protected]) | |
# The author disclaims copyright to this source code. | |
# | |
# tintinweb | https://github.com/tintinweb | |
# added proxy CONNECT support | |
# added HB packet variation for IPS testing | |
# added valid HB message padding (without HMAC) | |
# added options for custom HeartBeat.len, payload, fixed size TLSRecord.len, padding |