This is a simple slackbot to post successful SSH logins to a slack channel to help you keep track of server access.
Create an incoming webhook for your slack community.
Create /etc/ssh/sshslack.sh
#!/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 |
This is a simple slackbot to post successful SSH logins to a slack channel to help you keep track of server access.
Create an incoming webhook for your slack community.
Create /etc/ssh/sshslack.sh
Source files for the blog post on FoxDeploy.com
// 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"); |
#!/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) |
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
# 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)
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.