| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 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 : |
--- ibsh.h.orig 2020-10-02 14:29:21 UTC
+++ ibsh.h
@@ -88,17 +88,15 @@ typedef struct theuser {
typedef char Strng[STRING_SIZE];
-theuser loggedin; /* user info */
+extern theuser loggedin; /* user info */
-//static Strng commands[MAX_ITEMS]; /* permitted commands */
-Strng commands[MAX_ITEMS];
-Strng extensions[MAX_ITEMS];
-/*static 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;
+extern Strng commands[MAX_ITEMS]; /* permitted commands */
+extern Strng extensions[MAX_ITEMS]; /* permitted extensions */
+extern char real_path[STRING_SIZE]; /* absolute path */
+extern char jail_path[STRING_SIZE]; /* path inside the jail */
+extern char user_command[STRING_SIZE]; /* whatever the user types */
+extern char filtered_command[STRING_SIZE]; /* this one will be executed */
+extern int exitcode;
extern char **environ;