403Webshell
Server IP : 118.27.122.248  /  Your IP : 216.73.216.238
Web Server : Apache
System : Linux web0264.sh.tyo1 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
User : c9415830 ( 11735)
PHP Version : 8.4.17
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/alt/python36/lib64/python3.6/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/alt/python36/lib64/python3.6/test/__pycache__/test_macurl2path.cpython-36.pyc
3

�w2_/�@s6ddlZddlZGdd�dej�Zedkr2ej�dS)�Nc@seZdZdd�Zdd�ZdS)�MacUrl2PathTestCasecCs�|jdtjd��|jdtjd��|jdtjd��|jdtjd��|jd	tjd
��|jttjd�|jdtjd��|jttjd
�|jdtjd��|jdtjd��|jdtjd��dS)Nz:index.htmlz
index.htmlz:bar:index.htmlzbar/index.htmlzfoo:bar:index.htmlz/foo/bar/index.htmlzfoo:barz	/foo/bar/��/zhttp://foo.comz
///index.htmlz//index.htmlz./index.htmlzfoo/../index.htmlz::index.htmlz
../index.html)�assertEqual�macurl2pathZurl2pathname�assertRaises�RuntimeError)�self�r
�:/opt/alt/python36/lib64/python3.6/test/test_macurl2path.py�test_url2pathnamesz%MacUrl2PathTestCase.test_url2pathnamecCs�|jdtjd��|jdtjd��|jdtjd��|jdtjd��|jd	tjd	��|jd	tjd
��|jdtjd��|jd
tjd��|jttjd�|jdtjd��dS)NZdrivezdrive:z	drive/dirz
drive:dir:zdrive/dir/filezdrive:dir:filez
drive/filez
drive:file�filez:file�dirz:dir:zdir/filez	:dir:filerzdir/../filez	dir::file)rrZpathname2urlrr)r	r
r
r�test_pathname2urlsz%MacUrl2PathTestCase.test_pathname2urlN)�__name__�
__module__�__qualname__rrr
r
r
rrs
r�__main__)rZunittestZTestCaserr�mainr
r
r
r�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit