Skip to content

Instantly share code, notes, and snippets.

View jaredhaight's full-sized avatar

Jared Haight jaredhaight

View GitHub Profile
@jaredhaight
jaredhaight / enum4linux-scan.sh
Created March 31, 2015 14:33
enum4linux-scan.sh
if [ -z "$1" ]; then
echo "Usage: $0 <file_with_ips>"
exit 0
fi
echo "Running enum4linux\n"
echo "IP File: $1"
echo "\n"
for ip in $(cat $1);do
@jaredhaight
jaredhaight / gen_ps1_wget.py
Created March 29, 2015 19:02
Used in a remote shell to generate a PS1 file that downloads a file.
#! /usr/bin/python
import sys
if len(sys.argv) !=3:
print "Usage: gen_ps1_wget.py <http_server> <file_to_download>"
sys.exit(0)
print "\n"
print "Copy and paste the following in to the host:"
print "\n"
@jaredhaight
jaredhaight / .vimrc
Created February 20, 2015 12:26
My default vimrc
syntax on
set nocompatible
set wildmenu
set number
set tabstop=4
@jaredhaight
jaredhaight / pycharm_gitignore
Created November 26, 2014 17:54
Some sane defaults for a gitgnore in a PyCharm project.
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm
*.iml
## Directory-based project format:
.idea/
# if you remove the above rule, at least ignore the following:
# User-specific stuff:
# .idea/workspace.xml
@jaredhaight
jaredhaight / keybase.md
Created September 18, 2014 00:50
keybase.md

Keybase proof

I hereby claim:

  • I am jaredhaight on github.
  • I am jaredhaight (https://keybase.io/jaredhaight) on keybase.
  • I have a public key whose fingerprint is 517C 3E62 0B3C 12F1 01C6 DEF7 EE1C 9ED5 4781 F114

To claim this, I am signing this object: