!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/src/linux-headers-5.4.0-216-generic/scripts/kconfig/   drwxr-xr-x
Free 13.28 GB of 57.97 GB (22.92%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     nconf.h (1.82 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (C) 2008 Nir Tzachar <nir.tzachar@gmail.com>
 *
 * Derived from menuconfig.
 */

#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <ncurses.h>
#include <menu.h>
#include <panel.h>
#include <form.h>

#include <stdio.h>
#include <time.h>
#include <sys/time.h>

#define max(a, b) ({\
        typeof(a) _a = a;\
        typeof(b) _b = b;\
        _a > _b ? _a : _b; })

#define min(a, b) ({\
        typeof(a) _a = a;\
        typeof(b) _b = b;\
        _a < _b ? _a : _b; })

typedef enum {
    NORMAL = 1,
    MAIN_HEADING,
    MAIN_MENU_BOX,
    MAIN_MENU_FORE,
    MAIN_MENU_BACK,
    MAIN_MENU_GREY,
    MAIN_MENU_HEADING,
    SCROLLWIN_TEXT,
    SCROLLWIN_HEADING,
    SCROLLWIN_BOX,
    DIALOG_TEXT,
    DIALOG_MENU_FORE,
    DIALOG_MENU_BACK,
    DIALOG_BOX,
    INPUT_BOX,
    INPUT_HEADING,
    INPUT_TEXT,
    INPUT_FIELD,
    FUNCTION_TEXT,
    FUNCTION_HIGHLIGHT,
    ATTR_MAX
} attributes_t;
extern attributes_t attributes[];

typedef enum {
    F_HELP = 1,
    F_SYMBOL = 2,
    F_INSTS = 3,
    F_CONF = 4,
    F_BACK = 5,
    F_SAVE = 6,
    F_LOAD = 7,
    F_SEARCH = 8,
    F_EXIT = 9,
} function_key;

void set_colors(void);

/* this changes the windows attributes !!! */
void print_in_middle(WINDOW *win,
        int starty,
        int startx,
        int width,
        const char *string,
        chtype color);
int get_line_length(const char *line);
int get_line_no(const char *text);
const char *get_line(const char *text, int line_no);
void fill_window(WINDOW *win, const char *text);
int btn_dialog(WINDOW *main_window, const char *msg, int btn_num, ...);
int dialog_inputbox(WINDOW *main_window,
        const char *title, const char *prompt,
        const char *init, char **resultp, int *result_len);
void refresh_all_windows(WINDOW *main_window);
void show_scroll_win(WINDOW *main_window,
        const char *title,
        const char *text);

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0247 ]--