GIF89a=( �' 7IAXKgNgYvYx\%wh&h}t�h%�s%x�}9�R��&�0%� (�.��5�SD��&�a)�x5��;ͣ*ȡ&ղ)ׯ7׵<ѻ4�3�H֧KͯT��Y�aq��q��F� !� ' !� NETSCAPE2.0 , =( ��pH,�Ȥr�l:xШtJ�Z�جv��z��xL.:��z�n���|N�����~�������& !�0`9R�}��"�"a:S�~x��������g���E�������R���E����B�� ��ȸ��D���"�Ů� �H��L��D٫D�B�����D���T���H �G��A R�ڐ |�� ٭&��E8�S�kG�A�px�a��� R2XB��E8I���6X�:vT)�~��q�賥��"F~%x� � 4#Z�0O|-4Bs�X:= Q� Sal��yXJ`GȦ|s h��K3l7�B|�$'7Jީܪ0!��D�n=�P� ����0`�R�lj����v>���5 �.69�ϸd�����nlv�9��f{���Pbx �l5}�p� ��� �3a���I�O����!ܾ���i��9��#��)p�a ޽ �{�)vm��%D~ 6f��s}Œ�D�W E�`!� �&L8x� �ܝ{)x`X/>�}m��R�*|`D�=�_ ^�5 !_&'a�O�7�c��`DCx`�¥�9�Y�F���`?��"� �n@`�} lď��@4>�d S �v�xN��"@~d��=�g�s~G��� ���ud &p8Q�)ƫlXD����A~H�ySun�j���k*D�LH�] ��C"J��Xb~ʪwSt}6K,��q�S:9ت:���l�@�`�� �.۬�t9�S�[:��=`9N����{¿�A !R�:���6��x�0�_ �;������^���#����!����U���;0L1�����p% A��U̬ݵ��%�S��!���~`�G���� ���=4�np�3���������u�u�ٮ|%2�I��r�#0��J``8�@S@5� ���^`8E�]�.�S���7 � �0�j S�D� z���i�S�����!���l��w9*�D�I�nEX��� &A�Go�Qf��F��;���}�J����F5��Q|���X��T��y���]� o ��C=��:���PB@ D׽S�(>�C�x}`��xJЬ�۠��p+eE0`�}`A �/NE�� �9@��� H�7�!%B0`�l*��!8 2�%� �:�1�0E��ux%nP1�!�C)�P81l�ɸF#Ƭ{����B0>�� �b�`��O3��()yRpb��E.ZD8�H@% �Rx+%���c� ���f��b�d�`F�"8�XH"��-�|1�6iI, 2�$+](A*j� QT�o0.�U�`�R�}`�SN����yae�����b��o~ S)�y�@��3 �tT�0�&�+~L�f"�-|�~��>!�v��~�\Q1)}@�}h#aP72�"�$ !� " , =( &7IAXG]KgNgYvYxR"k\%w]'}h}t�h%�g+�s%r.m3ax3�x�}9��&��+�!7�0%� (�.�SD��&��;�"&ײ)׻4��6�K� �@pH,�Ȥr�l:xШtJ�Z�جv��z��xL.:��z�n���|N�����~�������& !�0`9R�}��"�"a:S�~x��������g �� E �� �������E �´��C���ǶR��D��"Ʒ�ʱH��M��GڬD�B����D��T����G���C�C� l&�~:'�tU�6ɹ#��)�'�.6�&��Ȼ K(8p0N�?!�2"��NIJX>R��OM '��2�*x�>#n� �@<[:�I�f ��T���Cdb��[�}E�5MBo��@�`@��tW-3 �x�B���jI�&E�9[T&$��ﯧ&"s��ȳ����dc�UUρ#���ldj?����`\}���u|3'�R]�6 �S#�!�FKL�*N E���`$�:e�YD�q�.�촁�s \-�jA 9�����-��M[�x(�s��x�|���p��}k�T�DpE@W� ��]k`1� ���Yb ��0l��*n0��"~zBd�~u�7�0Bl��0-�x~|U�U0 �h�*HS�|��e"#"?vp�i`e6^�+q��`m8 #V�� ��VS|`��"m"сSn|@:U���~`pb�G�ED����2F�I�? >�x� R� ��%~jx��<�a�9ij�2�D��&: Z`�]w���:�6��B�7eFJ|�ҧ�,���FǮcS�ʶ+B�,�ܺN���>PAD�HD��~���n��}�#�� Q��S���2�X�{�k�lQ�2�����w�|2� h9��G�,m���3��6-��E�L��I�³*K���q�`DwV�QXS��peS��� qܧTS����R�u �<�a�*At�lmE� � ��N[P1�ۦ��$��@`��Dpy�yXvCAy�B`}D� 0QwG#� �a[^�� $���Ǧ{L�"[��K�g�;�S~��GX.�goT.��ư��x���?1z��x~:�g�|�L� ��S`��0S]P�^p F<""�?!,�!N4&P� ����:T�@h�9%t��:�-~�I<`�9p I&.)^ 40D#p@�j4�ج:�01��rܼF2oW�#Z ;$Q q  �K��Nl#29 !F@�Bh�ᏬL!XF�LHKh�.�hE&J�G��<"WN!�����Y@� >R~19J"�2,/ &.GXB%�R�9B6�W]���W�I�$��9�RE8Y� ��"�A5�Q.axB�&ة�J�! �t)K%tS-�JF b�NMxL��)�R��"���6O!TH�H� 0 !� ) , =( &AXKgNgYvYxR"k\%wh&h}h%�g+�s%r.x3�x�}9��&��+�R,�!7�0%� (�.��5��&�a)��;�"&ף*Ȳ)ׯ7׻4�3��6�H֧KͻH�T��Y��q��h� ��pH,�Ȥr�l:xШtJ�Z�جv��z��xL.:��z�n���|N�����~�������& !�0`9R�}��"�"a:S�~x��������g �� E$����� � ����$E$��"��D� � ������R��C��� E ��H�M��G�D� �B��ϾD��a��`1r��Ӑ�� �o~�zU!L�C'�yW�UGt����ll�0���uG�)A�s[��x� �xO%��X2�  P�n:R/��aHae+�Dm?# ǣ6�8�J�x�Di�M���j���5oQ7�- <! *�l��R2r/a!l)d� A"�E���� &� ;��c �%����b��pe~C"B���H�eF2��`8qb�t_`ur`e� w�u3��Pv�h""�`�Íx�LĹ��3� �~ֺ�:���MDfJ� �۵�W�%�S�X �؁)�@��:E��w�u�Sxb8y\m�zS��Zb�E�L��w!y(>�"w�=�|��s�d �C�W)H�cC$�L �7r.�\{)@�`@ �X�$PD `aaG:���O�72E�amn]�"Rc�x�R� &dR8`g��i�xLR!�P &d����T���i�|�_ � Qi�#�`g:��:noM� :V �)p����W&a=�e�k� j���1߲s�x�W�jal|0��B0�, \j۴:6���C ��W��|��9���zĸV {�;��n��V�m�I��.��PN� ����C��+��By�ѾHŸ:��� 7�Y�FTk�SaoaY$D�S���29R�kt� ��f� ��:��Sp�3�I��DZ� �9���g��u�*3)O��[_hv ,���Et x�BH� �[��64M@�S�M7d�l�ܶ5-��U܍��z�R3Ԭ3~ ��P��5�g: ���kN�&0�j4���#{��3S�2�K�'ợl���2K{� {۶?~m𸧠�I�nE�='����^���_�=��~�#O���'���o..�Y�n��CSO��a��K��o,���b�����{�C�� "�{�K ��w��Ozdը�:$ ���v�] A#� ���a�z)Rx׿ƥ�d``�w-�y�f�K!����|��P��=�`�(f��'Pa ��BJa%��f�%`�}F����6>��`G"�}�=�!o`�^FP�ةQ�C���`(�}\�ݮ ��$<��n@dĠE#��U�I�!� #l��9`k���'Rr��Z�NB�MF �[�+9���-�wj���8�r� ,V�h"�|�S=�G_��"E� 0i*%̲��da0mVk�):;&6p>�jK ��# �D�:�c?:R Ӭf��I-�"�<�="��7�3S��c2RW ,�8(T"P0F¡Jh�" ; 403WebShell
403Webshell
Server IP : 81.88.48.95  /  Your IP : 10.2.217.94, 216.73.216.227
Web Server : Apache
System : Linux opus13 3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u3 x86_64
User : nobody ( 99)
PHP Version : 5.3.3-7+squeeze3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/lib/python2.6/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.6/platform.pyc
Mc@s
dZdZdZddkZddkZddkZddkZeidZei	ddddZ
d	Zeid
ZeidZ
eidZd]ZdZdZeideiZeideiZeideiZdddedd Zddded!Zd"d^d#YZd$dd%Zdd&Zeid'Zdddd_d,Zdd-Zddddd.Zdd/Z d0Z!d1Z"d2Z#dd`dd3Z$d4Z%dddadbd5Z&d6Z'd7Z(dd8Z)e*ei+d9p.ei+i,ei+i-ei.ei+i/d:Z0n
ei+i1Z0d;Z2dd<Z3dd=Z4hdcd(6ddd)6ded*6Z5eidAi6Z7ei	dddBZ8da9dCZ:dDZ;dEZ<dFZ=dGZ>dHZ?dIZ@eidJZAeidKZBeidLZChZDddMZEdNZFdOZGdPZHdQZIdRZJdSZKdTZLdUZMhZNdVdVdWZOePdXjo]dYeiQjp
dZeiQjZRd[eiQjo
d\eiQjZSeOeSeRGHeiTdVndS(fs8 This module tries to retrieve as much platform-identifying data as
    possible. It makes this information available via function APIs.

    If called from the command line, it prints the platform
    information concatenated as single string to stdout. The output
    format is useable as part of a filename.

s
    Copyright (c) 1999-2000, Marc-Andre Lemburg; mailto:mal@lemburg.com
    Copyright (c) 2000-2010, eGenix.com Software GmbH; mailto:info@egenix.com

    Permission to use, copy, modify, and distribute this software and its
    documentation for any purpose and without fee or royalty is hereby granted,
    provided that the above copyright notice appear in all copies and that
    both that copyright notice and this permission notice appear in
    supporting documentation or portions thereof, including modifications,
    that you make.

    EGENIX.COM SOFTWARE GMBH DISCLAIMS ALL WARRANTIES WITH REGARD TO
    THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
    FITNESS, IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL,
    INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
    FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
    NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
    WITH THE USE OR PERFORMANCE OF THIS SOFTWARE !

s1.0.6iNsC(__libc_init)|(GLIBC_([0-9.]+))|(libc(_\w+)?\.so(?:\.(\d[0-9.]*))?)ticCsttidotii|}nt|d}|i|}d}x,ti||}|p(|i|}|pPnd}qPn|i\}}	}
}}}
|o|o
d}n|	o8|djod}|
}qm|
|jo
|
}qmng|o_|djoNd}|
|jo
|
}n|o&|t	||jo||}qiqmn|i
}qP|i||fS(s Tries to determine the libc version that the file executable
        (which defaults to the Python interpreter) is linked against.

        Returns a tuple of strings (lib,version) which default to the
        given parameters in case the lookup fails.

        Note that the function has intimate knowledge of how different
        libc versions add symbols to the executable and thus is probably
        only useable for executables compiled using gcc.

        The file is read and scanned in chunks of chunksize bytes.

    trealpathtrbitlibctglibc(thasattrtostpathRtopentreadt_libc_searchtsearchtgroupstlentendtclose(t
executabletlibtversiont	chunksizetftbinarytpostmtlibcinitRtglibcversiontsotthreadst	soversion((s/usr/lib/python2.6/platform.pytlibc_ver}s@







c
Cstiidotdi}d}x|D]}ti|}t|djo|\}}nq2|djoti|}q2|djo ti|d}|d}q2q2W|||fStiidootdi}xZ|D]N}ti|d}	t|	djo#|	dd	jod	|	d
|fSqWntii	doti
d}
xDtt|
d
ddD]&}|
|d
 djo|
