Skip to content

Instantly share code, notes, and snippets.

View nethunteros's full-sized avatar

binkybear nethunteros

View GitHub Profile
@Jsitech
Jsitech / Raspbian-AP-Setup.sh
Last active July 11, 2018 16:15
Simple Script to Set up an Access Point on the latest version of Raspbian Stretch
#!/bin/bash
# Raspbian-AP-Setup | Simple Script to Set up an Access Point on the latest version of Raspbian Stretch
# jasonsoto.com
# jsitech-sec.com
##############################################################################################################
if [ "$USER" != "root" ]; then
@jgamblin
jgamblin / readme.md
Last active October 5, 2022 10:55
Bot that posts SSH logins to slack.

SSH Slackbot

This is a simple slackbot to post successful SSH logins to a slack channel to help you keep track of server access.

Step 1

Create an incoming webhook for your slack community.

Step 2

Create /etc/ssh/sshslack.sh

@1RedOne
1RedOne / About.md
Last active January 24, 2018 11:28
Glorious PowerShell Dashboard Files
@ajxchapman
ajxchapman / chrome_screenshot.js
Created July 11, 2017 13:44
Node script to screenshot web pages using chrome debugging protocol
// npm install chrome-remote-interface minimist
const CDP = require('chrome-remote-interface');
const argv = require('minimist')(process.argv.slice(2));
const file = require('fs');
const spawn = require('child_process').spawn;
const net = require('net');
const crypto = require('crypto');
const url = argv.url || 'https://www.google.com';
const id = argv.id || crypto.createHash('sha256').update(url).digest("hex");
@worawit
worawit / eternalblue8_exploit.py
Last active March 16, 2024 18:38
Eternalblue exploit for Windows 8/2012
#!/usr/bin/python
# This file has no update anymore. Please see https://github.com/worawit/MS17-010
from impacket import smb, ntlm
from struct import pack
import sys
import socket
'''
EternalBlue exploit for Windows 8 and 2012 by sleepya
The exploit might FAIL and CRASH a target system (depended on what is overwritten)
@jmingov
jmingov / golang_on_rpi.md
Last active March 22, 2019 02:45 — forked from konradko/golang_on_rpi.md
Install Golang 1.8.1 on Raspberry Pi
wget https://storage.googleapis.com/golang/go1.8.1.linux-armv6l.tar.gz
sudo tar -C /usr/local -xzf go1.8.1.linux-armv6l.tar.gz
export PATH=$PATH:/usr/local/go/bin
wget https://nodejs.org/dist/v7.10.0/node-v7.10.0-linux-armv7l.tar.xz 
tar -xvf node-v7.10.0-linux-armv7l.tar.xz
cd node-v7.10.0-linux-armv7l
@denji
denji / golang-tls.md
Last active April 29, 2024 03:39 — forked from spikebike/client.go
Simple Golang HTTPS/TLS Examples

Moved to git repository: https://github.com/denji/golang-tls

Generate private key (.key)
# Key considerations for algorithm "RSA" ≥ 2048-bit
openssl genrsa -out server.key 2048

# Key considerations for algorithm "ECDSA" ≥ secp384r1
# List ECDSA the supported curves (openssl ecparam -list_curves)
@grugq
grugq / gist:03167bed45e774551155
Last active April 6, 2024 10:12
operational pgp - draft

Operational PGP

This is a guide on how to email securely.

There are many guides on how to install and use PGP to encrypt email. This is not one of them. This is a guide on secure communication using email with PGP encryption. If you are not familiar with PGP, please read another guide first. If you are comfortable using PGP to encrypt and decrypt emails, this guide will raise your security to the next level.