View Krack Attack (WPA2) Sample Code
#!/usr/bin/env python2
import logging
logging.getLogger("scapy.runtime").setLevel(logging.ERROR)
from scapy.all import *
import sys, socket, struct, time, subprocess, atexit, select
from datetime import datetime
IEEE_TLV_TYPE_RSN = 48
IEEE_TLV_TYPE_FT = 55
View network jam
#!/usr/bin/env python
import logging
import sys
logging.getLogger("scapy.runtime").setLevel(logging.ERROR)
if len(sys.argv) != 5:
print ''
print 'arp.py Alexander Hagenah - ah@primepage.de'
print ''
View mitmsslstrip2.sh
#!/bin/bash
#
# @desc: MitM (Ettercap) & SSLStrip2 & dns2proxy
#
# Tool runs if sslstrip2 & dns2proxy have subfolders from
# where the script is run
#
# @required:
#
# - SSLStrip2 (https://github.com/LeonardoNve/sslstrip2)
View gist:8689191
xaitax@w00t:~/usr/src$ for i in $(ls -d */); do egrep -iro '(fuck|shit|crap|bastard)' ${i%%/} | wc -l | xargs echo "Total matches in ${i%%/}:"; done
Total matches in linux-2.6.32.61: 398
Total matches in linux-2.6.34.14: 454
Total matches in linux-3.10.28: 392
Total matches in linux-3.11.10: 404
Total matches in linux-3.12.9: 404
Total matches in linux-3.13.1: 418
Total matches in linux-3.2.54: 388
Total matches in linux-3.4.78: 381
View fix_vmware_kernel_3.11.sh
cd /tmp
curl -O http://www.primepage.de/stuff/vmware/vmblock-9.0.2-5.0.2-3.10.patch
curl -O http://www.primepage.de/stuff/vmware/vmnet-9.0.2-5.0.2-3.10.patch
curl -O http://www.primepage.de/stuff/vmware/vmblock.3.11.patch
cd /usr/lib/vmware/modules/source
tar -xvf vmblock.tar
tar -xvf vmnet.tar
patch -p0 -i /tmp/vmblock-9.0.2-5.0.2-3.10.patch
patch -p0 -i /tmp/vmnet-9.0.2-5.0.2-3.10.patch
cd vmblock-only
View rbconfig.rb.diff
root@bt:/opt/metasploit/ruby/lib/ruby/1.9.1/i686-linux# diff -Nur rbconfig.rb_old rbconfig.rb
--- rbconfig.rb_old 2013-04-14 19:58:02.394668232 +0400
+++ rbconfig.rb 2013-04-14 19:52:59.742676593 +0400
@@ -53,7 +53,7 @@
CONFIG["DLDLIBS"] = " -lc"
CONFIG["SOLIBS"] = ""
CONFIG["LIBRUBYARG_SHARED"] = "-Wl,-R -Wl,$(libdir) -L$(libdir) "
- CONFIG["LIBRUBYARG_STATIC"] = "-Wl,-R -Wl,$(libdir) -L$(libdir) -l$(RUBY_SO_NAME)-static"
+ CONFIG["LIBRUBYARG_STATIC"] = "-Wl,-R -Wl,$(libdir) -L$(libdir) "
CONFIG["LIBRUBYARG"] = "$(LIBRUBYARG_STATIC)"
View x360tool.sh
#!/bin/bash
#
# @desc: Check http://primepage.de/x360tool/
#
# @name: x360tool(.sh)
#
# @author: Alexander Hagenah <ah@primepage.de>
# http://primepage.de
#
# @created: 09/29/2009
View fix_vmware_3.10.sh
#!/bin/bash
cd /tmp
curl -O http://primepage.de/stuff/vmware/vmblock-9.0.2-5.0.2-3.10.patch
curl -O http://primepage.de/stuff/vmware/vmnet-9.0.2-5.0.2-3.10.patch
cd /usr/lib/vmware/modules/source
cp vmblock.tar vmblock_backup.tar
cp vmnet.tar vmnet_backup.tar
tar -xvf vmblock.tar
tar -xvf vmnet.tar
patch -p0 -i /tmp/vmblock-9.0.2-5.0.2-3.10.patch
View bgrab.sh
#!/bin/bash
#
# @author: Alexander 'xaitax' Hagenah <ah@primepage.de>
# http://primepage.de
#
# @desc: HTTP Banner Grabber + Highlighting
#
# @created: 05/14/2013
#