This file contains 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 | |
if [ "x$(id -u)" != "x0" ]; | |
then | |
echo "Error, can only be executed by root" | |
#exit 1 | |
fi | |
# SOFTWARE="opensmtpd opensmtpd-extras dovecot-imapd spamassassin spampd dkimproxy" | |
SOFTWARE="opensmtpd opensmtpd-extras dovecot-imapd dkimproxy" |
This file contains 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
apt -y install clang libc6-dev-i386 | |
cat <<'END' > xdp-drop-ebpf.c | |
#include <linux/bpf.h> | |
#include <linux/if_ether.h> | |
#include <linux/in.h> | |
#include <linux/ip.h> | |
#include <linux/ipv6.h> | |
#include <linux/udp.h> |
This file contains 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
--- | |
config: | |
ouras: 51999 | |
router: | |
rtr1: | |
model: vyatta | |
upstream: | |
64515: | |
name: VULTR | |
community: 1001 |
This file contains 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 | |
## zmeu ([email protected]) Tue Dec 25 12:49:04 CST 2018 | |
## keepalive IRCCloud - Trial Account | |
AGENT="IRCCloud/4.5 (iPhone; en; iPhone OS 12.1.2)" | |
URL="https://www.irccloud.com/chat" | |
USER="YOUR-ACCOUNT-NAME" | |
PASS="YOUR-PASSWORD" | |
TOKENIZE=$(curl -s -A $AGENT -X POST "$URL/auth-formtoken" --header "content-length: 0"|cut -d"\"" -f8) | |
SESSION=$(curl -s -A $AGENT -d email=$USER -d password=$PASS -d token=$TOKENIZE --header "content-type: application/x-www-form-urlencoded" --header "x-auth-formtoken: $TOKENIZE" "$URL/login"|cut -d"\"" -f8) |
This file contains 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
#!/usr/bin/perl | |
use strict; | |
use Irssi; | |
use Net::DNS; | |
use vars qw($VERSION %IRSSI); | |
$VERSION = "0.0.1"; | |
%IRSSI = ( | |
authors => "zmeu", | |
contact => "zmeu\@whitehat.ro", |
This file contains 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 | |
# -------------------------------- | |
# Description: scutil - fix resolver from VPN clients (Mac OS X and uid-root/sudo) | |
# Author: God <[email protected]> | |
# WWW: whitehat.ro / whitehats.net | |
# -------------------------------- | |
# Mar 23 Ian 2018 00:33:59 EET - first release | |
dns="185.220.184.184" |
This file contains 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
## | |
# ZmEu - Bitcoin Currency Price TCL. | |
# | |
# 11.01.2018 - first release. (not tested) | |
# | |
# USE AT YOUR OWN RISK! | |
# | |
## | |
package require Tcl 8.5 |