Skip to content

Instantly share code, notes, and snippets.

View swannysec's full-sized avatar
🕵️‍♂️
Panic Machine Operator

John D. Swanson swannysec

🕵️‍♂️
Panic Machine Operator
View GitHub Profile
@jgamblin
jgamblin / certstream-slack.py
Created February 26, 2018 16:32
A script to search CTLogs for keywords and post new certs to a slack channel.
# coding=utf-8
import certstream
import json
import requests
# Get the webhook_url here:
# https://my.slack.com/services/new/incoming-webhook/
@asieira
asieira / Makefile
Last active September 15, 2017 17:41
A *nix and OS X Makefile to help package and test Splunk Apps with Python code in them
APPDIR = TA-Niddel_Magnet_Alerts_Add-on
DOCKER_TMP = /tmp/splunk
DOCKER_TAG = 6.6.2
DOCKER_NAME = splunk
SPLUNK_CREDENTIALS = 'admin:changeme'
VERSION = $(shell grep '^version' $(APPDIR)/default/app.conf | egrep -o '[^ ]+$$')
BUILD = $(shell grep '^build' $(APPDIR)/default/app.conf | egrep -o '[^ ]+$$')
FILE = $(APPDIR)-$(VERSION)-$(BUILD).spl
PYTHON_PACKAGES := $(shell find $(APPDIR)/bin/ -maxdepth 1 -type d | tr '\n' ',')
@MatthewDemaske
MatthewDemaske / PoshNaughtyList
Created June 16, 2017 22:03
Powershell NaughtyWord List
*ExecuteShellCommand*
*GetDelegateForFunctionPointer*
*GetModuleHandle*
*GetProcAddress*
*Groups.User.Properties.cpassword*
*IMAGE_NT_OPTIONAL_HDR64_MAGIC*
*InteropServices.HandleRef*
*kernel32.dll*
*LSA_UNICODE_STRING*
*Management.Automation.RuntimeException*
{
"Snake Files": {
"filemod": [".gdm-selinux",
".gdm-socket",
".ur-*",
"/Library/Scripts/queue",
"/Library/Scripts/installd.sh",
"/Library/LaunchDaemons/com.adobe.update.plist"]
},
"Snake Network": {
googledocs.docscloud.download
googledocs.docscloud.info
googledocs.docscloud.win
googledocs.g-cloud.pro
googledocs.g-cloud.win
googledocs.g-docs.pro
googledocs.g-docs.win
googledocs.gdocs.download
googledocs.gdocs.pro
googledocs.gdocs.win
@mgeorgy
mgeorgy / Dockerfile
Created November 29, 2016 07:01
CyberChef Docker Container
############################################################
# Dockerfile to create a CyberChef Container
# Based on Ubuntu 16.04, Node.js 7.x
#
# Clean build: docker build --no-cache=true --tag=cyberchef:<version> .
# Incremental build: docker build --tag=cyberchef:<version> .
# Run container: docker run -d -p 127.0.0.1:8080:80 --name cyberchef -t cyberchef:<version>
# example: docker run -d -p 127.0.0.1:8080:80 --name cyberchef -t cyberchef:1.0
############################################################
@bbouille
bbouille / gist:e74916651632877ea3f3d8983a93718c
Created November 9, 2016 12:52
Run TheHive on OSX 10.12.1 with Docker
0) OSx and Docker up to date
1) Install elasticsearch (5.0.0) with homebrew :
brew update
brew cask install java
brew tap homebrew/services
brew install elasticsearch
2) Configure elasticsearch by editing /usr/local/etc/elasticsearch/elasticsearch.yml as follow.
Change the cluster name on line 17 :
@jayswan
jayswan / uexists.sh
Created September 28, 2016 15:03
pipe-able script to check the existence of a GitHub username; returns 200 if found
#!/bin/sh
# Usage: some_command_that_outputs_usernames | uexists.sh
# subject to anonymous API rate limits
xargs -I {} curl -w "%{http_code}\n" -sI -o /dev/null https://api.github.com/users/{}
@atcuno
atcuno / gist:3425484ac5cce5298932
Last active March 25, 2024 13:55
HowTo: Privacy & Security Conscious Browsing

The purpose of this document is to make recommendations on how to browse in a privacy and security conscious manner. This information is compiled from a number of sources, which are referenced throughout the document, as well as my own experiences with the described technologies.

I welcome contributions and comments on the information contained. Please see the How to Contribute section for information on contributing your own knowledge.

Table of Contents

@nocturnalgeek
nocturnalgeek / MailinatorAliases
Last active April 8, 2024 20:45
A list of alternate domains that point to @mailinator.com
@binkmail.com
@bobmail.info
@chammy.info
@devnullmail.com
@letthemeatspam.com
@mailinater.com
@mailinator.net
@mailinator2.com
@notmailinator.com
@reallymymail.com