Skip to content

Instantly share code, notes, and snippets.

@zebde
zebde / setup.sh
Last active March 13, 2019 11:21
# Set a blazingly fast keyboard repeat rate
defaults write NSGlobalDomain KeyRepeat -int 1
# Set a shorter Delay until key repeat
defaults write NSGlobalDomain InitialKeyRepeat -int 10
# Show the ~/Library folder
chflags nohidden ~/Library
# Store screenshots in subfolder on desktop
@zebde
zebde / Dockerfile
Last active February 21, 2018 10:52
Viper-web-update Dockerfile
FROM python:3
LABEL version="0.3"
RUN sed -i "s/jessie main/jessie main contrib non-free/" /etc/apt/sources.list
RUN apt-get update -qq && \
apt-get -y --no-install-recommends install flex bison libjansson-dev libmagic-dev unrar exiftool gcc python-socksipy libssl-dev swig p7zip-full ssdeep libfuzzy-dev tor clamav-daemon -qq && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /var/tmp/*
@zebde
zebde / setup.sh
Last active January 9, 2018 08:08
Ubuntu box deployment
#!/bin/bash
sudo locale-gen en_US.UTF-8
sudo apt update
sudo DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" dist-upgrade
sudo apt autoremove -y
sudo apt install -y firefox curl htop git tor vim build-essential zsh ntpdate fail2ban unzip
#Fail2ban
sudo awk '{ printf "# "; print; }' /etc/fail2ban/jail.conf | sudo tee /etc/fail2ban/jail.local # Create jail.local
@zebde
zebde / dev-laptop.bat
Created September 19, 2017 11:12
Installer
choco install -y volatility
choco install -y git
choco install -y wireshark
choco install -y sleuthkit
choco install -y autopsy
choco install -y sysinternals
choco install -y emet
choco install -y googlechrome
choco install -y tor-browser
choco install -y notepadplusplus
@zebde
zebde / Keybase.md
Last active February 1, 2020 15:37

Keybase proof

I hereby claim:

  • I am zebde on github.
  • I am zebde (https://keybase.io/zebde) on keybase.
  • I have a public key ASC0oEsaVnhhQwQZxV1t6ed9zCbFT1m50DiUy5p1eJ6C6wo

To claim this, I am signing this object:

@zebde
zebde / 001-elksetup.sh
Last active July 23, 2022 04:28
ELK Setup Script
#!/bin/bash
# ---------------------------------------------------------------------------
# elksetup.sh - Ubuntu 14.04 based ELK installation script
# Copyright 2015, https://github.com/zebde
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
#!/bin/bash
# ---------------------------------------------------------------------------
# vipersetup.sh - Ubuntu 14.04 based Viper installation script
# Copyright 2016, https://github.com/zebde
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
@zebde
zebde / 001-drupal_install.sh
Last active October 28, 2016 14:22
Install a DRUPAL with a LAMP stack
#!/bin/bash
# Copyright 2016, https://github.com/zebde
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
@zebde
zebde / a-taxii-poll.py
Last active June 23, 2016 16:42
Sample TAXII polling script
import datetime
import os
import sys
from ConfigParser import SafeConfigParser
from datetime import timedelta
from StringIO import StringIO
import libtaxii as t
import libtaxii.clients as tc
import libtaxii.messages_11 as tm11