Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
sudo nmap -sn -oA 10-rfc-easy-ping -T4 -vvvvvvvvvvv 10.0-255.0,1,10,50,100,200,250,254,255.0,1,10,50,100,200,250,254,255
sudo nmap -sn -oA 172-rfc-easy-ping -T4 -vvvvvvvvvvv 172.16-31.0,1,10,50,100,200,250,254,255.0,1,10,50,100,200,250,254,255
@ebrinkster
ebrinkster / rfc-1918-easy-ping.txt
Last active September 10, 2018 18:52
Easy set of IPs to ping scan in nmap without covering all of RFC 1918. Use to narrow down other possible subnetworks to investigate on a security engagement. This is in nmap format.
10.0-255.0,1,10,50,100,200,250,254,255.0,1,10,50,100,200,250,254,255
172.16-32.0,1,10,50,100,200,250,254,255.0,1,10,50,100,200,250,254,255
192.168.0-255.0-255
# Or below if full 192.168.X.X is too slow
# 192.168.0-255.0,1,10,50,100,200,250,254,255
@ebrinkster
ebrinkster / keybase.md
Created September 5, 2018 14:53
keybase.md

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@ebrinkster
ebrinkster / pengowindl.sh
Created June 23, 2017 07:19
Downloads pengowin http://pengowin.com.ar using megadl tool
#!/bin/bash
megadl 'https://mega.nz/#!uFRTAI7I!D8sA7VhdSXr8qcZviw5cAcP_mZVnBfI1w9b4QCScgNU'
megadl 'https://mega.nz/#!7UIR3TJC!T27GQcpAPiNUIcLlx2lzyZn642278dMWSOoWKIgk8Lg'
megadl 'https://mega.nz/#!iNQhHAoQ!XCkjiXL-tsXud3L07bpZ4Ln_VxkVqPn3-2hWMtfjkJ4'
megadl 'https://mega.nz/#!Kc5QhDAb!RSUc-sfa6NOsXyAJ5r5EP1Sv_CONn2SuCkmGkiFGjYM'
megadl 'https://mega.nz/#!bU40URCQ!GwqSiTXpviNmsSXl7Psy9TrSYnoWMU7I-ahn5KQYa1I'
@ebrinkster
ebrinkster / honeypot-prep.sh
Last active April 17, 2019 14:36
BSides Canberra - Honeypot Workshop System Prep
#!/bin/bash
# BSides Canberra Honeypot Workshop Setup Script
# Elliott Brink (@ebrinkster)
# Update the system and install prereqs
sudo apt-get update
sudo apt-get install -y openssh-client openssh-server
sudo apt-get install -y git
sudo apt-get install -y python-pip
sudo apt-get install -y virtualenv libmpfr-dev libssl-dev libmpc-dev libffi-dev build-essential libpython-dev python2.7-minimal
@ebrinkster
ebrinkster / cpasswd.rb
Created October 26, 2016 03:58
CPassword Decrypter
require 'rubygems'
require 'openssl'
require 'base64'
encrypted_data = ARGV[0]
if ARGV.empty?
puts "No password provided"
puts ""
puts "Usage: ruby cpasswd.rb <cpassword-hash>"
@ebrinkster
ebrinkster / risu-install.sh
Last active May 23, 2016 09:20
Risu Install Script
#!/bin/bash
# Risu Installer
# By @ebrinkster
#
# Run this in your home directory
#
echo "==== Installing Packages ====="
echo ""
echo "Remember to set a MySQL root password"
sleep 4
@ebrinkster
ebrinkster / install-rdpy.sh
Last active August 29, 2015 14:16
This lame script installs rdpy
#!/bin/bash
# @ebrinkster on Twitter
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install -y build-essential autoconf libtool pkg-config python-opengl python-imaging python-pyrex python-pyside.qtopengl idle-python2.7 qt4-dev-tools qt4-designer libqtgui4 libqtcore4 libqt4-xml libqt4-test libqt4-script libqt4-network libqt4-dbus python-qt4 python-qt4-gl libgle3 python-dev python-pip
#sudo pip install twisted pyopenssl qt4reactor service_identity rsa
sudo pip install rdpy
echo
echo
echo "Install finished, refer to https://github.com/citronneur/rdpy for additional information."
@ebrinkster
ebrinkster / kippo-pw-export.sql
Last active August 29, 2015 14:14
Kippo Export Password SQL
# Kippo Password Export
# @ebrinkster
#
# This script will export all kippo guesses to /tmp/kippo-password.txt
#
# Then you can clean the results with: # sort /tmp/kippo-password.txt | uniq >> kippo-password-uniq.txt
#
# Script assumes database name is 'kippo'
# Login to mysql then run: source kippo-pw-export.sql
use kippo;
@ebrinkster
ebrinkster / di-fm-dl.sh
Last active September 30, 2021 21:13
** No longer works ** This script downloads all of the playlist files for Digitally Imported radio www.di.fm -- all playlists in folder created "di-fm" -- Note: I think some of the genre's such as UK Garage are now defunct
#!/bin/bash
# Script to download all of the Digitally Imported playlist
# files including the premium links
# Please support Digitally Imported by purchasing a premium account if you like the quality of these!
# No longer works.
clear
echo "This script downloads all Digitally Imported playlist files (except premium)"
echo ""