RPC_STATUS RPC_ENTRY RpcMgmtInqIfIds( RPC_BINDING_HANDLE Binding, RPC_IF_ID_VECTOR** IfIdVector ); RPC_STATUS RPC_ENTRY RpcIfIdVectorFree( RPC_IF_ID_VECTOR** IfIdVec );
Getting back to DAV RPC SERVICE with davclntrpc DavrCreateConnection 0x01 DavrDoesServerDoDav 0x02 DavrIsValidShare 0x03 DavrEnumNetUses 0x04 DavrEnumShares 0x05 DavrEnumServers 0x06 DavrGetConnection 0x07 DavrDeleteConnection 0x08 DavrGetUser 0x09 DavrConnectionExist 0x0a DavrWinlogonLogonEvent 0x0b DavrWinlogonLogoffEvent 0x0c DavrGetDiskSpaceUsage 0x0d DavrFreeUsedDiskSpace 0x0e DavrGetTheLockOwnerOfTheFile
use Strict; use Win32::Registry; my ( $main , $subkey , $createkey ); print "[*] Setting RPC Endpoint Security Parameters!\n"; print STDOUT "[*] Setting Endpoints to Restrict Remote Clients.\n"; $subkey = "SOFTWARE\\Policies\\Microsoft\\Windows NT\\RPC"; $main::HKEY_LOCAL_MACHINE->open($subkey,$createkey) || die "[~] Registry Cannot Be Opened $!\n"; $createkey->SetValue("RestrictRemoteCleints",REG_DWORD,"1") || die "[~] SubKey Cannot Be Created $!\n"; print "[*] The Script Executed Successfully!\n";
use Strict; use Win32::Registry; my ( $main , $subkey , $createkey ); print "[*] Setting RPC Endpoint Security Parameters!\n"; print STDOUT "[*] Setting Endpoints to use NTLM for Authentication.\n"; $subkey = "SOFTWARE\\Policies\\Microsoft\\Windows NT\\RPC"; $main::HKEY_LOCAL_MACHINE->open($subkey,$createkey) || die "[~] Registry Cannot Be Opened $!\n"; $createkey->SetValue("EnableAuthEpResolution",REG_DWORD,"1") || die "[~] SubKey Cannot Be Created $!\n"; print "[*] The Script Executed Successfully!\n";
/* client/server */ RPCRTAPI RPC_STATUS RPC_ENTRY RpcIfInqId ( IN RPC_IF_HANDLE RpcIfHandle, OUT RPC_IF_ID __RPC_FAR * RpcIfId ); /* client/server */ #ifdef RPC_UNICODE_SUPPORTED RPCRTAPI RPC_STATUS RPC_ENTRY RpcNetworkIsProtseqValidA ( IN unsigned char __RPC_FAR * Protseq ); RPCRTAPI RPC_STATUS RPC_ENTRY RpcNetworkIsProtseqValidW ( IN unsigned short __RPC_FAR * Protseq ); #ifdef UNICODE #define RpcNetworkIsProtseqValid RpcNetworkIsProtseqValidW #else /* UNICODE */ #define RpcNetworkIsProtseqValid RpcNetworkIsProtseqValidA #endif /* UNICODE */ #else /* RPC_UNICODE_SUPPORTED */ RPCRTAPI RPC_STATUS RPC_ENTRY RpcNetworkIsProtseqValid ( IN unsigned char __RPC_FAR * Protseq ); #endif /* RPC_UNICODE_SUPPORTED */ /* server */ #ifdef RPC_UNICODE_SUPPORTED RPCRTAPI RPC_STATUS RPC_ENTRY RpcNetworkInqProtseqsA ( OUT RPC_PROTSEQ_VECTORA __RPC_FAR * __RPC_FAR * ProtseqVector ); RPCRTAPI RPC_STATUS RPC_ENTRY RpcNetworkInqProtseqsW ( OUT RPC_PROTSEQ_VECTORW __RPC_FAR * __RPC_FAR * ProtseqVector ); #ifdef UNICODE #define RpcNetworkInqProtseqs RpcNetworkInqProtseqsW #else /* UNICODE */ #define RpcNetworkInqProtseqs RpcNetworkInqProtseqsA #endif /* UNICODE */ #else /* RPC_UNICODE_SUPPORTED */ RPCRTAPI RPC_STATUS RPC_ENTRY RpcNetworkInqProtseqs ( OUT RPC_PROTSEQ_VECTOR __RPC_FAR * __RPC_FAR * ProtseqVector ); #endif /* RPC_UNICODE_SUPPORTED */
There are 31,322 total registered users.
[+] expand