shell bypass 403

UnknownSec Shell

: /home/.cpan/build/DBD-mysql-5.013-0/ [ drwxr-xr-x ]
Uname: Linux dedi-15171674.espacofacial.com.br 5.14.0-687.36.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 7 05:40:49 EDT 2026 x86_64
Software: Apache
PHP version: 8.2.33 [ PHP INFO ] PHP os: Linux
Server Ip: 172.67.154.186
Your Ip: 216.73.216.57
User: espa7358 (1004) | Group: espa7358 (1003)
Safe Mode: OFF
Disable Function:
NONE

name : socket.c
#ifdef _WIN32
#include "windows.h"
#include "winsock.h"
#endif

#ifndef _WIN32
#include <poll.h>
#include <errno.h>
#endif

#include <mysql.h>

/*
 * Warning: Native socket code must be outside of dbdimp.c and dbdimp.h because
 *          perl header files redefine socket function. This file must not
 *          include any perl header files!
 */

int mysql_socket_ready(my_socket fd)
{
  int retval;

#ifdef _WIN32
  /* Windows does not have poll(), so use select() instead */
  struct timeval timeout;
  fd_set fds;

  FD_ZERO(&fds);
  FD_SET(fd, &fds);

  timeout.tv_sec = 0;
  timeout.tv_usec = 0;

  retval = select(fd+1, &fds, NULL, NULL, &timeout);
#else
  struct pollfd fds;

  fds.fd = fd;
  fds.events = POLLIN;

  retval = poll(&fds, 1, 0);
#endif

  if (retval < 0) {
#ifdef _WIN32
    /* Windows does not update errno */
    return -WSAGetLastError();
#else
    return -errno;
#endif
  }

  return retval;
}
© 2026 UnknownSec