Skip to content

Instantly share code, notes, and snippets.

View adde88's full-sized avatar
🎯
Focusing

Andreas Nilsen adde88

🎯
Focusing
View GitHub Profile
@tkmru
tkmru / userDBs.txt
Created March 25, 2014 17:34
PEiD's userDB.txt
UserDB.txt URLs (use your own flavor):
http://www.sysreveal.com/tag/userdb-txt/
http://handlers.sans.org/jclausing/userdb.txt
https://github.com/cuckoobox/cuckoo/blob/master/data/peutils/UserDB.TXT
http://research.pandasecurity.com/blogs/images/userdb.txt
@rangercyh
rangercyh / diffie-hellman.lua
Created September 23, 2014 01:32
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 / git-pull-all.sh
Last active June 19, 2017 07:24
Git Pull - Will scan sub-folders for a git repo. and then uses git pull on everyone to keep them updated
#!/bin/bash
#
# Recursively git pull on repos.
# Made by Zylla - [email protected]
#
# This script will search your current folder recursively for git repositories, and then execute: "git pull" on those repos. to keep them up to date
# I've been using this script inside my World of Warcraft AddOns folder, to keep some private AddOns up-to date.
#
# So i've placed this script inside my "World Of Warcraft/Interface/AddOns" folder
#
@adde88
adde88 / forwarder.sh
Last active July 13, 2017 18:49
Iptables script. Port translation. OpenWRT. Gateway
#!/bin/sh
#
# IPTABLES - HELPER SCRIPT
# MADE BY: ZYLLA - [email protected]
#
# I made this for my 4G router, with OpenWRT.
# But it may aswell work on a normal Linux-box with two NIC's acting as a gateway.
#
IPORT="$1" # This is the port on the internet-side, which the outside clients will connect to.
DPORT="$2" # This is the port on the LAN side of your network, iptables will translate IPORT to this port.
@adde88
adde88 / 99setproxy
Last active March 17, 2018 11:12
Script for NetworkManager that detects your current network and changes your apt-proxy file if it detect a specific network.
#!/bin/bash
# Script made by Andreas Nilsen / Zylla - [email protected]
#
# apt proxy script for NetworkManager
# This script will scan /etc/resolv.conf for a specific network.
# If it detects this network, then it makes changes to your apt proxy.
# Perfect to automatically make it set your apt-proxy when you're at home, and remove it when you're on a different network.
# I use it on my laptop, to make it connect to my apt-cache-ng server when i'm at home.
#
@mgeeky
mgeeky / openvas-automate.sh
Last active November 12, 2023 19:15
OpenVAS automation script.
#!/bin/bash
#
# OpenVAS automation script.
# Mariusz B. / mgeeky, '17
# v0.2
#
trap ctrl_c INT
# --- CONFIGURATION ---
@cryptolok
cryptolok / ARProtect
Last active October 9, 2017 06:35
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
@l0l1dk
l0l1dk / FireHack.cpp
Last active July 8, 2023 06:56
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)
@cryptolok
cryptolok / vMetaDate.sh
Last active February 12, 2025 05:26
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
}
@hfiref0x
hfiref0x / inject.c
Last active October 23, 2024 03:33
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>