Skip to content

Instantly share code, notes, and snippets.

View oogali's full-sized avatar

Omachonu Ogali oogali

  • Ordinary Stack
  • Princeton, NJ
  • 08:04 (UTC -04:00)
View GitHub Profile
@oogali
oogali / is-my-heart-bleeding.sh
Created April 8, 2014 15:55
Quick and dirty Heartbleed test from CLI
echo | openssl s_client -connect some.site.com:443 -tlsextdebug 2>&1 | grep '"heartbeat"'
@oogali
oogali / git-flow-draft.md
Last active August 29, 2015 14:03
Draft of Git-Flow instructions

How I Git-Flow

This document assumes you've read Vincent Driessen's document titled, "A successful Git branching model", and you are familar with the following concepts:

  • Git (branching, merging, pushing)
  • Git-Flow

Branches

  • Production (always deployable): prod
@oogali
oogali / gist:c3bd6534abe98b912421
Created July 23, 2014 17:16
Ye olde basic Python script
import sys
def main(argv=None):
if argv is None:
argv = sys.argv
# do some stuff
return 0
@oogali
oogali / poc.py
Last active August 29, 2015 14:04
Yamaha HTTP Control PoC
#!/usr/bin/env python
import sys
import time
import curses
import signal
import requests
from lxml import etree
@oogali
oogali / visa-phishing.txt
Created October 18, 2014 21:49
Telephone phishing attempt
I just received a call from an automated system with caller ID of (949) 930-2782 purporting to be VISA security.
The automated message stated that my card has been restricted from making online payments, and I should
press 1 to be connected with the security department. VISA doesn't issue credit cards directly, so this
made me suspect it was a phishing attempt.
I pressed 1, and was prompted to continue with the automated activation process for my card. I pressed
1 to continue again.
The system then started "glitching", as the voice prompts started taking longer and longer to play out,
@oogali
oogali / install-gnuradio-on-yosemite.sh
Last active August 29, 2015 14:09
Installing GNU Radio on Yosemite (in progress)
sudo pip install virtualenv
brew install boost cppunit fftw gsl libusb orc qt qwt sdl sip swig zeromq wxpython
( cd /usr/local/include && curl -LO https://github.com/zeromq/cppzmq/raw/master/zmq.hpp)
curl -L http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-4.11.2/PyQt-mac-gpl-4.11.2.tar.gz | tar zxvf -
cd PyQt-mac-gpl-4.11.2/
python configure-ng.py
make -j2
@oogali
oogali / consumer.py
Created April 12, 2015 00:37
A test in sending HipChat messages using the v2 API and RabbitMQ
#!/usr/bin/env python
import sys
import json
import pika
import requests
def queue_callback(channel, method, properties, body):
msg = json.loads(body)
$ ~/cidrdns -q 4.68.3.0/24
4.68.3.4: lo-0.err1-old.losangeles1.level3.net
4.68.3.5: lo-0.err2-old.losangeles1.level3.net
4.68.3.27: lo-0.bbr1.denver1.level3.net
4.68.3.28: lo-0.bbr2.denver1.level3.net
4.68.3.29: lo-0.car1.losangeles1.level3.net
4.68.3.30: lo-0.car2.losangeles1.level3.net
4.68.3.31: lo-0.car1.chicago1.level3.net
4.68.3.32: lo-0.car2.chicago1.level3.net
4.68.3.33: lo-0.car1.boston1.level3.net
@oogali
oogali / begs.rb
Created December 29, 2010 00:22
be.gs irc bot
#!/usr/bin/env ruby
require 'rubygems'
require 'isaac'
require 'em-http-request'
require 'uri'
configure do |c|
c.nick = 'begs'
c.server = 'irc'
@oogali
oogali / tmbo.sh
Created January 8, 2011 03:39
tmbo command-line uploader
#!/bin/sh
## tmbo.sh -- my attempt at posting from the command line
## tmbo: lnk, twitter: @oogali
##
BASE_URL=thismight.be/offensive
TMBO_CONFIG=${HOME}/.tmbo
TMPPATH=/tmp
usage() {
echo "$0 <options> <image to upload> [filename]"