403Webshell
Server IP : 3.138.164.131  /  Your IP : 216.73.216.136
Web Server : Apache
System : Linux ns1.techtime.me 4.18.0-147.8.1.el8.lve.1.x86_64 #1 SMP Mon Jun 29 09:55:57 EDT 2020 x86_64
User : injazaat ( 1471)
PHP Version : 8.1.20
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/thread-self/root/lib64/python2.7/Tools/scripts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/thread-self/root/lib64/python2.7/Tools/scripts/finddiv.pyo
�
L��dc@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>Qt(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