403Webshell
Server IP : 127.0.0.1  /  Your IP : 216.73.216.109
Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10
System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64
User : SERVERWEB ( 0)
PHP Version : 8.1.10
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : OFF |  Perl : OFF |  Python : OFF |  Sudo : OFF |  Pkexec : OFF
Directory :  C:/cygwin64/usr/src/debug/cygwin-3.5.1-1/winsup/cygwin/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : C:/cygwin64/usr/src/debug/cygwin-3.5.1-1/winsup/cygwin/glob_pattern_p.cc
/* glob_pattern_p.c

   int glob_pattern_p (__const char *__pattern, int __quote)

   Return nonzero if PATTERN contains any metacharacters.
   Metacharacters can be quoted with backslashes if QUOTE is nonzero.

   This function is not part of the interface specified by POSIX.2
   but several programs want to use it.  */

#include <string.h>

extern "C" {

int glob_pattern_p (const char *pattern, int quote)
{
  const char *quote_chars = "\\?*[]";
  if (!quote)
    quote_chars++;
  while ((pattern = strpbrk (pattern, quote_chars)) != NULL)
    if (*pattern == '\\')
      pattern++;
    else
      return true;
  return false;
}

} /* extern "C" */

Youez - 2016 - github.com/yon3zu
LinuXploit