!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.23.4. PHP/5.6.40-65+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux foro-restaurado-2 5.15.0-1040-oracle #46-Ubuntu SMP Fri Jul 14 21:47:21 UTC 2023
aarch64
 

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

Safe-mode: OFF (not secure)

/usr/src/linux-oracle-5.13-headers-5.13.0-1018/include/linux/   drwxr-xr-x
Free 83.28 GB of 96.73 GB (86.1%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     cookie.h (1.22 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __LINUX_COOKIE_H
#define __LINUX_COOKIE_H

#include <linux/atomic.h>
#include <linux/percpu.h>
#include <asm/local.h>

struct pcpu_gen_cookie {
    local_t nesting;
    u64 last;
} __aligned(16);

struct gen_cookie {
    struct pcpu_gen_cookie __percpu *local;
    atomic64_t forward_last ____cacheline_aligned_in_smp;
    atomic64_t reverse_last;
};

#define COOKIE_LOCAL_BATCH    4096

#define DEFINE_COOKIE(name)                        \
    static DEFINE_PER_CPU(struct pcpu_gen_cookie, __##name);    \
    static struct gen_cookie name = {                \
        .local        = &__##name,                \
        .forward_last    = ATOMIC64_INIT(0),            \
        .reverse_last    = ATOMIC64_INIT(0),            \
    }

static __always_inline u64 gen_cookie_next(struct gen_cookie *gc)
{
    struct pcpu_gen_cookie *local = this_cpu_ptr(gc->local);
    u64 val;

    if (likely(local_inc_return(&local->nesting) == 1)) {
        val = local->last;
        if (__is_defined(CONFIG_SMP) &&
            unlikely((val & (COOKIE_LOCAL_BATCH - 1)) == 0)) {
            s64 next = atomic64_add_return(COOKIE_LOCAL_BATCH,
                               &gc->forward_last);
            val = next - COOKIE_LOCAL_BATCH;
        }
        local->last = ++val;
    } else {
        val = atomic64_dec_return(&gc->reverse_last);
    }
    local_dec(&local->nesting);
    return val;
}

#endif /* __LINUX_COOKIE_H */

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by HackingTool | HackingTool | Generation time: 0.0044 ]--