Skip to content

Instantly share code, notes, and snippets.

View jermdw's full-sized avatar
😺

jermdw jermdw

😺
View GitHub Profile
@jermdw
jermdw / keybase.md
Created September 6, 2016 06:14
keybase

Keybase proof

I hereby claim:

  • I am jermdw on github.
  • I am h0neybadg3r (https://keybase.io/h0neybadg3r) on keybase.
  • I have a public key whose fingerprint is 5F6D 3FBE C9D8 0601 DB25 D0FE 53A9 478E 15C9 12B8

To claim this, I am signing this object:

@jermdw
jermdw / malware hashes
Created October 11, 2016 18:53
hashes for lookup
671a4a687caee53e522be332e2ffae1e8d0dd3161f69ca49ff9eb7baa9d27e78
@jermdw
jermdw / ufw.gist
Created October 29, 2016 02:48
Add private subnet specific UFW rule
sudo ufw allow from 192.168.1.0/24 to any port 80
@jermdw
jermdw / MISP.sh
Created October 29, 2016 03:09
Vagrant - MISP
# Create an Admin User
sudo adduser admin
# Pull the latest updates
sudo apt update && sudo apt dist-upgrade -y
# install postfix, there will be some questions.
sudo apt install -y postfix
# Postfix Configuration: Satellite system
# change the relay server later with:
#sudo postconf -e 'relayhost = example.com'
@jermdw
jermdw / nmcli_wifi
Created November 15, 2016 05:30
NMCLI - Wifi Toggle
3 Methods:
--------------------------------
# Method 1
nmcli d disconnect wlp58s0
nmcli d connect wlp58s0
# Method
nmcli c down <SavedWiFiConn>
nmcli c up <SavedWiFiConn>
@jermdw
jermdw / splunk-quick-install-linux64.sh
Created November 23, 2016 01:09
Splunk - quick install script for Linux64
#!/bin/bash
#Splunk-EasyInstallation Script
#Courtesy of Ryan from DrunkInfoSec
#20161122
wget -O splunk.tgz 'https://www.splunk.com/bin/splunk/DownloadActivityServlet?architecture=x86_64&platform=linux&version=6.5.0&product=splunk&filename=splunk-6.5.0-59c8927def0f-Linux-x86_64.tgz&wget=true' && \
tar xzvf splunk.tgz && \
sudo mv splunk /opt/ && \
sudo /opt/splunk/bin/splunk start --accept-license && \
sudo useradd splunk && \
sudo /opt/splunk/bin/splunk enable boot-start -user splunk && \
@jermdw
jermdw / vnc_fwd
Created November 27, 2016 18:45
VNC Forward
ssh -L 5901:127.0.0.1:5901 -N -f -l username server_ip_address
@jermdw
jermdw / chargerinfo
Created November 28, 2016 04:33
Pixel & XPS charger Reddit thread
https://redd.it/3rrs8x
@jermdw
jermdw / -
Created February 4, 2017 01:33 — forked from anonymous/-
System: Host: honeybadger-XPS-13-9360 Kernel: 4.8.0-34-generic x86_64 (64 bit gcc: 6.2.0)
Desktop: Cinnamon 3.2.8 (Gtk 3.20.9) dm: lightdm Distro: Ubuntu 16.10
Machine: System: Dell (portable) product: XPS 13 9360 Chassis: type: 9
Mobo: Dell model: 0839Y6 v: A00 UEFI [Legacy]: Dell v: 1.0.7 date: 09/13/2016
Battery BAT0: charge: 78.9 Wh 104.2% condition: 75.7/78.9 Wh (96%) volts: 8.5/7.6
model: SMP DELL TP1GT61 serial: 2776 status: Full
CPU: Dual core Intel Core i7-7500U (-HT-MCP-) cache: 4096 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 11600
clock speeds: min/max: 400/3500 MHz 1: 1983 MHz 2: 1216 MHz 3: 2579 MHz 4: 823 MHz
Graphics: Card: Intel Device 5916 bus-ID: 00:02.0 chip-ID: 8086:5916
@jermdw
jermdw / 0_reuse_code.js
Created February 26, 2017 05:22
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console