Skip to content

Instantly share code, notes, and snippets.

@dirtyak
dirtyak / shodan_cli.py
Last active May 6, 2023 11:17
Simple shodan command line in python
#!/bin/env/python
import shodan
import os
import sys
import subprocess
from termcolor import cprint
from pyfiglet import figlet_format
######################################################
SHODAN_API_KEY = "ENTER_YOUR_API_KEY_HERE"
@dirtyak
dirtyak / snap_it.sh
Created March 9, 2018 23:50
Script to automate git upload for xios blockchain daemon files
#!/bin/bash
#
#
FOLDER=".XIOS1"
cd $FOLDER
git pull
cd
# Get the block count from the wallet