Skip to content

Instantly share code, notes, and snippets.

View adde88's full-sized avatar
🎯
Focusing

Andreas Nilsen adde88

🎯
Focusing
View GitHub Profile
@adde88
adde88 / sqlmap-tamper-scripts-evaluation.md
Created May 25, 2019 14:13 — forked from mgeeky/sqlmap-tamper-scripts-evaluation.md
SQLMap Tamper scripts evaluation against F5 Big-IP ASM WAF

SQLMap Tamper scripts evaluation against F5 Big-IP ASM WAF

The below table represents results of tests launched against F5 Big-IP ASM WAF appliance in it's XX version of YY and ZZ version of XY

Below names are to be passed to the --tamper= parameter of sqlmap.

The column Violation Rating represents most dominant rating of topmost 20 Requests observed by F5 in it's Security>>Event Logs:Application:Requests view.

The scale is 0-5.

@adde88
adde88 / inject.c
Created December 18, 2017 18:07 — forked from hfiref0x/inject.c
Process Doppelgänging
//
// Ref = src
// https://www.blackhat.com/docs/eu-17/materials/eu-17-Liberman-Lost-In-Transaction-Process-Doppelganging.pdf
//
// Credits:
// Vyacheslav Rusakov @swwwolf
// Tom Bonner @thomas_bonner
//
#include <Windows.h>
@adde88
adde88 / diffie-hellman.lua
Created November 25, 2017 14:08 — forked from rangercyh/diffie-hellman.lua
diffe-hellman algorithm simple code
--[[
diffie-hellman算法简单代码
]]
local low = 10 --约定的随机数集合
local high = 20
local Alice = {}
function Alice:CreateSecret()
self.g = 2
self.p = 1019 --素数
@adde88
adde88 / FireHack.cpp
Created November 16, 2017 13:18 — forked from l0l1dk/FireHack.cpp
FireHack Exports Interface - C++
#include "FireHack.hpp"
#include <string>
#include <Psapi.h>
using std::runtime_error;
using std::string;
#define IMPORT(Name) ::FireHack::Imports::Name = ::FireHack::Imports::Get<decltype(::FireHack::Imports::Name)>(#Name)
@adde88
adde88 / ARProtect
Created July 23, 2017 09:12 — forked from cryptolok/ARProtect
ultimate, simple and minimalistic UNIX ARP-MITM protection
#!/bin/bash
# ultimate, simple and minimalistic UNIX ARP-MITM protection by making gateway hardware address static just after DHCP and automatically after interface start
# place in /etc/network/if-up.d/ARProtect
if [[ "$IFACE" != "lo" && "$MODE" = "start" && "$ADDRFAM" = *[N,n]et* ]]
then
IP_GATEWAY=$(ip route | grep default | grep $IFACE | cut -d ' ' -f 3)
MAC=$(ip neigh show $IP_GATEWAY | cut -d ' ' -f 5)
arp -s $IP_GATEWAY $MAC
@adde88
adde88 / vMetaDate.sh
Created July 23, 2017 09:11 — forked from cryptolok/vMetaDate.sh
small tool to retreive vk.com (vkontakte) users hidden metadata (state, access, dates, counts, etc) anonymously (without login)
#!/bin/bash
# small tool to retreive vk.com (vkontakte) users hidden metadata (state, access, dates, counts, etc) anonymously (without login)
# sudo apt install curl
parse(){
local IFS=\>
read -d \< CELL VALUE
}