Skip to content

Instantly share code, notes, and snippets.

View burdenless's full-sized avatar

Bob Argenbright burdenless

View GitHub Profile
@burdenless
burdenless / urlquery.py
Last active January 1, 2016 22:39
Urlquery
#!/usr/bin/env python
#
# Developed by Pendrak0n
# 1/1/2014
#
# Purpose: Automate submissions to UrlQuery
#
import sys, time
from selenium import webdriver
@burdenless
burdenless / Base64tobin.py
Last active August 29, 2015 13:57
Decodes and inflates Base64 encoded strings/binaries
#!/usr/bin/env python
#
# Developed by Pendrak0n
#
# Capabilities: Decodes & decompresses Base64 encoded text and saves to a file
# Use Case: Decode binaries that have been compressed and encoded with Base64 to avoid detection
#
import re
import zlib
@burdenless
burdenless / logfile_headers.sh
Created May 27, 2014 01:33
BASH script to process all logfile headers in a given dir
#!/bin/bash
#
# Purpose: Analyze header of logfiles or magic number of other files
#
# Text color variables
txtund=$(tput sgr 0 1) # Underline
txtbld=$(tput bold) # Bold
bldred=${txtbld}$(tput setaf 1) # red
bldblu=${txtbld}$(tput setaf 4) # blue
@burdenless
burdenless / mac-to-bash
Last active February 4, 2017 20:01
Changes Mac terminal look to have the same colorized directories and naming conventions as Linux terminals.
export PS1="\[\033[36m\]\u\[\033[m\] λ [\[\033[32m\]\W\[\033[m\]]\$ "
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
alias ls='ls -GFh'
@burdenless
burdenless / outlook-runner.py
Last active July 5, 2018 14:05
Outlook Listener
import win32com.client
import pythoncom
import re
class Handler_Class(object):
def OnNewMailEx(self, receivedItemsIDs):
# RecrivedItemIDs is a collection of mail IDs separated by a ",".
# You know, sometimes more than 1 mail is received at the same moment.
for ID in receivedItemsIDs.split(","):
mail = outlook.Session.GetItemFromID(ID)
# SQLite version 3.x
# gem install sqlite3-ruby (not necessary on OS X Leopard)
development:
adapter: sqlite3
database: db/development.sqlite3
pool: 5
timeout: 5000
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
### Keybase proof
I hereby claim:
* I am 0xnix on github.
* I am y0xda (https://keybase.io/y0xda) on keybase.
* I have a public key whose fingerprint is RETU RN T HIS. PGP. GET_ FING ERPR INT( );
}
To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am byt3smith on github.
  • I am byt3smith (https://keybase.io/byt3smith) on keybase.
  • I have a public key whose fingerprint is 26A6 82C3 2F5F 5BDA 9095 9863 5DF6 0E88 4A72 0183

To claim this, I am signing this object:

@burdenless
burdenless / pshell.cs
Created November 16, 2015 20:56
Invoke Interactive PowerShell and Run Local Scripts Inside InstallUtil
using System;
using System.IO;
using System.Diagnostics;
using System.Reflection;
using System.Configuration.Install;
using System.Runtime.InteropServices;
//Add For PowerShell Invocation
using System.Collections.ObjectModel;
using System.Management.Automation;
@burdenless
burdenless / graph_theory.js
Created June 28, 2016 21:24
Implementing Graph Theory in JS
var edgeList = [ [0, 2], [1, 3], [2, 3], [2, 4], [3, 5], [4, 5] ];
var adjMatrix = [
/*0*/[0, 0, 1, 0, 0, 0],
/*1*/[0, 0, 0, 1, 0, 0],
/*2*/[0, 0, 0, 1, 1, 0],
/*3*/[0, 0, 0, 0, 0, 1],
/*4*/[0, 0, 0, 0, 0, 1],
/*5*/[0, 0, 0, 0, 0, 0]
];