⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.155
Server IP:
57.129.66.90
Server:
Linux vps-7f548908 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
LiteSpeed
PHP Version:
8.2.27
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
local
/
CyberCP
/
bin
/
__pycache__
/
View File Name :
jp.cpython-310.pyc
o m��g� � @ s\ d dl Z d dlZd dlZd dlmZ d dlZd dlmZ dd� Zedkr,e � e� � dS dS )� N)�pformat)� exceptionsc C s� t �� } | �d� | jdddd� | jdddd � | �� }|j}|jr:t�|j�}tj � t|j�� tj � d � dS |j rYt|j d�� }t�|�}W d � n1 sSw Y n tj�� }t�|�}ztj � tjt�||�d dd�� tj � d � W d S tjy� } ztj� d| � W Y d }~dS d }~w tjy� } ztj� d| � W Y d }~dS d }~w tjy� } ztj� d| � W Y d }~dS d }~w tjy� } ztj� d| � W Y d }~dS d }~ww )N� expressionz-fz --filenamezaThe filename containing the input data. If a filename is not given then data is read from stdin.)�helpz--ast� store_truez-Pretty print the AST, do not search the data.)�actionr � r �r� F)�indent�ensure_asciizinvalid-arity: %s � zinvalid-type: %s zunknown-function: %s zsyntax-error: %s )�argparse�ArgumentParser�add_argument� parse_argsr �ast�jmespath�compile�sys�stdout�writer �parsed�filename�open�json�load�stdin�read�loads�dumps�searchr � ArityError�stderr�JMESPathTypeError�UnknownFunctionError� ParseError)�parser�argsr �f�data�e� r, �B/usr/local/CyberCP/lib/python3.10/site-packages/../../../bin/jp.py�main sX ���� ������r. �__main__) r r r �pprintr r r r. �__name__�exitr, r, r, r- �<module> s )