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
SNORTVER=2.9.15 | |
DAQVER=2.0.6 | |
LUAJITVER=2.0.5 | |
OINKCODE=$1 | |
sudo apt-get update | |
sudo apt-get install -y ethtool g++ | |
sudo apt-get install -y build-essential | |
sudo apt-get install -y libpcap-dev libpcre3-dev libdumbnet-dev zlib1g-dev | |
sudo apt-get install -y bison flex |
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
# Default setup for vim | |
git clone https://gist.github.com/861462c928b1a0bcdeea8dcb5f75ffed.git ~/maka-env/vimrc | |
mv ~/maka-env/vimrc/.vimrc ~/.vimrc | |
rm -rf ~/maka-env/vimrc | |
rm -rf ~/.vim/autoload | |
rm -rf ~/.vim/bundle | |
mkdir -p ~/.vim/autoload ~/.vim/bundle && \ | |
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim |
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 | |
# These version are in lock-step together. If you update one, be sure to go to the SiLK site and | |
# get the required versions for the others. | |
SILK_VER=3.18.3 | |
YAF_VER=2.11.0 | |
LIBFXBUF_VER=2.4.0 | |
AFTERGLOW_VER=1.6.5 | |
# The SNIF_CIDR subnet is the where you want to monitor traffic. | |
# The NAT_CIDR is for general internet related work, or to SSH into it. |
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
#--Oracle Corporation MIME Information | |
# Do not delete the above line. It is used to identify the file type. | |
# | |
# Copyright (c) 2006, 2010 Oracle Corporation. All rights reserved. | |
# Use is subject to license terms. | |
# | |
type=application/octet-stream exts=bin | |
type=application/astound exts=asd,asn | |
type=application/fastman exts=lcc |
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 [ "$*" == "" ]; then | |
echo "No arguments provided" | |
exit 1 | |
fi | |
if [[ $# -eq 0 ]] ; then | |
echo 'Provide a bssid' | |
exit 1 | |
fi |
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 | |
echo "Install netcdf" | |
brew reinstall netcdf | |
echo "Stop postgres if installed" | |
pg_ctl -D /usr/local/var/postgres stop -s -m fast | |
echo "Remove previous verion of postgis" | |
brew uninstall --force postgis |
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 | |
sudo yum install git tree -y | |
sudo apt install git tree -y | |
# Setup tmux mouse | |
echo "set-option -g mouse on" > ~/.tmux.conf | |
git clone https://gist.github.com/49460dca13796b8c654b7639436c8f48.git ~/maka-env/bash_profile | |
mv ~/maka-env/bash_profile/.bash_profile ~/.bash_profile |
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 | |
# Install xcode | |
xcode-select --install | |
sudo xcode-select --switch /Library/Developer/CommandLineTools | |
#Install homebrew | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" | |
brew update |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>BackgroundColor</key> | |
<data> | |
YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS | |
AAGGoKMHCA9VJG51bGzTCQoLDA0OVU5TUkdCXE5TQ29sb3JTcGFjZVYkY2xhc3NPECcw | |
Ljg3NSAwLjg1Nzk4MzY1IDAuNzY1NjI1IDAuODEyNzI1Nzk0OAAQAoAC0hAREhNaJGNs | |
YXNzbmFtZVgkY2xhc3Nlc1dOU0NvbG9yohIUWE5TT2JqZWN0XxAPTlNLZXllZEFyY2hp |
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
" Use Vim settings, rather then Vi settings (much better!). | |
" This must be first, because it changes other options as a side effect. | |
set nocompatible | |
filetype off | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'puremourning/vimspector' | |
Plugin 'rustushki/JavaImp.vim' |
NewerOlder