Skip to content

Instantly share code, notes, and snippets.

View kingtuna's full-sized avatar

Terrence Gareau kingtuna

  • Mirage Messaging
  • Miami, FL
View GitHub Profile
kingtuna /
Created August 1, 2017 18:05 — forked from pathcl/
Bottle && selenium
from bottle import run, request, Bottle
from selenium import webdriver
from jinja2 import Environment, FileSystemLoader
import re
import os
app = Bottle()
path = os.getcwd()
urls = path + '/urls.txt'
git clone
sudo pacman -S opencl-headers
sudo pacman -S cuda
sudo pacman -S libmicrohttpd
cmake . -DCMAKE_CXX_COMPILER=/usr/bin/g++-5 -DCMAKE_C_COMPILER=/usr/bin/gcc-5 -DCUDA_HOST_COMPILER:FILEPATH=/usr/bin/gcc-5
mkdir work
cd work
git clone
apt-get install build-essential cmake libgmp3-dev gengetopt libpcap-dev flex byacc libjson-c-dev pkg-config libunistring-dev
cd zmap
cmake .
make -j4
make install
kingtuna / gist:6d5165537307e309c1018efeb64b1423
Created September 22, 2016 07:00
iptables rules for forwarding all ports except 22 tcp and udp to an ip
iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 1:21 -j DNAT --to-destination
iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 23:65535 -j DNAT --to-destination
iptables -A PREROUTING -t nat -i eth0 -p udp --dport 1:65535 -j DNAT --to-destination
kingtuna /
Last active July 24, 2020 01:07 — forked from alex-roman/
Easy install openresty (used and tested on Ubuntu 14.04, 15.10 and 16.04)
apt-get -y update
apt-get -y install nginx-extras build-essential libpcre3-dev libssl-dev libgeoip-dev libpq-dev libxslt1-dev libgd2-xpm-dev
wget -c
tar zxvf openresty-
cd openresty-
./configure \
--sbin-path=/usr/sbin/nginx \
--conf-path=/etc/nginx/nginx.conf \
kingtuna / DNS Dashboard
Created July 23, 2015 17:38
Kibana honeynet dashboard
"title": "DNS Attacks",
"services": {
"query": {
"list": {
"0": {
"query": "*",
"alias": "",
"color": "#7EB26D",
"id": 0,