|=qqW|
o,|
id}|
dd
}|||fSn|||fS(s Tries some special tricks to get the distribution
        information in case the default method fails.

        Currently supports older SuSE Linux, Caldera OpenLinux and
        Slackware Linux distributions.

    s/var/adm/inst-log/infotSuSEitMIN_DIST_VERSIONt
DIST_IDENTt-s/etc/.installedit	OpenLinuxis/usr/lib/setupiisslack-version-t	slackware(
RRtexistsRt	readlineststringtsplitR
tstriptisdirtlistdirtrangetsort(tdistnameRtidtinfotlinettvttagtvaluetvaluestpkgtverfilestn((s/usr/lib/python2.6/platform.pyt_dist_try_hardersD	

$
s(\w+)[-_](release|version)s'(.+) release ([\d.]+)[^(]*(?:\((.+)\))?s1([^0-9]+)(?: release )?([\d.]+)[^(]*(?:\((.+)\))?RtdebiantfedoratredhattcentostmandraketmandrivatrocksR#t	yellowdogtgentootUnitedLinuxt
turbolinuxcCsd}d}ti|}|dj	ot|iSti|}|dj	ot|iStiti|}|o/|d}t	|djo|d}qnd||fS(NRii(
t_lsb_release_versiontmatchtNonettupleRt_release_versionR&R'R(R
(t	firstlineRR.Rtl((s/usr/lib/python2.6/platform.pyt_parse_release_files


cCsxdd fdd!d	d"dd#dd$dd%dd&dd'dd(D]4\}}t|}||jo||fGHqUqUWdS()NsSuSE Linux 9.3 (x86-64)sSuSE Linux s9.3sx86-64sSUSE LINUX 10.1 (X86-64)sSUSE LINUX s10.1sX86-64sSUSE LINUX 10.1 (i586)ti586s Fedora Core release 5 (Bordeaux)sFedora Coret5tBordeauxs"Red Hat Linux release 8.0 (Psyche)s
Red Hat Linuxs8.0tPsyches Red Hat Linux release 9 (Shrike)t9tShrikes+Red Hat Enterprise Linux release 4 (Nahant)sRed Hat Enterprise Linuxt4tNahantsCentOS release 4tCentOSsRocks release 4.2.1 (Cydonia)tRockss4.2.1tCydonia(sSuSE Linux s9.3sx86-64(sSUSE LINUX s10.1sX86-64(sSUSE LINUX s10.1RL(sFedora CoreRMRN(s
Red Hat Linuxs8.0RO(s
Red Hat LinuxRPRQ(sRed Hat Enterprise LinuxRRRS(RTRRN(RUs4.2.1RV(RFRK(tinputtoutputtparsed((s/usr/lib/python2.6/platform.pyt_test_parse_release_files								

s(?:DISTRIB_ID\s*=)\s*(.*)s(?:DISTRIB_RELEASE\s*=)\s*(.*)s(?:DISTRIB_CODENAME\s*=)\s*(.*)icCsytdd}x|D]}ti|}|o|idi}nti|}|o|idi}	nti|}|o|idi}
qqW|o|	o||	|
fSWnttfj
onXyt	i
d}Wn t	ij
o|||fSX|ixh|D]P}t
i|}|dj	o.|i\}
}|
|jo|
}Pqq0q0Wt|||Std|d}|i}|it|\}
}}|
o|o
|
}n|o
|}n|o
|}n|||fS(s Tries to determine the name of the Linux OS distribution name.

        The function first looks for a distribution release file in
        /etc and then reverts to _dist_try_harder() in case no
        suitable files are found.

        supported_dists may be given to define the set of Linux
        distributions to look for. It defaults to a list of currently
        supported Linux distributions identified by their release file
        name.

        If full_distribution_name is true (default), the full
        distribution read from the OS is returned. Otherwise the short
        name taken from supported_dists is used.

        Returns a tuple (distname,version,id) which default to the
        args given as parameters.

    s/etc/lsb-releasetrUis/etcs/etc/trN(Rt_distributor_id_file_reRtgroupR(t_release_file_ret_codename_file_retEnvironmentErrortUnboundLocalErrorRR*terrorR,t_release_filenameRERFRR8treadlineRRK(R-RR.tsupported_diststfull_distribution_namet	etclsbrelR0Rt_u_distnamet
_u_versiont_u_idtetctfilet	_distnametdummyRRIt_versiont_id((s/usr/lib/python2.6/platform.pytlinux_distribution)sT







cCst|||d|ddS(sQ Tries to determine the name of the Linux OS distribution name.

        The function first looks for a distribution release file in
        /etc and then reverts to _dist_try_harder() in case no
        suitable files are found.

        Returns a tuple (distname,version,id) which default to the
        args given as parameters.

    RfRgi(Rr(R-RR.Rf((s/usr/lib/python2.6/platform.pytdisttst_popencBsbeZdZdZdZdZdZdddZdZ	dZ
eiei
dZeZRS(s Fairly portable (alternative) popen implementation.

        This is mostly needed in case os.popen() is not available, or
        doesn't work as advertised, e.g. in Win9X GUI programs like
        PythonWin or IDLE.

        Writing to the pipe is currently not supported.

    RR\cCsv|djo
tdnddk}|i|_}ti|d|t|d|_||_||_	dS(NR\s)popen()-emulation only supports read modeis > %sR(
t
ValueErrorttempfiletmktempttmpfileRtsystemRtpipetbufsizetmode(tselftcmdR|R{RvRx((s/usr/lib/python2.6/platform.pyt__init__s

	cCs
|iiS(N(RzR	(R}((s/usr/lib/python2.6/platform.pyR	scCs"|idj	o|iiSdS(N(R{RFRzR%(R}((s/usr/lib/python2.6/platform.pyR%scCs\|io|ii}nd}|io+y||iWqX|j
oqXXn|S(Ni(RzRRx(R}tremoveRctrc((s/usr/lib/python2.6/platform.pyRs

	N(t__name__t
__module__t__doc__RxRFRzR{R|RR	R%RtunlinkRcRt__del__(((s/usr/lib/python2.6/platform.pyRts
		R\cCsd}tiidddjo3yddk}Wntj
oqUX|i}n|djohttdoNti}ti	djo1y|dWqti
j
o
t}qXqqt}n|djo|||S||||SdS(s! Portable popen() interface.
    tOSRt
Windows_NTiNtpopentwin32(RFRtenvirontgett	win32pipetImportErrorRRtsystplatformRcRt(R~R|R{RR((s/usr/lib/python2.6/platform.pyRs&

	

cCsti|d}|o|i|nytt|}Wntj
o
|}nXtt|}ti|d d}|S(s Normalize the version and build strings and return a single
        version string using the format major.minor.build (or patchlevel).
    t.i(R&R'tappendtmaptintRutstrtjoin(RtbuildRJtintststrings((s/usr/lib/python2.6/platform.pyt
_norm_versionss((?:([\w ]+) ([\w.]+) .*Version ([\d.]+))Rtwin16tdostos2c	CsFti|jo|||fSxdD]u}y9t|}|i}|iotidnWn2tij
o}q%q%tj
o}q%q%XPq%W|||fSti	|}t
i|}|dj	oc|i
\}}}|ddjo|d }n|ddjo|d }nt|}n|||fS(	s2 Tries to figure out the OS version used and returns
        a tuple (system,release,version).

        It uses the "ver" shell command for this which is known
        to exists on Windows, DOS and OS/2. XXX Others too ?

        In case this fails, the given parameters are used as
        defaults.

    tverscommand /c vers
cmd /c verscommand failediR(Rscommand /c vers
cmd /c verN(RRRR	RRRctIOErrorR&R(t_ver_outputRERFRR(	RytreleaseRtsupported_platformsR~RzR/twhyR((s/usr/lib/python2.6/platform.pyt_syscmd_vers2


c
Cs_yddkl}Wn(tj
oddk}|i}nXy|||SWn|SXdS(se Read a value for name from the registry key.

        In case this fails, default is returned.

    i(tRegQueryValueExN(twin32apiRRt_winregtQueryValueEx(tkeytnametdefaultRR((s/usr/lib/python2.6/platform.pyt_win32_getvalue&scCsNyTddk}ddkl}l}l}l}ddkl}	l}
l}l	}Wnt
j
oytiWn t
j
o||||fSXddk}
ti}|
i}|
i}|
i}|
i}	d}d}
d}d}d}nX|}|\}}}}}d|||d	@f}t|d
o%|idjod|i}q|n$|d
 djod|d
}n||jo}d}|djoO|djo
d}q|djo
d}q|djo
d}qd}q|djo
d}qn||
jo~d}|djo
d}q|djoO|djo
d}q|djo
d}q|djo
d}qd}q|d jot|d!o
|i}nr|}yU||	|}||d"\}}||jo |id#djo
|}nWntj
onX|djo!||jo
d$}qd%}q|djo!||jo
d&}qd'}qd(}qn,|pd)||f}n||||fSy ||	|}||d*Wn||||fSXt|d+d-d}t|d,|dfd}t||}||||||fS(.s Get additional version information from the Windows Registry
        and return a tuple (version,csd,ptype) referring to version
        number, CSD level and OS type (multi/single
        processor).

        As a hint: ptype returns 'Uniprocessor Free' on single
        processor NT machines and 'Multiprocessor Free' on multi
        processor machines. The 'Free' refers to the OS version being
        free of debugging code. It could also state 'Checked' which
        means the OS version uses debugging code, i.e. code that
        checks arguments, ranges, etc. (Thomas Heller).

        Note: this function works best with Mark Hammond's win32
        package installed, but also on Python 2.3 and later. It
        obviously only runs on Win32 compatible platforms.

    iN(RtRegOpenKeyExtRegCloseKeytGetVersionEx(tHKEY_LOCAL_MACHINEtVER_PLATFORM_WIN32_NTtVER_PLATFORM_WIN32_WINDOWStVER_NT_WORKSTATIONiiis%i.%i.%iitservice_packRsSP%si
s
Service Pack tSPs)SOFTWARE\Microsoft\Windows\CurrentVersioniit95i
t98iZtMetpostMeit2000s,SOFTWARE\Microsoft\Windows NT\CurrentVersiontNTtXPt
2003Servertpost2003itproduct_typetProductNametServertVistat
2008Servert7t2008ServerR2tpost2008Servers%i.%it
SystemRoottCurrentBuildNumbertCurrentType(Ri(RRRRRtwin32conRRRRRRtgetwindowsversiontAttributeErrorRRt	OpenKeyExtCloseKeyRRtservice_pack_majorRtfindtWindowsErrorRR(RRtcsdtptypeRRRRRRRRRRt
VER_NT_SERVERtREG_SZtwinvertmajtmintbuildnotplattregkeyRRRttypet	keyCurVerR((s/usr/lib/python2.6/platform.pyt	win32_ver9s"&						






















#









c	Cs}ddkl}ddk}g}|i}xK|D]C}y|||Wq2t|ifj
o||q2Xq2W|S(Ni(tgestalt(RtMacOSRtRuntimeErrortError(t	selectorsRRRRJRtselector((s/usr/lib/python2.6/platform.pyt_mac_ver_lookups	cCst|dS(Ni(thex(tbcd((s/usr/lib/python2.6/platform.pyt_bcd2strsc		Cs
yddk}ddk}Wntj
odSXtd\}}|o|d@d?}|d@d?}|d	@}||fdjo,td\}}}d|||f}qdt|||f}n|o+hdd6dd6dd
6i|d}n|t|fS(s
        Thanks to Mark R. Levinson for mailing documentation links and
        code examples for this function. Documentation for the
        gestalt() API is available online at:

           http://www.rgaros.nl/gestalt/
    iNtsysvtsysaiiiiii
tsys1tsys2tsys3s%i.%i.%is%s.%i.%it68kitPowerPCiti386R(ssysvssysa(i
i(RRR(RRRRFRRRtversioninfo(	RRRRtmajortminortpatchRtmachine((s/usr/lib/python2.6/platform.pyt_mac_ver_gestalts&	

cCsd}tii|pdSyddk}Wntj
odSX|i|}|d}d	}tid}|d
jo
d}n|||fS(Ns0/System/Library/CoreServices/SystemVersion.plistitProductVersionRitppcsPower MacintoshR(RRR(RsPower Macintosh(RRR$RFtplistlibRt	readPlisttuname(tfnRtplRRR((s/usr/lib/python2.6/platform.pyt_mac_ver_xmls


cCsCt}|dj	o|St}|dj	o|S|||fS(s; Get MacOS version information and return it as tuple (release,
        versioninfo, machine) with versioninfo being a tuple (version,
        dev_stage, non_release_version).

        Entries which cannot be determined are set to the paramter values
        which default to ''. All tuple entries are strings.
    N(RRFR(RRRR/((s/usr/lib/python2.6/platform.pytmac_ver$s	
	
cCsTddkl}y)|i|}|djo|S|SWntj
o|SXdS(Ni(tSystem(t	java.langRtgetPropertyRFR(RRRR3((s/usr/lib/python2.6/platform.pyt
_java_getprop=s
cCsyddk}Wn tj
o||||fSXtd|}td|}|\}}}td|}td|}td|}|||f}|\}}	}
td|
}
td	|}td
|	}	||	|
f}||||fS(sV Version interface for Jython.

        Returns a tuple (release,vendor,vminfo,osinfo) with vminfo being
        a tuple (vm_name,vm_release,vm_vendor) and osinfo being a
        tuple (os_name,os_version,os_arch).

        Values which cannot be determined are set to the defaults
        given as parameters (which all default to '').

    iNsjava.vendorsjava.versionsjava.vm.namesjava.vm.vendorsjava.vm.versionsjava.os.archsjava.os.namesjava.os.version(RRR(Rtvendortvminfotosinfotjavatvm_namet
vm_releaset	vm_vendortos_namet
os_versiontos_arch((s/usr/lib/python2.6/platform.pytjava_verHs"
cCs1|djod|||fS|djo|djo|||fSti|d}|oZyt|d}Wntj
oqX|d}t||d<ti|d}n|djo
d	}q$d	}nJ|d
jo%d}|o|d}q$d
}n|djo
d}n|||fS(s Returns (system,release,version) aliased to common
        marketing names used for some systems.

        It also does some reordering of the information in some cases
        where it would otherwise cause confusion.

    tRhapsodysMacOS X ServertSunOSRMRiit6tSolaristIRIX64tIRIXs (64bit)t64bitRRtWindows(swin32R(R&R'RRuRR(RyRRRJR((s/usr/lib/python2.6/platform.pytsystem_aliasks2	










cGs)tittitt|d}ti}||dd}||dd}||dd}||dd}||dd}||dd}||d	d}||d
d}||dd}x-||d
d}||joPn|}qx |ddjo|d }qW|S(sq Helper to format the platform string in a filename
        compatible format e.g. "system-version-machine".
    R!t t_t/s\t:t;t"t(t)tunknownRs--i(R&RRR(tfilterR
treplace(targsRR"tcleaned((s/usr/lib/python2.6/platform.pyt	_platforms.			
	c	CsSyddk}Wntj
o|SXy|iSWn|ij
o|SXdS(s8 Helper to determine the node name of this machine.
    iN(tsocketRtgethostnameRc(RR&((s/usr/lib/python2.6/platform.pyt_nodestabspathcCs-||p|||}n||S(N((RtisabsRtgetcwdtnormpath((s/usr/lib/python2.6/platform.pyt_abspaths
cCsat|}xNtii|o:tiitiitii|ti|}qW|S(sT In case filepath is a symlink, follow it until a
        real file is reached.
    (R-RRtislinkR,Rtdirnametreadlink(tfilepath((s/usr/lib/python2.6/platform.pyt_follow_symlinkss	2cCstidjo|Sytid|}Wnttifj
o|SXti|i}|i	}|p|o|S|SdS(s. Interface to the system's uname command.
    RRRRsuname %s 2> /dev/nullN(Rswin32swin16R(
RRRRRRcR&R(R	R(toptionRRRXR((s/usr/lib/python2.6/platform.pyt
_syscmd_unamescCstid	jo|St|idd}ytid|}Wnttifj
o|SXti	|i
}|i}|p|o|S|SdS(
s& Interface to the system's file command.

        The function uses the -b option of the file command to have it
        ommit the filename in its output and if possible the -L option
        to have the command follow symlinks. It returns default in
        case the command should fail.

    RRRRRs\"sfile "%s" 2> /dev/nullN(sdosswin32swin16sos2(RRR2R"RRRRcR&R(R	R(ttargetRRRXR((s/usr/lib/python2.6/platform.pyt_syscmd_files
t	WindowsPERtMSDOSs[\s,]c	Cs|p_ddk}y|id}Wn%|ij
o|id}nXt|dd}n|ot|d}nd}|od|tijoTtitjo9tti\}}|o
|}n|o
|}qn||fSt	|d}d	|jo||fSd
|jo
d}n/d|jo
d
}nd|jo
d}nd|jo
d}n]d|jo!d|jo
d}qd}n/d|jo
d}nd|jo
d}n||fS(s Queries the given executable (defaults to the Python interpreter
        binary) for various architecture information.

        Returns a tuple (bits,linkage) which contains information about
        the bit architecture and the linkage format used for the
        executable. Both values are returned as strings.

        Values that cannot be determined are returned as given by the
        parameter presets. If bits is given as '', the sizeof(pointer)
        (or sizeof(long) on Python version < 1.5.2) is used as
        indicator for the supported pointer size.

        The function relies on the system's "file" command to do the
        actual work. This is available on most if not all Unix
        platforms. On some non-Unix platforms where the "file" command
        does not exist and the executable is set to the Python interpreter
        binary defaults from _default_architecture are used.

    iNtPRJitbitRiRs32-bitt32bittN32tn32bits64-bitRtELFtPERR7tCOFFsMS-DOSR8(
tstructtcalcsizeRcRR6RRRt_default_architecturet_architecture_split(	RtbitstlinkageRAtsizeRXtbRJtfileout((s/usr/lib/python2.6/platform.pytarchitecture&sN

















cCsd}tdj	otSd}yti\}}}}}Wntj
o
d}nX|p td|||||fo|o(ti}d}d}t}d}nd}|djoqt	\}}}}	|o|o
d}n|pti
idd}n|pti
id|}q3n|out|\}}}|djo
d}q|d	jo8|djo+d}d
|d jo
d}qd}qn|d jo2|p!|djo
d}qd}nd}qz|d djoBt
\}}
}}d}ti|d}|p
|
}qvqztidjo%t\}\}}
}}d}qzn|djo|p
|djo|}d}nyddk}Wntj
oqX|idd\}}|djo
d}qd}n|ptdd}n|djo
d}n|djo
d}n|djo
d}n|djo
d}n|djo
d}n|djo
d}n|d	jo|djod}d}n||||||fatS(!si Fairly portable uname interface. Returns a tuple
        of strings (system,node,release,version,machine,processor)
        identifying the underlying platform.

        Note that unlike the os.uname function this also returns
        possible processor information as an additional tuple entry.

        Entries which cannot be determined are set to ''.

    iRiRtPROCESSOR_ARCHITECTUREtPROCESSOR_IDENTIFIERsMicrosoft WindowsRt	Microsofts6.0iRRR;t16bitiRtJavas, tmacRtOpenVMSt0iNsSYI$_CPUitAlphatVAXs-pR (swin32swin16(t_uname_cacheRFRRRR!RRR(RRRRRR&RRRtvms_libRtgetsyiR4(tno_os_unamet	processorRytnodeRRRtuse_syscmd_verRRRRRtstagetnonrelRVtcsidt
cpu_number((s/usr/lib/python2.6/platform.pyRs

'		




























cCstdS(s Returns the system/OS name, e.g. 'Linux', 'Windows' or 'Java'.

        An empty string is returned if the value cannot be determined.

    i(R(((s/usr/lib/python2.6/platform.pyRyscCstdS(s Returns the computer's network name (which may not be fully
        qualified)

        An empty string is returned if the value cannot be determined.

    i(R(((s/usr/lib/python2.6/platform.pyRZscCstdS(s Returns the system's release, e.g. '2.2.0' or 'NT'

        An empty string is returned if the value cannot be determined.

    i(R(((s/usr/lib/python2.6/platform.pyRscCstdS(s Returns the system's release version, e.g. '#3 on degas'

        An empty string is returned if the value cannot be determined.

    i(R(((s/usr/lib/python2.6/platform.pyR$scCstdS(st Returns the machine type, e.g. 'i386'

        An empty string is returned if the value cannot be determined.

    i(R(((s/usr/lib/python2.6/platform.pyR-scCstdS(s Returns the (true) processor name, e.g. 'amdk6'

        An empty string is returned if the value cannot be
        determined. Note that many platforms do not provide this
        information or simply return the same value as for machine(),
        e.g.  NetBSD does this.

    i(R(((s/usr/lib/python2.6/platform.pyRY6s
sB([\w.+]+)\s*\(#?([^,]+),\s*([\w ]+),\s*([\w :]+)\)\s*\[([^\]]+)\]?s	([\d\.]+)s;IronPython\s*([\d\.]+)(?: \(([\d\.]+)\))? on (.NET [\d\.]+)c
	CsH|djo
ti}nti|d}|dj	o|S|d djomd}ti|}|djotdt|n|i	\}}}d}d}d}	d}
nti
d djopd}ti|}|djotdt|n|i	\}d}d}ti
}d}	d}
nti|}|djotd	t|n|i	\}}	}
}}t
td
oti\}}}nd}d}d}|
d|}
ti|d
}t|djo#|idti|d
}n|||||	|
|f}|t|<|S(s Returns a parsed version of Python's sys.version as tuple
        (name, version, branch, revision, buildno, builddate, compiler)
        referring to the Python implementation name, version, branch,
        revision, build number, build date/time as string and the compiler
        identification string.

        Note that unlike the Python sys.version, the returned value
        for the Python version will always include the patchlevel (it
        defaults to '.0').

        The function returns empty strings for tuple entries that
        cannot be determined.

        sys_version may be given to parse an alternative version
        string, e.g. if the version was read from a different Python
        interpreter.

    i
t
IronPythons*failed to parse IronPython sys.version: %sRiRtJythons&failed to parse Jython sys.version: %ss'failed to parse CPython sys.version: %st
subversiontCPythonRRiRRN(RFRRt_sys_version_cacheRt_ironpython_sys_version_parserRERutreprRRt_jython_sys_version_parsert_sys_version_parserRRbR&R'R
RR(
tsys_versiontresultRRERtalt_versiontcompilertbranchtrevisionRt	builddatet	buildtimeRJ((s/usr/lib/python2.6/platform.pyt_sys_versionTsb





	



c
CshtixWddfddfddffD]4\}}t|}||jo||fGHq,q,WdS(NsC2.4.3 (#1, Jun 21 2006, 13:54:21) 
[GCC 3.3.4 (pre 3.3.5 20040809)]Rcs2.4.3Rt1sJun 21 2006 13:54:21sGCC 3.3.4 (pre 3.3.5 20040809)s)IronPython 1.0.60816 on .NET 2.0.50727.42R`s	1.0.60816s.NET 2.0.50727.42s4IronPython 1.0 (1.0.61005.1977) on .NET 2.0.50727.42s1.0.0(sCPythons2.4.3RRRrsJun 21 2006 13:54:21sGCC 3.3.4 (pre 3.3.5 20040809)(s
IronPythons	1.0.60816RRRRs.NET 2.0.50727.42(s
IronPythons1.0.0RRRRs.NET 2.0.50727.42(RdtclearRq(RWRXRY((s/usr/lib/python2.6/platform.pyt_test_sys_versions


cCstdS(s Returns a string identifying the Python implementation.

        Currently, the following implementations are identified:
        'CPython' (C implementation of Python),
        'IronPython' (.NET implementation of Python),
        'Jython' (Java implementation of Python).

    i(Rq(((s/usr/lib/python2.6/platform.pytpython_implementations
cCstdS(s Returns the Python version as string 'major.minor.patchlevel'

        Note that unlike the Python sys.version, the returned value
        will always include the patchlevel (it defaults to 0).

    i(Rq(((s/usr/lib/python2.6/platform.pytpython_versionscCsttitddS(s Returns the Python version as tuple (major, minor, patchlevel)
        of strings.

        Note that unlike the Python sys.version, the returned value
        will always include the patchlevel (it defaults to 0).

    iR(RGR&R'Rq(((s/usr/lib/python2.6/platform.pytpython_version_tuples	cCstdS(s Returns a string identifying the Python implementation
        branch.

        For CPython this is the Subversion branch from which the
        Python binary was built.

        If not available, an empty string is returned.

    i(Rq(((s/usr/lib/python2.6/platform.pyt
python_branchscCstdS(s Returns a string identifying the Python implementation
        revision.

        For CPython this is the Subversion revision from which the
        Python binary was built.

        If not available, an empty string is returned.

    i(Rq(((s/usr/lib/python2.6/platform.pytpython_revisionscCstdd!S(sh Returns a tuple (buildno, builddate) stating the Python
        build number and date as strings.

    ii(Rq(((s/usr/lib/python2.6/platform.pytpython_buildscCstdS(sS Returns a string identifying the compiler used for compiling
        Python.

    i(Rq(((s/usr/lib/python2.6/platform.pytpython_compilersic	Csuti||fd}|dj	o|St\}}}}}}||jo
d}n|ot|||\}}}n|djoKt|\}	}
}}|ot||}
qat||||}
n|d	jotd\}}}|o-|o%t||||d|||}
qatt	i
\}}t||||d||}
n|djoet\}}}\}}}|p|ot|||}
qat|||d|||}
n|djo0|ot||}
qat|||}
nK|ot||}
n1tt	i
\}}t||||||}
|
t||f<|
S(
s Returns a single string identifying the underlying platform
        with as much useful information as possible (but no more :).

        The output is intended to be human readable rather than
        machine parseable. It may look different on different
        platforms and this is intended.

        If "aliased" is true, the function will use aliases for
        various platforms that report system names which differ from
        their common names, e.g. SunOS will be reported as
        Solaris. The system_alias() function is used to implement
        this.

        Setting terse to true causes the function to return only the
        absolute minimum information needed to identify the platform.

    RRtLinuxtwithROtonRN(R|(
t_platform_cacheRRFRRRR%RsRRRRRJ(taliasedtterseRjRyRZRRRRYtreltversRRRR-tdistversiontdistidtlibcnametlibcversionR\tvRRRR
RERF((s/usr/lib/python2.6/platform.pyRsP






t__main__Rs--terset
nonaliaseds--nonaliased(
sSuSER9R:R;R<R=R>R?s	slackwareR@RARBRC((swin32swin16sdossos2(RRR(RRR(RRR(Rs	WindowsPE(RsWindows(RsMSDOS(URt
__copyright__t__version__RR&RtretcompileR
RRR8RdRDRHt_supported_distsRKRZtIR]R_R`RrRsRtRFRRRRRRRRRRRRRRR%R(RRR*RR+R,R-R)R2R4R6RCR'RDRJRURRyRZRRRRYRhRgReRdRqRtRuRvRwRxRyRzR{RRRtargvRRtexit(((s/usr/lib/python2.6/platform.pyt<module>
se03	2			H	6!	2
		(		#	6	$	
W				
										X			
			
		
R


Youez - 2016 - github.com/yon3zu
LinuXploit