| Server IP : 82.208.35.60 / Your IP : 216.73.216.236 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/shells/ibsh/files/ |
Upload File : |
--- main.c.orig 2020-10-02 14:29:21 UTC +++ main.c @@ -38,6 +38,17 @@ /* Header files */ #include "ibsh.h" +theuser loggedin; /* user info */ + +Strng commands[MAX_ITEMS]; /* permitted commands */ +Strng extensions[MAX_ITEMS]; /* permitted extensions */ +char real_path[STRING_SIZE]; /* absolute path */ +char jail_path[STRING_SIZE]; /* path inside the jail */ +char user_command[STRING_SIZE]; /* whatever the user types */ +char filtered_command[STRING_SIZE]; /* this one will be executed */ +int exitcode; + + /* Main: */ /* Handle arguments, read config files, start command processing. */ /* IBSH doesnt use any command line arguments, but my text editor */