Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Rob Fuller mubix

🎯
Focusing
Block or report user

Report or block mubix

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@mubix
mubix / possible_talks.md
Created Jan 31, 2014
Just some talk ideas...
View possible_talks.md

Stop your friends and family from becoming bots

by Rob Fuller

When we talk about big topics like "The Internet of Things" and protecting it is not just a company or government's job, it's everyones. I grew up with Recycle, Reduce, Reuse. I'll share some ways we can all help friends and family from becoming bots and pawns in this new cyber world.

Call to action: Free, quick, reusable tips that everyone should be able to use to help slow the tide of malware infections and bot use on the Internet.


Crowd sourcing security

@mubix
mubix / watir-screen.rb
Created May 2, 2014
Screenshotting w/ Selenium and Burp
View watir-screen.rb
#!/usr/bin/env ruby
require 'watir-webdriver'
def screenshot(url)
b = Watir::Browser.new
b.goto url
filename = url
if filename =~ /:\/\//
filename = filename.split('://')[1]
@mubix
mubix / browserloop.js
Created Jul 23, 2014
Fun with NodeJS
View browserloop.js
var http = require('http');
function parseSwitch(req){
var list = {},
rc = req.headers.cookie;
rc && rc.split(';').forEach(function( cookie ) {
var parts = cookie.split('=');
list[parts.shift().trim()] = unescape(parts.join('='));
});
return list;
View hfs_script_inject.rb
##
# This module requires Metasploit: http//metasploit.com/donload
# Current source: https://github.com/rapid7/metasploit-framework
##
require 'msf/core'
class Metasploit3 < Msf::Exploit::Remote
Reank = NormalRanking
@mubix
mubix / 7zbrute.rb
Created Nov 4, 2014
7zip Cracking on the cheap
View 7zbrute.rb
#!/usr/bin/env ruby
# Need some help with this cracking script.
# Problems:
# 1) Slow, going through a large list like Rockyou takes forever
# 2) If there is no header encryption, 7z extracts to the target location
# then tries to decrypt, so threading would be painful
# 3) I need to know when the correct password is used and due to #2
# with threading that would be very difficult.
@mubix
mubix / get_rss.rb
Created Dec 23, 2014
Parse Site List for RSS
View get_rss.rb
#!/usr/bin/env ruby
require 'feedbag'
require 'net/http'
source = Net::HTTP.get('ddosattackprotection.org', '/blog/cyber-security-blogs/')
body = source.split('"')
rss = []
body.each_with_index do |ob, index|
View Bulles.md

Cipher Text #1:

214611044b181b161b040341061a000048150f0005554b5558514712031a061648080941060c520609130204195b522c4f170241071a011148000b0c040606455b5157410c141f001b4f47535d55060c050414412252040048030204055506171d1213040f55060a4815060a0e55060d0d41000006105212010f090805125216000e13410a1b1645050814120e115c45214611044b13130c0404034104031717480009054b1a04001a41060f0f551d130d1347000c141b0b48080941060c52090107024f4b341c0148150f001f551b1648160f184b3c52161d0204040e115c

Cipher Text #2:

200e0c041255000004080008041b0145090f03410a1b110c0d0f13411c101315070f14410a071745060e47121e170111011512150e55140a1a4106410c1a1d0148030b001801171748001341121a071748120e050e59520e010549
@mubix
mubix / listdrives.rb
Created Aug 14, 2013
Useful meterpreter script
View listdrives.rb
a = client.railgun.kernel32.GetLogicalDrives()["return"]
# Math magic to convert the binary to letters
drives = []
letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
(0..25).each do |i|
test = letters[i,1]
rem = a % (2**(i+1))
if rem > 0
drives << test
a = a - rem
@mubix
mubix / install.sh
Created Aug 24, 2013
Attackbox Build
View install.sh
#!/bin/bash
#Latest
apt-get update && apt-get upgrade -y
#Install Dependencies
aptitude -y install build-essential libssl-dev zlib1g zlib1g-dev git git-core subversion screen bison flex jam exuberant-ctags libreadline-dev libxml2-dev libxslt-dev libpcap-dev libmysqlclient-dev libpq-dev libsqlite3-dev autoconf python-software-properties libtool
View therealcow.txt
____________
< metasploit >
------------
\ ,__,
\ (oo)____
(__) )\
||--|| *
You can’t perform that action at this time.