I hereby claim:
- I am adde88 on github.
- I am zylla (https://keybase.io/zylla) on keybase.
- I have a public key ASBamASN3fRHISMXzdhMjbmH9mYqz5EWZujkzsyO79BZmQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/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 | |
# |
#!/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. |
#!/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. | |
# |
#!/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 | |
} |
#!/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 |
#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) |
--[[ | |
diffie-hellman算法简单代码 | |
]] | |
local low = 10 --约定的随机数集合 | |
local high = 20 | |
local Alice = {} | |
function Alice:CreateSecret() | |
self.g = 2 | |
self.p = 1019 --素数 |
// | |
// 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> |
# | |
# Copyright (C) 2012-2015 OpenWrt.org | |
# Copyright (C) 2017 Yousong Zhou | |
# | |
# This is free software, licensed under the GNU General Public License v2. | |
# See /LICENSE for more information. | |
# | |
include $(TOPDIR)/rules.mk |