Skip to content

Instantly share code, notes, and snippets.

View sshell's full-sized avatar
🐙
Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn

sshell

🐙
Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn
View GitHub Profile
gods = open('gods.txt','r').read().splitlines()
states = open('states.txt','r').read().splitlines()
combo = open('combo.txt','w')
for x in gods:
for y in states:
combo.write(x+y+'\n')
combo.close()
@sshell
sshell / faviconer.go
Created July 8, 2020 01:57
faviconer.go
package main
import (
"encoding/base64"
"fmt"
"io/ioutil"
"net/http"
"github.com/twmb/murmur3"
)
package main
import (
"fmt"
"strings"
"github.com/CaliDog/certstream-go"
logging "github.com/op/go-logging"
)
@sshell
sshell / reddit-user-analysis.py
Last active December 18, 2019 01:27
do some analysis on exactly when and where a user posts on reddit (and check to see if any of the subreddits they post to revolve around locations in the physical world)
import requests
from ascii_graph import Pyasciigraph
from datetime import datetime
from collections import Counter
import time
# initialize variables
username = 'spez'
lastaction = 0
headers = {'User-Agent': 'testbot'}
@sshell
sshell / asn2list.py
Last active December 17, 2019 23:45
handy script that converts ASNs to a list of IPs for use in tools that don't handle CIDR notation
import sys
import requests
from netaddr import IPNetwork
#exampleASN = 'AS62566'
if len(sys.argv) == 2:
asn = sys.argv[1]
if 'as' in asn: asn = asn.upper()
print('getting ips for: '+asn)
@sshell
sshell / discord-self-delete.py
Created December 17, 2019 23:11
the message deletion self-bot i used to use stopped working, and there were no working ones on github, so i had to make my own
# Usage: .del (number) or .del
import asyncio
import discord
import re
c = discord.Client()
token = "DISCORD_TOKEN_HERE"
@c.event
async def on_ready():
@sshell
sshell / gist:ac249ca079279bea9af9e36de3a98d93
Created September 3, 2018 21:13
abandoned tumblr domains you can just claim
audreyhappened.com
audventures.com
auerr.com
augustindallas.us
auntbenny.com
auroradias.net
aurorevegas.com
austevans.com
austinfricke.com
austinmchristy.com