mirror of
https://github.com/trustedsec/ELFLoader
synced 2026-06-08 17:56:51 +00:00
20 lines
391 B
C
20 lines
391 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <stdint.h>
|
|
#include <unistd.h>
|
|
#include <sys/types.h>
|
|
|
|
|
|
int go(char* indata, int* outlen){
|
|
printf("This is a test\n");
|
|
printf("UID is: %d\n", getuid());
|
|
printf("This is another test\n");
|
|
if (getuid() > 500){
|
|
printf("Yep its greater than 500\n");
|
|
}
|
|
else{
|
|
printf("Nope it isn't\n");
|
|
}
|
|
return 0;
|
|
}
|