Software: Apache. PHP/5.4.45 

uname -a: Linux webm056.cluster010.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue
Sep 17 08:14:20 UTC 2024 x86_64
 

uid=243112(mycochar) gid=100(users) groups=100(users)  

Safe-mode: OFF (not secure)

/home/mycochar/www/image/photo/gcc-12.3.0/gcc/testsuite/gcc.target/i386/   drwxr-xr-x
Free 0 B of 0 B (0%)
Your ip: 216.73.216.77 - Server ip: 213.186.33.19
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    

[Enumerate]    [Encoder]    [Tools]    [Proc.]    [FTP Brute]    [Sec.]    [SQL]    [PHP-Code]    [Backdoor Host]    [Back-Connection]    [milw0rm it!]    [PHP-Proxy]    [Self remove]
    


Viewing file:     pr46939.c (1.77 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* { dg-do compile } */
/* { dg-options "-O2" } */

__extension__ typedef __SIZE_TYPE__ size_t;

int
php_filter_parse_int (char const *str, unsigned int str_len, long *ret)
{
  long ctx_value;
  int sign;
  int digit;
  char const *end;
  int tmp;
  char const *tmp___0;
  char const *tmp___1;

  sign = 0;
  digit = 0;
  end = str + str_len;
  switch ((int) *str)
    {
    case 45:
      sign = 1;
    case 43:
      str++;
    default:;
      break;
    }
  if ((size_t) str < (size_t) end)
    {
      if ((int const) *str >= 49)
    {
      if ((int const) *str <= 57)
        {
          if (sign)
        {
          tmp = -1;
        }
          else
        {
          tmp = 1;
        }
          tmp___0 = str;
          str++;
          ctx_value = (long) (tmp * (int) ((int const) *tmp___0 - 48));
        }
      else
        {
          return (-1);
        }
    }
      else
    {
      return (-1);
    }
    }
  else
    {
      return (-1);
    }
  if (end - str > 19)
    {
      return (-1);
    }
  while ((size_t) str < (size_t) end)
    {
      if ((int const) *str >= 48)
    {
      if ((int const) *str <= 57)
        {
          tmp___1 = str;
          str++;
          digit = (int) ((int const) *tmp___1 - 48);
          if (!sign)
        {
          if (ctx_value <=
              (9223372036854775807L - (long) digit) / 10L)
            {
              ctx_value = ctx_value * 10L + (long) digit;
            }
          else
            {
              goto _L;
            }
        }
          else
        {
        _L:
          if (sign)
            {
              if (ctx_value >=
              ((-0x7FFFFFFFFFFFFFFF - 1) + (long) digit) / 10L)
            {
              ctx_value = ctx_value * 10L - (long) digit;
            }
              else
            {
              return (-1);
            }
            }
          else
            {
              return (-1);
            }
        }
        }
      else
        {
          return (-1);
        }
    }
      else
    {
      return (-1);
    }
    }
  *ret = ctx_value;
  return (1);
}

/* { dg-final { scan-assembler-not "idiv" } } */

Enter:
 
Select:
 

Useful Commands
 
Warning. Kernel may be alerted using higher levels
Kernel Info:

Php Safe-Mode Bypass (Read Files)

File:

eg: /etc/passwd

Php Safe-Mode Bypass (List Directories):

Dir:

eg: /etc/

Search
  - regexp 

Upload
 
[ ok ]

Make Dir
 
[ ok ]
Make File
 
[ ok ]

Go Dir
 
Go File
 

--[ x2300 Locus7Shell v. 1.0a beta Modded by #!physx^ | www.LOCUS7S.com | Generation time: 0.0056 ]--