Skip to content

Instantly share code, notes, and snippets.

View WWelna's full-sized avatar
🥷
( ͡° ͜ʖ ͡°)

William Welna WWelna

🥷
( ͡° ͜ʖ ͡°)
View GitHub Profile
@WWelna
WWelna / Github-GPG-Minisign.txt
Created October 18, 2023 06:54
GPG & Minisign Keys
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Greetings,
These are my GnuPG and minisign keys for verifying software releases.
wwelna:~$ cat minisign.pub
untrusted comment: minisign public key 9230030AC445CF2D
RWQtz0XECgMwkhMeUHG8sW+5Fbe9d0jF52+4Y8LdzNZR7z+RNCPf5kVJ
wwelna:~$
@WWelna
WWelna / wizards_working-eigenvectors-11052021.json
Created November 5, 2021 20:49
wizards_working - eigenvector analysis - 11/5/2021
[
{
"screen_name": "wizards_working",
"name": "The CFS Wizard",
"id": 1442639588200169474,
"followers": 1176,
"following": 30,
"statuses": 1554,
"bio": "The Wizard that has been working on the greatest CFS in Twatter history. It has been fuqqin DELICIOUS. A Tun o' Fun actually. ;)",
"score": 1.0
@WWelna
WWelna / CanadianWizardT-eiginvectors-02252021.json
Created October 27, 2021 16:21
CanadianWizardT - eigenvector analysis - 2/25/2021
[
{
"screen_name": "CanadianWizardT",
"bio": "Undefeated. And......the cat came back the very next day. The cat came back and Twitter thought he was a goner....woof.",
"score": 1.0
},
{
"screen_name": "JoeBiden",
"bio": "Husband to @DrBiden, proud father and grandfather. Ready to build back better for all Americans. Official account is @POTUS.",
"score": 0.926996519825654
@WWelna
WWelna / wifi-bridge.sh
Created September 2, 2021 19:00
Boot Startup Script - /etc/wifi-bridge.sh
#!/bin/bash -e
ip_address="192.168.2.1"
netmask="255.255.255.0"
eth="eth0"
wlan="wlan0"
iptables -t nat -A POSTROUTING -o $wlan -j MASQURADE
iptables -A FORWARD -i $wlan -o $eth -m state --state RELATED,EXTABLISHED -j ACCEPT
iptables -A FORWARD -i $eth0 -o $wlan -j ACCEPT
@WWelna
WWelna / eth0.conf
Created September 2, 2021 17:47
The DNSMASQ config for eth0 - /etc/dnsmasq.d/eth0.conf
interface=eth0
listen-address=192.168.2.1
bind-interfaces
server=8.8.8.8
domain-needed
bogus-priv
dhcp-range=192.168.2.2,192.168.2.100,12h
@WWelna
WWelna / breachinfo-gabstats.py
Created March 5, 2021 04:19
DDoSecrets - Gab Stats - Breach Information
#!/bin/python3
import orjson as json
pass_count = 0
email_count = 0
emailandpass_count = 0
justemail_count = 0
justpass_count = 0
with open('/xs/Archive-Gab/ddosecrets_gabdump.json') as f:
@WWelna
WWelna / gab-missingposts-calc.py
Last active March 5, 2021 04:00
DDoSecrets - Gab Stats - Estimate of Missing Data
#!/bin/python3
import orjson as json
usercounts = {}
with open('/xs/Archive-Gab/ddosecrets_gabdump.json') as f:
for line in f:
try:
j = json.loads(line)
if j['__DBEXPORT__'] == 'accounts':
@WWelna
WWelna / stats-postsperday.py
Created March 3, 2021 16:50
DDoSecrets - Gab Stats - Posts per Day
#!/bin/python3
import orjson as json
from datetime import datetime
import dateutil.parser
import collections
dates = {}
with open('/xs/Archive-Gab/ddosecrets_gabdump.json') as f:
for line in f:
@WWelna
WWelna / DDoSecrets-GabStats-PostsPerDay.json
Created March 3, 2021 16:35
DDoSecrets Gab Dump - Posts per Day - 2016-08-10 to 2021-02-19
{
"2016-08-10":10,
"2016-08-11":9,
"2016-08-12":14,
"2016-08-13":3,
"2016-08-14":13,
"2016-08-15":41,
"2016-08-16":555,
"2016-08-17":598,
"2016-08-18":830,
@WWelna
WWelna / json2csv.py
Created March 3, 2021 11:51
JSON to CSV
#!/bin/python3
# Copyright (C) 2021 William Welna (wwelna@occultusterra.com)
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions: