Skip to content

Instantly share code, notes, and snippets.

View thehappydinoa's full-sized avatar

Aidan Holland thehappydinoa

View GitHub Profile
@thehappydinoa
thehappydinoa / censys_args.txt
Created April 14, 2023 16:32
Zsh-shell autocompletion for Censys CLI. ( .zshrc )
# Add to .zshrc
# Autocompletion for Censys CLI
# EDIT the list of fields BEFORE USE
censys_args=(
account
asm
config
@thehappydinoa
thehappydinoa / reencode.py
Last active May 20, 2020 07:11 — forked from mgeeky/reencode.py
ReEncoder.py - script allowing for recursive encoding detection, decoding and then re-encoding. To be used for instance in fuzzing purposes. Requires: jwt (pip install pyjwt)
#!/usr/bin/python
#
# ReEncoder.py - script allowing for recursive encoding detection, decoding and then re-encoding.
# To be used for instance in fuzzing purposes.
#
# NOTICE:
# If the input string's length is divisble by 4, Base64 will be able to decode it - thus, the script
# would wrongly assume it has been encoded using Base64. The same goes for Hex decoding.
# In order to tackle this issue, the script builds up a tree of possible encoding schemes and then evaluate
@thehappydinoa
thehappydinoa / picanha.py
Created September 23, 2018 19:55 — forked from tmap/picanha.py
import shodan
import sys
import requests
API_KEY = "apitoken"
try:
api = shodan.Shodan(API_KEY)
result = api.search('port:3000 product:"Apache httpd" centOS')
@thehappydinoa
thehappydinoa / soa.py
Last active July 17, 2018 17:35 — forked from Ekultek/soa.py
Log file scrubber
import argparse
import os
import platform
import sys
import time
__version__ = "0.1"
__author__ = "Ekultek"
__progname__ = "soapy"
__twitter__ = "@stay__salty"