Skip to content

Instantly share code, notes, and snippets.

View ErbaZZ's full-sized avatar

Weerawat P. ErbaZZ

  • Inspex
  • Bangkok, Thailand
View GitHub Profile

Keybase proof

I hereby claim:

  • I am erbazz on github.
  • I am erbazz (https://keybase.io/erbazz) on keybase.
  • I have a public key ASDbb0DJ6hv8XPyHQ4bhks6m0_Se_c5ip6Nkz6sp5NgZPwo

To claim this, I am signing this object:

@ErbaZZ
ErbaZZ / rpc_tester.js
Created June 23, 2022 16:52
WSS and HTTPS RPC Connection Tester
const Web3 = require('web3');
const RPC_LIST = [
"wss://bsc-ws-node.nariox.org:443",
"https://rpc.ankr.com/eth",
]
async function main() {
for (const rpcUrl of RPC_LIST) {
let provider;
@ErbaZZ
ErbaZZ / gnmap2banner.sh
Last active July 10, 2020 12:33
gnmap2banner.sh - Find "http" or any specified service type in .gnmap file and convert into "IP:PORT:PROTOCOL:SERVICE:BANNER" format
#!/bin/bash
# Name: gnmap2banner.sh
# Purpose: Search for a specific service type from gnmap file and
# prints out the result in "IP:Port:Service:Banner" format
# Usage: ./gnmap2banner.sh nmap_result.gnmap [service]
# Author: Weerawat Pawanawiwat <ErbaZZ>
file=$1
service="http"