!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/usr/lib/python3/dist-packages/twisted/internet/iocpreactor/iocpsupport/   drwxr-xr-x
Free 13.53 GB of 61.93 GB (21.85%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     winsock_pointers.c (1.59 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* Copyright (c) 2008 Twisted Matrix Laboratories.
 * See LICENSE for details.
 */


#include <winsock2.h>
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>

#include "winsock_pointers.h"

#ifndef WSAID_CONNECTEX
#define WSAID_CONNECTEX {0x25a207b9,0xddf3,0x4660,{0x8e,0xe9,0x76,0xe5,0x8c,0x74,0x06,0x3e}}
#endif
#ifndef WSAID_GETACCEPTEXSOCKADDRS
#define WSAID_GETACCEPTEXSOCKADDRS {0xb5367df2,0xcbac,0x11cf,{0x95,0xca,0x00,0x80,0x5f,0x48,0xa1,0x92}}
#endif
#ifndef WSAID_ACCEPTEX
#define WSAID_ACCEPTEX {0xb5367df1,0xcbac,0x11cf,{0x95,0xca,0x00,0x80,0x5f,0x48,0xa1,0x92}}
#endif
/*#ifndef WSAID_TRANSMITFILE
#define WSAID_TRANSMITFILE {0xb5367df0,0xcbac,0x11cf,{0x95,0xca,0x00,0x80,0x5f,0x48,0xa1,0x92}}
#endif*/


int initPointer(SOCKET s, void **fun, GUID guid) {
    int res;
    DWORD bytes;

    *fun = NULL;
    res = WSAIoctl(s, SIO_GET_EXTENSION_FUNCTION_POINTER,
                   &guid, sizeof(guid),
                   fun, sizeof(fun),
                   &bytes, NULL, NULL);
    return !res;
}

int initWinsockPointers() {
    SOCKET s = socket(AF_INET, SOCK_STREAM, 0);
    /* I hate C */
    GUID guid1 = WSAID_ACCEPTEX;
    GUID guid2 = WSAID_GETACCEPTEXSOCKADDRS;
    GUID guid3 = WSAID_CONNECTEX;
    /*GUID guid4 = WSAID_TRANSMITFILE;*/
    if (!s) {
        return 0;
    }
    if (!initPointer(s, (void **)&lpAcceptEx, guid1))
    {
        return 0;
    }
    if (!initPointer(s, (void **)&lpGetAcceptExSockaddrs, guid2)) {
        return 0;
    }
    if (!initPointer(s, (void **)&lpConnectEx, guid3)) {
        return 0;
    };
    /*initPointer(s, &lpTransmitFile, guid4);*/
    return 1;
}


:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.4781 ]--