!C99Shell v. 1.0 pre-release build #13!

Software: Apache/2.0.54 (Unix) mod_perl/1.99_09 Perl/v5.8.0 mod_ssl/2.0.54 OpenSSL/0.9.7l DAV/2 FrontPage/5.0.2.2635 PHP/4.4.0 mod_gzip/2.0.26.1a 

uname -a: Linux snow.he.net 4.4.276-v2-mono-1 #1 SMP Wed Jul 21 11:21:17 PDT 2021 i686 

uid=99(nobody) gid=98(nobody) groups=98(nobody) 

Safe-mode: OFF (not secure)

/usr/src/linux-2.4.18-xfs-1.1/arch/arm/tools/   drwxr-xr-x
Free 318.33 GB of 458.09 GB (69.49%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     getconstants.c (1.91 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*
 *  linux/arch/arm/tools/getconsdata.c
 *
 *  Copyright (C) 1995-2001 Russell King
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */
#include <linux/config.h>
#include <linux/sched.h>
#include <linux/mm.h>

#include <asm/pgtable.h>
#include <asm/uaccess.h>

/*
 * Make sure that the compiler and target are compatible.
 */
#if defined(__APCS_32__) && defined(CONFIG_CPU_26)
#error Your compiler targets APCS-32 but this kernel requires APCS-26
#endif
#if defined(__APCS_26__) && defined(CONFIG_CPU_32)
#error Your compiler targets APCS-26 but this kernel requires APCS-32
#endif

#define OFF_TSK(n) (unsigned long)&(((struct task_struct *)0)->n)

#define DEFN(name,off) asm("\n#define "name" %0" :: "I" (off))

void func(void)
{
DEFN("TSK_SIGPENDING",        OFF_TSK(sigpending));
DEFN("TSK_ADDR_LIMIT",        OFF_TSK(addr_limit));
DEFN("TSK_NEED_RESCHED",    OFF_TSK(need_resched));
DEFN("TSK_PTRACE",        OFF_TSK(ptrace));
DEFN("TSK_USED_MATH",        OFF_TSK(used_math));

DEFN("TSS_SAVE",        OFF_TSK(thread.save));
DEFN("TSS_FPESAVE",        OFF_TSK(thread.fpstate.soft.save));

#ifdef CONFIG_CPU_32
DEFN("TSS_DOMAIN",        OFF_TSK(thread.domain));

DEFN("HPTE_TYPE_SMALL",        PTE_TYPE_SMALL);
DEFN("HPTE_AP_READ",        PTE_AP_READ);
DEFN("HPTE_AP_WRITE",        PTE_AP_WRITE);

DEFN("LPTE_PRESENT",        L_PTE_PRESENT);
DEFN("LPTE_YOUNG",        L_PTE_YOUNG);
DEFN("LPTE_BUFFERABLE",        L_PTE_BUFFERABLE);
DEFN("LPTE_CACHEABLE",        L_PTE_CACHEABLE);
DEFN("LPTE_USER",        L_PTE_USER);
DEFN("LPTE_WRITE",        L_PTE_WRITE);
DEFN("LPTE_EXEC",        L_PTE_EXEC);
DEFN("LPTE_DIRTY",        L_PTE_DIRTY);
#endif

#ifdef CONFIG_CPU_26
DEFN("PAGE_PRESENT",        _PAGE_PRESENT);
DEFN("PAGE_READONLY",        _PAGE_READONLY);
DEFN("PAGE_NOT_USER",        _PAGE_NOT_USER);
DEFN("PAGE_OLD",        _PAGE_OLD);
DEFN("PAGE_CLEAN",        _PAGE_CLEAN);
#endif

DEFN("PAGE_SZ",            PAGE_SIZE);

DEFN("SYS_ERROR0",        0x9f0000);
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0274 ]--