403Webshell
Server IP : 118.27.122.248  /  Your IP : 216.73.217.37
Web Server : Apache
System : Linux web0264.sh.tyo1 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
User : c9415830 ( 11735)
PHP Version : 8.4.17
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/alt/python36/lib64/python3.6/Tools/scripts/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/alt/python36/lib64/python3.6/Tools/scripts/__pycache__/rgrep.cpython-36.pyc
3

x2_��@s@dZddlZddlZddlZdd�Zd	dd�Zedkr<e�dS)
z.Reverse grep.

Usage: rgrep [-i] pattern file
�NcCs�d
}d}tjtjdd�d�\}}x"|D]\}}|dkr(|tjB}q(Wt|�dkrZtd�t|�dkrntd	�|\}}ytj||�}Wn0tjk
r�}	ztd
|	�WYdd}	~	XnXyt	|�}
Wn4t
k
r�}	ztd||	fd�WYdd}	~	XnX|
jdd�|
j�}d}x�|dk�r�t
||�}
||
}|
j|�|
j|
�}|jd�}~|dk�rl|d�s||d=n|d||d<|dk�r�|d}|d=nd}x&t|�D]}|j|��r�t|��q�W�qWdS)N�@ir��iz-i�znot enough argumentsz"exactly one file argument requiredzerror in regular expression: %szcan't open %r: %s�
i���rrr)�getopt�sys�argv�re�
IGNORECASE�len�usage�compile�error�open�IOError�seek�tell�min�read�split�reversed�search�print)�bufsizeZreflagsZopts�args�o�a�pattern�filename�prog�msg�f�posZleftover�size�buffer�lines�line�r)�8/opt/alt/python36/lib64/python3.6/Tools/scripts/rgrep.py�main
sP$






r+rcCs&tjt_t|�tt�tj|�dS)N)r	�stderr�stdoutr�__doc__�exit)r"�coder)r)r*r:sr�__main__)r)r.r	rrr+r�__name__r)r)r)r*�<module>s-


Youez - 2016 - github.com/yon3zu
LinuXploit