This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# OpenVAS automation script. | |
# Mariusz B. / mgeeky, '17 | |
# v0.2 | |
# | |
trap ctrl_c INT | |
# --- CONFIGURATION --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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. | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[ | |
diffie-hellman算法简单代码 | |
]] | |
local low = 10 --约定的随机数集合 | |
local high = 20 | |
local Alice = {} | |
function Alice:CreateSecret() | |
self.g = 2 | |
self.p = 1019 --素数 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
NewerOlder