Skip to content

Instantly share code, notes, and snippets.

View cmlh's full-sized avatar

Christian Heinrich cmlh

View GitHub Profile
dc:14:de:8e:d7:c1:15:43:23:82:25:81:d2:59:e8:c0 245272
32:f9:38:a2:39:d0:c5:f5:ba:bd:b7:75:2b:00:f6:ab 197846
d0:db:8a:cb:74:c8:37:e4:9e:71:fc:7a:eb:d6:40:81 152046
34:47:0f:e9:1a:c2:eb:56:eb:cc:58:59:3a:02:80:b6 140777
df:17:d6:57:7a:37:00:7a:87:5e:4e:ed:2f:a3:d5:dd 91904
81:96:a6:8c:3a:75:f3:be:84:5e:cc:99:a7:ab:3e:d9 80499
7c:a8:25:21:13:a2:eb:00:a6:c1:76:ca:6b:48:6e:bf 78172
1c:1e:29:43:d2:0c:c1:75:40:05:30:03:d4:02:d7:9b 71851
8b:75:88:08:41:78:11:5b:49:68:11:42:64:12:6d:49 70786
c2:77:c8:c5:72:17:e2:5b:4f:a2:4e:e3:04:0c:35:c9 68654
32:f9:38:a2:39:d0:c5:f5:ba:bd:b7:75:2b:00:f6:ab 197846
d0:db:8a:cb:74:c8:37:e4:9e:71:fc:7a:eb:d6:40:81 152046
34:47:0f:e9:1a:c2:eb:56:eb:cc:58:59:3a:02:80:b6 140777
df:17:d6:57:7a:37:00:7a:87:5e:4e:ed:2f:a3:d5:dd 91904
81:96:a6:8c:3a:75:f3:be:84:5e:cc:99:a7:ab:3e:d9 80499
7c:a8:25:21:13:a2:eb:00:a6:c1:76:ca:6b:48:6e:bf 78172
1c:1e:29:43:d2:0c:c1:75:40:05:30:03:d4:02:d7:9b 71851
8b:75:88:08:41:78:11:5b:49:68:11:42:64:12:6d:49 70786
c2:77:c8:c5:72:17:e2:5b:4f:a2:4e:e3:04:0c:35:c9 68654
@cmlh
cmlh / gfind
Last active August 29, 2015 14:10
#!/bin/bash
directories=(
'dir1'
'dir2')
function search {
res=$(unzip -c \*.mtgx Graphs/Graph1.graphml 2>&1 |egrep "(Archive: )|$1" |grep "<mtg:Value" -B1)
res=$(echo -e "$res" |sed 's/\<mtg\:Value\>//g')
res=$(echo -e "$res" |sed 's/\<\/mtg\:Value\>//g')
#!/usr/bin/env python
#
# shodan-stream.py
# Read a firehose/ stream of 1% of the data that Shodan collects in real-time.
#
# WARNING: This script only works with people that have a subscription API plan!
# And by default the Streaming API only returns 1% of the data that Shodan gathers.
# If you wish to have more access please contact us at support@shodan.io for pricing
# information.
#
@cmlh
cmlh / robots.txt
Created April 27, 2014 22:39
robots.txt for dev www
# http://www.robotstxt.org/robotstxt.html
User-agent: *
Disallow: /
#!/bin/sh
# Simple shell script to replay URL(s) discovered by DirBuster over a local web proxy i.e. Burp Proxy, etc on TCP/8080
#
# Based on http://pauldotcom.com/2011/08/dirbuster-to-burp-the-missing.html
# REPOSITORY
# https://gist.github.com/1325706
# git://gist.github.com/1325706.git
use LW2;
%request = ();
%response = ();
LW2::http_init_request(\%request);
$request{'whisker'}->{'host'} = "www.victim.com";
@cmlh
cmlh / git_clone-OWASP-Top-10.txt
Created August 12, 2013 08:33
HOWTO Clone the OWASP Top Ten .git repository, including the "comparison" git submodule
cmlh$ git clone git@github.com:OWASP/OWASP-Top-10.git
Cloning into 'OWASP-Top-10'...
remote: Counting objects: 201, done.
remote: Compressing objects: 100% (144/144), done.
remote: Total 201 (delta 56), reused 191 (delta 46)
Receiving objects: 100% (201/201), 46.58 MiB | 179 KiB/s, done.
Resolving deltas: 100% (56/56), done.
github.com cmlh$ cd OWASP-Top-10
OWASP-Top-10 cmlh$ git submodule init
Submodule '2013/Documents/Comparison_to_Prior_Releases' (git@github.com:cmlh/OWASP-Top-Ten-2013.git) registered for path '2013/Documents/Comparison_to_Prior_Releases'
@cmlh
cmlh / SHODAN-theprez98-cisco_last-modified_www-authenticate.txt
Created October 29, 2012 10:09
SHODAN Search from @theprez98 for Cisco Hosts with No Password
cisco last-modified www-authenticate
@cmlh
cmlh / git_config-osx.sh
Created October 6, 2012 06:56
git Configuration
#!/bin/sh
git config --global user.name "Christian Heinrich"
git config --global user.email christian.heinrich@cmlh.id.au
git config --global color.ui true
# OSX
git config --global core.autocrlf input