Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View theabraxas's full-sized avatar

Abraxas theabraxas

View GitHub Profile
@ILiedAboutCake
ILiedAboutCake / gophish.ps1
Created March 7, 2018 20:43
Create GoPhish ready CSV import files from AD groups
#USAGE: ./gophish.ps1 "AD_Group_Name"
param([string]$Group)
#check to make sure the group exists
Try
{
$AD = Get-ADGroupMember -Identity $Group -Recursive
}
Catch
{
@marcan
marcan / smbloris.c
Last active November 22, 2022 08:32
SMBLoris attack proof of concept
/* SMBLoris attack proof-of-concept
*
* Copyright 2017 Hector Martin "marcan" <marcan@marcan.st>
*
* Licensed under the terms of the 2-clause BSD license.
*
* This is a proof of concept of a publicly disclosed vulnerability.
* Please do not go around randomly DoSing people with it.
*
* Tips: do not use your local IP as source, or if you do, use iptables to block
import requests, json, logging, sys
class PassiveTotal:
def __init__(self, apikey):
self.__apikey = apikey
self.__classifications = [ 'targeted', 'crime', 'benign', 'multiple' ]
self.__actions = [ 'add', 'remove' ]