Skip to content

Instantly share code, notes, and snippets.

View hackersoup's full-sized avatar

Brad Campbell hackersoup

  • Offensive Security Software Specialist at INGRESSIVE
  • Lorton, VA
View GitHub Profile
@hackersoup
hackersoup / lookup.py
Last active July 7, 2021 12:14
IP to Country Lookup Script
#!/usr/bin/env python3
try:
import geoip2.database
except ImportError:
print('[!] Could not find "geoip2" library')
print('[!] Try running the following command to install it:')
print('python3 -m pip install geoip2')
exit(-1)
try:

Keybase proof

I hereby claim:

  • I am hackersoup on github.
  • I am hackersoup (https://keybase.io/hackersoup) on keybase.
  • I have a public key ASAE8lKyoUhujjQDuNdokQy1mblukyy3C-JAy_P_1Nizcgo

To claim this, I am signing this object:

@hackersoup
hackersoup / mar-hardware-constants.s
Last active December 28, 2017 02:57
MuchAssemblyRequired game constant values for hardware
;; Hardware IDs
HWID_LEGS equ 0x1
HWID_LASER equ 0x2
HWID_LIDAR equ 0x3
HWID_KEYBOARD equ 0x4
HWID_DRILL equ 0x5
HWID_INV equ 0x6
HWID_RNG equ 0x7
HWID_CLOCK equ 0x8
HWID_HOLO equ 0x9
@hackersoup
hackersoup / GenerateCampusFeedUID.java
Last active November 27, 2017 04:32
CampusFeed's device UDID generation. Use to take over a user's account.
/**
* getCampusFeedUid
* Replicates the UID generation algorithm for CampusFeed
* Run this function on the phone of a CampusFeed user to get the information needed to
* take over their account.
* Use the returned string in a Firebase Auth call as such:
* createUserWithEmailAndPassword(getCampusFeedUid() + "@user.com", getCampusFeedUid());
*
* Requires:
* android.provider.Settings.Secure
class Log:
WARNING = '[-]'
ERROR = '[!]'
INFO = '[*]'
GOOD = '[+]'
class Color:
# Regular colors
BLACK = '\033[30m'
RED = '\033[31m'