!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.12 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.8g. PHP/5.2.4-2ubuntu5.12 

uname -a: Linux forum.circlefusion.com 2.6.24-19-server #1 SMP Wed Jun 18 15:18:00 UTC 2008 i686 

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

Safe-mode: OFF (not secure)

/usr/src/linux-headers-2.6.24-28/include/asm-x86/   drwxr-xr-x
Free 1.06 GB of 97.11 GB (1.09%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     lguest.h (2.17 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#ifndef _X86_LGUEST_H
#define _X86_LGUEST_H

#define GDT_ENTRY_LGUEST_CS    10
#define GDT_ENTRY_LGUEST_DS    11
#define LGUEST_CS        (GDT_ENTRY_LGUEST_CS * 8)
#define LGUEST_DS        (GDT_ENTRY_LGUEST_DS * 8)

#ifndef __ASSEMBLY__
#include <asm/desc.h>

#define GUEST_PL 1

/* Every guest maps the core switcher code. */
#define SHARED_SWITCHER_PAGES \
    DIV_ROUND_UP(end_switcher_text - start_switcher_text, PAGE_SIZE)
/* Pages for switcher itself, then two pages per cpu */
#define TOTAL_SWITCHER_PAGES (SHARED_SWITCHER_PAGES + 2 * NR_CPUS)

/* We map at -4M for ease of mapping into the guest (one PTE page). */
#define SWITCHER_ADDR 0xFFC00000

/* Found in switcher.S */
extern unsigned long default_idt_entries[];

struct lguest_regs
{
    /* Manually saved part. */
    unsigned long eax, ebx, ecx, edx;
    unsigned long esi, edi, ebp;
    unsigned long gs;
    unsigned long fs, ds, es;
    unsigned long trapnum, errcode;
    /* Trap pushed part */
    unsigned long eip;
    unsigned long cs;
    unsigned long eflags;
    unsigned long esp;
    unsigned long ss;
};

/* This is a guest-specific page (mapped ro) into the guest. */
struct lguest_ro_state
{
    /* Host information we need to restore when we switch back. */
    u32 host_cr3;
    struct Xgt_desc_struct host_idt_desc;
    struct Xgt_desc_struct host_gdt_desc;
    u32 host_sp;

    /* Fields which are used when guest is running. */
    struct Xgt_desc_struct guest_idt_desc;
    struct Xgt_desc_struct guest_gdt_desc;
    struct i386_hw_tss guest_tss;
    struct desc_struct guest_idt[IDT_ENTRIES];
    struct desc_struct guest_gdt[GDT_ENTRIES];
};

struct lg_cpu_arch
{
    /* The GDT entries copied into lguest_ro_state when running. */
    struct desc_struct gdt[GDT_ENTRIES];

    /* The IDT entries: some copied into lguest_ro_state when running. */
    struct desc_struct idt[IDT_ENTRIES];

    /* The address of the last guest-visible pagefault (ie. cr2). */
    unsigned long last_pagefault;
};

static inline void lguest_set_ts(void)
{
    u32 cr0;

    cr0 = read_cr0();
    if (!(cr0 & 8))
        write_cr0(cr0|8);
}

/* Full 4G segment descriptors, suitable for CS and DS. */
#define FULL_EXEC_SEGMENT ((struct desc_struct){0x0000ffff, 0x00cf9b00})
#define FULL_SEGMENT ((struct desc_struct){0x0000ffff, 0x00cf9300})

#endif /* __ASSEMBLY__ */

#endif

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0094 ]--