#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include "gsc.hpp"
#include <dlfcn.h>
#include <pthread.h>
#include <sys/types.h>
#include <unistd.h>
#include <time.h>
#include <inttypes.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/mman.h>
#include "cracking.hpp"
Go to the source code of this file.
|
void | startServerAsThread (int port, int debug) |
|
int | cdecl_injected_shell (int a, int b, int c) |
|
int | cdecl_return_0 () |
|
int | cdecl_return_1 () |
|
int | cdecl_print (int a0, int a1, int a2, int a3, int a4, int a5, int a6, int a7, int a8, int a9) |
|
int | TCP_server_start (TCP_connection *conn, int port) |
|
int | TCP_wait_for_client (TCP_connection *conn) |
|
int | TCP_close_connection (TCP_connection *conn) |
|
int | TCP_read_all_bugged (TCP_connection *conn, void *buffer, int bufferLen, int *outMsgLen) |
|
int | TCP_read_all (TCP_connection *conn, void *buffer, int bufferLen, int *outMsgLen) |
|
int | TCP_write (TCP_connection *conn, const char *str,...) |
|
int | parseRequest (char *toParse, char table[MAX_ROWS][MAX_COLS][MAX_CHARS]) |
|
int | handleRequest (char lol[MAX_ROWS][MAX_COLS][MAX_CHARS]) |
|
void | input (char *buffer, int len) |
|
int | readMemoryRange (void *from, void *buffer, int bytes) |
|
int cdecl_injected_shell |
( |
int |
a, |
|
|
int |
b, |
|
|
int |
c |
|
) |
| |
int cdecl_print |
( |
int |
a0, |
|
|
int |
a1, |
|
|
int |
a2, |
|
|
int |
a3, |
|
|
int |
a4, |
|
|
int |
a5, |
|
|
int |
a6, |
|
|
int |
a7, |
|
|
int |
a8, |
|
|
int |
a9 |
|
) |
| |
int handleRequest |
( |
char |
lol[MAX_ROWS][MAX_COLS][MAX_CHARS] | ) |
|
void input |
( |
char * |
buffer, |
|
|
int |
len |
|
) |
| |
int parseRequest |
( |
char * |
toParse, |
|
|
char |
table[MAX_ROWS][MAX_COLS][MAX_CHARS] |
|
) |
| |
int readMemoryRange |
( |
void * |
from, |
|
|
void * |
buffer, |
|
|
int |
bytes |
|
) |
| |
void startServerAsThread |
( |
int |
port, |
|
|
int |
debug |
|
) |
| |
int TCP_read_all |
( |
TCP_connection * |
conn, |
|
|
void * |
buffer, |
|
|
int |
bufferLen, |
|
|
int * |
outMsgLen |
|
) |
| |
int TCP_read_all_bugged |
( |
TCP_connection * |
conn, |
|
|
void * |
buffer, |
|
|
int |
bufferLen, |
|
|
int * |
outMsgLen |
|
) |
| |