IP : 3.137.41.133 Hostname : host45.registrar-servers.com Kernel : Linux host45.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64 Disable Function : None :) OS : Linux PATH: / home/ ../ lib64/ lua/ ../ cifs-utils/ ./ ./ ../ security/ ../ python2.7/ Demo/ scripts/ ./ eqfix.pyo/ /

�
Afc@s�ddlZddlZddlZddlTddlZejjZeZej jZ
d�Z ej d�Z
d�Zd�Zd�ZddlmZid d
6d d 6d d 6d
d6dd6dd6dd6dd6Zd�Zedkr�e �ndS(i����N(t*cCs�d}tjds<tdtjdd�tjd�nx}tjdD]n}tjj|�rzt|�r�d}q�qJtjj|�r�t|d�d}qJt |�rJd}qJqJWtj|�dS(Niisusage: s file-or-directory ...
is": will not process symbolic links
(
tsystargvterrtexittostpathtisdirt recursedowntislinktfix(tbadtarg((s*/usr/lib64/python2.7/Demo/scripts/eqfix.pytmain)s
  
s^[a-zA-Z0-9_]+\.py$cCstj|�dkS(Ni(t ispythonprogtmatch(tname((s*/usr/lib64/python2.7/Demo/scripts/eqfix.pytispython9scCs1td|f�d}ytj|�}Wn+tjk
rW}td||f�dSX|j�g}x�|D]�}|tjtjfkr�qontjj ||�}tjj
|�r�qotjj |�r�|j |�qot
|�rot|�rd}qqoqoWx#|D]}t|�rd}qqW|S(Nsrecursedown(%r)
is%s: cannot list directory: %r
i(tdbgRtlistdirterrorRtsorttcurdirtpardirRtjoinR RtappendRR
R(tdirnameR tnamestmsgtsubdirsRtfullname((s*/usr/lib64/python2.7/Demo/scripts/eqfix.pyR<s0

  

c
Cs�yt|d�}Wn(tk
r=}td||f�dSXtjj|�\}}tjj|d|�}d}d}x|j�}|s�Pn|d}|dkr�d|kr�t|d�|j �dS|dkrf|dkrf|d d krft
j|d�} | rft j d
| d�dkrf|d | d}|d }t|�|j �dSnx>|d
dkr�|j�}
|
s�Pn||
}|d}qiWt
|�} | |krm|dkr:yt|d�}Wn2tk
r}|j �td||f�dSX|jd�d}t|d�q~ntt|�d�td|�td| �n|dk r~|j| �q~q~W|j �|s�dSy+tj|�} tj|| td@�Wn*tjk
r�}td||f�nXytj||d�Wn*tjk
r=}td||f�nXytj||�Wn+tjk
r}td||f�dSXdS(Ntrs%s: cannot open: %r
it@iss!: contains null bytes; not fixed
is#!s [pP]ythons: s script; not fixed
i����s\
tws%s: cannot create: %r
s:
s
s< s> i�s%s: warning: chmod failed (%r)
t~s %s: warning: backup failed (%r)
s%s: rename failed (%r)
(topentIOErrorRRRtsplitRtNonetreadlinetclosetstringtretsearchtfixlinetseektreptreprtwritetstattchmodtST_MODERtrename(
tfilenametfRtheadttailttempnametgtlinenotlinetwordstnextlinetnewlinetstatbuf((s*/usr/lib64/python2.7/Demo/scripts/eqfix.pyR
Rs� 

("


 
   

 
(t tokenprogt:tifteliftwhiles
treturnt)t(t]t[t}t{t`cCs?d|kr|Sdt|�}}g}x||kr:tj||�}|dkrcdGH|G|Stjd\}}|||!}||}|r�||dkr�|d=q,tj|�r�|jt|�q,|dkr|r|| d||}|td�t|�}}q,|dkr,| r,dGH|Gq,q,W|S(Nt=is(Syntax error:)ii����s==s(Warning: '==' at top level:)(tlenRARtregsthas_keyR(R<titntstacktjtatbttoken((s*/usr/lib64/python2.7/Demo/scripts/eqfix.pyR,�s0  


  t__main__(RR*RR1R)tstderrR0RRtstdoutR.R
tcompileRRRR
ttokenizeRARR,t__name__(((s*/usr/lib64/python2.7/Demo/scripts/eqfix.pyt<module>s$   
       R