403Webshell
Server IP : 182.53.201.61  /  Your IP : 216.73.217.175
Web Server : Apache/2.2.15 (Fedora)
System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/system-config-network/netconfpkg/conf/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/system-config-network/netconfpkg/conf/ConfESStaticRoutes.pyo
Ńň
:ŽJc@s6dZddklZlZdefd„ƒYZdS(s%/etc/sysconfig/static-routes handlingi(tConftWrongMethodtConfESStaticRoutescBsqeZdZd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d	„Zd
„Zd„Z
RS(s`Yet another dictionary, this one for /etc/sysconfig/static-routes
    This file has a syntax similar to that of /etc/gateways;
    the interface name is added and active/passive is deleted:
    <interface> net <netaddr> netmask <netmask> gw <gateway>
    The key is the interface, the value is a list of
    [<netaddr>, <netmask>, <gateway>] lists
    cCsti|ddddƒdS(Ns/etc/sysconfig/static-routest#s	 t (Rt__init__(tself((sF/usr/share/system-config-network/netconfpkg/conf/ConfESStaticRoutes.pyR
scCsti|ƒ|iƒdS(N(Rtreadtinitvars(R((sF/usr/share/system-config-network/netconfpkg/conf/ConfESStaticRoutes.pyRs
cCsTh|_|iƒx0|iƒo"|iƒ}t|ƒdjou|ii|dƒp-|d|d|dgg|i|d<q7|i|di|d|d|dgƒnt|ƒdjom|ii|dƒp)|d|ddgg|i|d<q7|i|di|d|ddgƒn|iƒqW|iƒdS(Niiiiiit(tvarstrewindtfindnextcodelinet	getfieldstlenthas_keytappendtnextline(Rtvar((sF/usr/share/system-config-network/netconfpkg/conf/ConfESStaticRoutes.pyRs	

-1)-cCs*|ii|ƒo|i|SggSdS(N(R
R(Rtvarname((sF/usr/share/system-config-network/netconfpkg/conf/ConfESStaticRoutes.pyt__getitem__$scCs
td‚dS(NsDelete or call addroute instead(R(RRtvalue((sF/usr/share/system-config-network/netconfpkg/conf/ConfESStaticRoutes.pyt__setitem__)scCs|i|=dS(N(R
(RR((sF/usr/share/system-config-network/netconfpkg/conf/ConfESStaticRoutes.pyt__delitem__+scCsš|ii|ƒo˘xŸtt|i|ƒƒD]€}|t|i|ƒjo`t|i|||ƒoDg|i|||d+t|i|ƒdjo|i|=q­q-q-WndS(Nii(R
RtrangeRtcmp(Rtdevicetrouteti((sF/usr/share/system-config-network/netconfpkg/conf/ConfESStaticRoutes.pytdelroute/s	cCsO|i||ƒ|ii|ƒo|i|i|ƒn|g|i|<dS(N(RR
RR(RRR((sF/usr/share/system-config-network/netconfpkg/conf/ConfESStaticRoutes.pytaddroute@scCsÔ|iƒg|_x­|iiƒD]œ}x“|i|D]„}t|ƒdjokt|dƒo2|i|d|dd|dd|dfƒqť|i|d|dd|dfƒq7q7Wq#Wti|ƒdS(Niitnetitnetmaskitgw(RtlinesR
tkeysRtinsertlinelistRtwrite(RRR((sF/usr/share/system-config-network/netconfpkg/conf/ConfESStaticRoutes.pyR%Gs
	
cCs
|iiƒS(N(R
R#(R((sF/usr/share/system-config-network/netconfpkg/conf/ConfESStaticRoutes.pyR#VscCs|ii|ƒS(N(R
R(Rtkey((sF/usr/share/system-config-network/netconfpkg/conf/ConfESStaticRoutes.pyRYs(t__name__t
__module__t__doc__RRRRRRRRR%R#R(((sF/usr/share/system-config-network/netconfpkg/conf/ConfESStaticRoutes.pyRs										N(R)RRR(((sF/usr/share/system-config-network/netconfpkg/conf/ConfESStaticRoutes.pyt<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit