1- Docker Download
yum install -y epel-release
yum install -y yum-utils
yum-config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo
| #!/usr/bin/env python3 | |
| import sys | |
| import argparse | |
| import datetime | |
| import datetime | |
| import re | |
| class TimeDeltaType(object): |
| #!/usr/bin/env python | |
| # Reflects the requests from HTTP methods GET, POST, PUT, and DELETE | |
| # Written by Nathan Hamiel (2010) | |
| from http.server import HTTPServer, BaseHTTPRequestHandler | |
| from optparse import OptionParser | |
| class RequestHandler(BaseHTTPRequestHandler): | |
| def do_GET(self): |
| #!/usr/bin/env python3 | |
| """ | |
| Very simple HTTP server in python for logging requests | |
| Usage:: | |
| ./server.py [<port>] | |
| """ | |
| from http.server import BaseHTTPRequestHandler, HTTPServer | |
| import logging | |
| class S(BaseHTTPRequestHandler): |
I had a heck of a time getting a Cuckoo sandbox running, and below I hope to help you get one up and running relatively quickly by detailing out the steps and gotchas I stumbled across along the way. I mention this in the references at the end of this gist, but what you see here is heavily influenced by this article from Nviso
With kerbrute.py:
python kerbrute.py -domain <domain_name> -users <users_file> -passwords <passwords_file> -outputfile <output_file>With Rubeus version with brute module:
| export JAVA_HOME=/usr/lib/jvm/jdk-13 | |
| export JRE_HOME=${JAVA_HOME}/jre | |
| export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib | |
| export PATH=${JAVA_HOME}/bin:$PATH |
| #!/bin/bash | |
| HOST=192.168.10.130 | |
| ACTIVATE=activate.php | |
| ME=$(basename $0) | |
| function token() { | |
| local COOKIE="" | |
| if [ -e cookie ]; then | |
| COOKIE=" -b cookie" |
| using System; | |
| using System.Net; | |
| using System.Diagnostics; | |
| using System.Reflection; | |
| using System.Configuration.Install; | |
| using System.Runtime.InteropServices; | |
| /* | |
| Author: Casey Smith, Twitter: @subTee | |
| License: BSD 3-Clause |
| using System; | |
| using System.EnterpriseServices; | |
| using System.Runtime.InteropServices; | |
| /* | |
| Author: Casey Smith, Twitter: @subTee | |
| License: BSD 3-Clause | |
| Create Your Strong Name Key -> key.snk |