This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from itertools import permutations | |
from itertools import product | |
from sys import exit | |
from time import sleep | |
import os | |
result = os.system('color') ## Allows the script to use colors | |
GREEN = '\033[92m' | |
RED = '\033[31m' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Append to {shell}rc file | |
alias newtornode='echo -n "[*] Current TOR Node: ";curl --socks5 127.0.0.1:9050 http://checkip.amazonaws.com/;echo "[*] Getting New TOR Node";(echo authenticate "\"thisismypassword\""; echo signal newnym; echo quit) | nc localhost 9051 >/dev/null;sleep 5;echo -n "[+] New TOR Node: ";curl --socks5 127.0.0.1:9050 http://checkip.amazonaws.com/' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
"""Python Web Server with upload functionality and SSL. | |
This module builds on BaseHTTPServer by implementing the standard GET | |
and HEAD requests in a fairly straightforward manner. | |
For initial version, see: https://gist.github.com/UniIsland/3346170 | |
Updated by midnightseer to include the ssl wrapper and command line options |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use Fcntl; | |
use Errno; | |
use IO::Socket::INET; | |
use Pod::Usage qw/pod2usage/; | |
use warnings; | |
use strict; | |
our $VERSION = 0.01; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import socket | |
import threading | |
import sys | |
import argparse | |
import os | |
def handle(buffer): | |
return buffer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#author: midnightseer | |
#location: https://gist.github.com/MidnightSeer/99f42947b41b9f51a1b15107ba8d5c07 | |
#resources: | |
#https://www.exploit-db.com/exploits/50236 | |
#https://www.exploit-db.com/papers/44139/ | |
#https://github.com/mysqludf/lib_mysqludf_sys <-- this is the udf file I used |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from __future__ import print_function | |
# Originally Taken From: | |
# https://raw.githubusercontent.com/Alamot/code-snippets/master/mssql/mssql_shell.py | |
# CHANGES: | |
# 1. I removed upload functionality - too clunky and depending on how you access the target, it can get complicated, | |
# also I strongly prefer to not use certuti if I don't have to. The user should alread know how to get files onto the system | |
# 2. I added script arguments (I opted to not use argparse) | |
# 3. I added support for different ports | |
# 4. I removed unnecessary imports |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
from socket import * | |
import sys | |
bufsize = 1024 # Modify to suit your needs | |
try: | |
listenHost = sys.argv[1].split(":")[0] | |
listenPort = int(sys.argv[1].split(":")[1]) | |
connectHost = sys.argv[2].split(":")[0] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"io" | |
"log" | |
"net" | |
"os" | |
"github.com/akamensky/argparse" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Find Available Target Editions | |
DISM.exe /Online /Get-TargetEditions | |
## Convert Server Standard 2019 Evaluation to Server Standard 2019 | |
DISM /online /Set-Edition:ServerStandard /ProductKey:N69G4-B89J2-4G8F4-WWYCC-J464C /AcceptEula | |
## How To Activate | |
slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX | |
slmgr /skms [server]:[port] | |
slmgr /ato |