Your IP : 3.138.134.163
U
hfU � @ s� d dl Z d dlZd dlZd dlZdd� ZG dd� dej�ZG dd� d�Zedkr�d dl Z d dl
Z
G d d
� d
e
j�Ze� Z
e jdd� D ]Ze
�e� q�dZes�ze
�� d
ZW q� ek
r� e �� d j\ZZede � Y q�X q�dS )� Nc C s t j�| � t j�d� d S )N�
)�sys�stderr�write)�arg� r �Z/opt/hc_python/lib64/python3.8/site-packages/../../../share/doc/pycurl/examples/linksys.py�print_stderr% s r c @ s e Zd Zdd� ZdS )�LinksysErrorc G s
|| _ d S �N)�args)�selfr r r r �__init__* s zLinksysError.__init__N)�__name__�
__module__�__qualname__r r r r r r
) s r
c @ s` e Zd ZdZdZdZdZdZdZdZ dd d
ddd
�Z
dd� Zdd� Zdd� Z
dd� Zdd� Zdd� Zdd� Zdd� Zdd� Zd d!� Zd"d#� Zd$d%� Zd&d'� Zd(d)� Zd*d+� Zd,d-� Zd.d/� Zd0d1� Zd2d3� Zd4d5� Zd6d7� Zd8d9� Z d:d;� Z!d<d=� Z"d>d?� Z#d@dA� Z$dBdC� Z%dDdE� Z&dFdG� Z'dHdI� Z(dJdK� Z)dLdM� Z*dNdO� Z+dPdQ� Z,dRdS� Z-dTdU� Z.dVdW� Z/dXS )Y�LinksysSessionz/Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec�1�2�3�4�5�6zbasic setup functionszFor security reasons,z-You can configure the router to act as a DHCPz3There are some log settings and lists in this page.z5Port forwarding can be used to set up public services)� �
Passwd.htmz DHCP.htmlzLog.htmlzForward.htmc C s g | _ d| _d| _i | _d S )Nzhttp://192.168.1.1F)�actions�host� verbosity� pagecache�r
r r r r A s zLinksysSession.__init__c C s
|| _ d S r )r �r
�flagr r r �
set_verbosityG s zLinksysSession.set_verbosityc C s� || j kr�t�| j�}|�| j� |�|� |�� | j |<