Skip to content

Instantly share code, notes, and snippets.

View thehappydinoa's full-sized avatar

Aidan Holland thehappydinoa

View GitHub Profile

new_lab.py

Usage

usage: new_lab.py [-h] -l NAME -q Q [-n NAME] [-c C] [-m]

Create lab setup

optional arguments:

-h, --help show this help message and exit

@thehappydinoa
thehappydinoa / addtrustexternalca.cer
Last active September 18, 2019 20:10
Drexel Certificates
-----BEGIN CERTIFICATE-----
MIIENjCCAx6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBvMQswCQYDVQQGEwJTRTEU
MBIGA1UEChMLQWRkVHJ1c3QgQUIxJjAkBgNVBAsTHUFkZFRydXN0IEV4dGVybmFs
IFRUUCBOZXR3b3JrMSIwIAYDVQQDExlBZGRUcnVzdCBFeHRlcm5hbCBDQSBSb290
MB4XDTAwMDUzMDEwNDgzOFoXDTIwMDUzMDEwNDgzOFowbzELMAkGA1UEBhMCU0Ux
FDASBgNVBAoTC0FkZFRydXN0IEFCMSYwJAYDVQQLEx1BZGRUcnVzdCBFeHRlcm5h
bCBUVFAgTmV0d29yazEiMCAGA1UEAxMZQWRkVHJ1c3QgRXh0ZXJuYWwgQ0EgUm9v
dDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALf3GjPm8gAELTngTlvt
H7xsD821+iO2zt6bETOXpClMfZOfvUq8k+0DGuOPz+VtUFrWlymUWoCwSXrbLpX9
uMq/NzgtHj6RQa1wVsfwTz/oMp50ysiQVOnGXw94nZpAPA6sYapeFI+eh6FqUNzX
@thehappydinoa
thehappydinoa / CVE_2017_7529.py
Last active November 27, 2022 18:07
Nginx - Remote Integer Overflow Vulnerability
#!/usr/bin/env python
# -*- coding:utf-8 -*-
# Nginx - Remote Integer Overflow Vulnerability
# CVE-2017-7529
import sys
import logging
import argparse
@thehappydinoa
thehappydinoa / fakelogin.py
Last active August 26, 2019 04:20
Sends fake login info to phishers
#!/usr/bin/env python3s
from concurrent.futures import ThreadPoolExecutor
try:
import requests
from faker import Faker
except ImportError:
print("Please install requests and faker")
print("Running: `pip install requests faker` should do the trick")
@thehappydinoa
thehappydinoa / fortune_500_emails.txt
Last active June 9, 2019 17:31
Some of fortune 500 email servers generated with https://github.com/thehappydinoa/Fortune500
21cf.com
3m.com
53.com
aa.com
abbott.com
abbvie.com
abc.xyz
abm.com
activisionblizzard.com
adm.com
02-04 17:46:38.314 3524 3871 D WatchStreamDB: com.google.android.clockwork.common.stream.TopLevelStreamItem@61f7303 ranked at index 0
02-04 17:46:38.316 2682 2698 I FontsContentProvider: Received query Google Sans, URI content://com.google.android.gms.fonts
02-04 17:46:38.316 2682 2698 I FontsContentProvider: Query [Google Sans] resolved to {Google Sans, wdth 100.0, wght 400, ital 0.0, bestEffort false}
02-04 17:46:38.320 2682 2698 I FontsContentProvider: Fetch {Google Sans, wdth 100.0, wght 400, ital 0.0, bestEffort false} end status Status{statusCode=SUCCESS, resolution=null}
02-04 17:46:38.336 2682 2698 I FontsContentProvider: Pulling font file for id = 12, cache size = 12
02-04 17:46:38.354 7791 7791 I Dialer : SpeakEasyFragmentV3.onListeningChanged - listeningStatus:INITIATING_LISTENING, startTimer:true
02-04 17:46:38.354 2682 2698 I FontsContentProvider: Received query Google Sans:500, URI content://com.google.android.gms.fonts
02-04 17:46:38.354 2682 2698 I FontsContentProvider: Query
Incident Identifier: 378B2556-3C02-44F8-AF90-5C26042B91DE
CrashReporter Key: 83343ca716ba7f658ca0f9d6bd6eee61e6f6c67a
Hardware Model: iPhone7,2
Process: electra1141 [239]
Path: /private/var/containers/Bundle/Application/09DDF3CB-CA3A-4656-981F-C71FB807571A/electra1141.app/electra1141
Identifier: org.coolstar.electra1141
Version: 1 (1.2.3)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Jan 30 13:27:54 Aidans-iPhone SpringBoard(FrontBoard)[55] <Notice>: Removed: <FBUIApplicationSceneDeactivationAssertion: 0x107dd52f0; reason: systemAnimation; all scene levels; hasPredicate: NO>
Jan 30 13:27:54 Aidans-iPhone SpringBoard(FrontBoard)[55] <Notice>: Bootstrapping org.coolstar.electra1141 with intent foreground-interactive
Jan 30 13:27:54 Aidans-iPhone SpringBoard[55] <Notice>: Icon touch canceled (tap gesture may still succeed): <private>
Jan 30 13:27:54 Aidans-iPhone assertiond[66] <Notice>: Submitting new job for "org.coolstar.electra1141" on behalf of <BKProcess: 0x100d0c9b0; SpringBoard; com.apple.springboard; pid: 55; agency: SystemShell; visibility: foreground; task: running>
Jan 30 13:27:54 Aidans-iPhone assertiond[66] <Notice>: Removed BKApplicationStateServerClient for [81:<private>] -> <private>
Jan 30 13:27:54 Aidans-iPhone assertiond[66] <Notice>: Submitted job with label: UIKitApplication:org.coolstar.electra1141[0x7624][66]
Jan 30 13:27:55 Aidans-iPhone assertiond[66] <Notice>: _FGJ
@thehappydinoa
thehappydinoa / swimmers.py
Created January 6, 2019 18:59
Swimmers written in Python
class School(object):
def __init__(self, full_name, short_name):
self.full = full_name
self.short = short_name
class Swimmer(object):
def __init__(self, name, school):
self.name = name
self.school = school
cask_args appdir: "/Applications"
tap "homebrew/core"
tap "homebrew/bundle"
tap "homebrew/services"
tap "homebrew/cask"
cask "adapter"
cask "alfred"
cask "blockblock"
cask "cakebrew"
cask "caffeine"