shell bypass 403
UnknownSec Shell
:
/
usr
/
lib
/
python3
/
dist-packages
/
redis
/
commands
/
graph
/
__pycache__
/ [
drwxr-xr-x
]
upload
mass deface
mass delete
console
info server
name :
path.cpython-312.pyc
� ���b� � �0 � d dl mZ d dlmZ G d� d� Zy)� )�Edge)�Nodec �j � e Zd Zd� Zed� � Zd� Zd� Zd� Zd� Z d� Z d� Zd � Zd � Z d� Zd� Zd � Zd� Zy)�Pathc � � t |t � rt |t � st d� �|| _ || _ t | _ y )Nznodes and edges must be list)� isinstance�list� TypeError�_nodes�_edgesr �append_type)�self�nodes�edgess �;/usr/lib/python3/dist-packages/redis/commands/graph/path.py�__init__z Path.__init__ s7 � ��5�$�'�J�u�d�,C��:�;�;���������� c � � | g g � S �N� )�clss r �new_empty_pathzPath.new_empty_path s � ��2�r�{�r c � � | j S r �r �r s r r z Path.nodes � � ��{�{�r c � � | j S r �r r s r r z Path.edges r r c � � | j | S r r �r �indexs r �get_nodez Path.get_node � � ��{�{�5�!�!r c � � | j | S r r r s r �get_relationshipzPath.get_relationship r# r c � � | j d S )N� r r s r � first_nodezPath.first_node s � ��{�{�1�~�r c � � | j d S )N���r r s r � last_nodezPath.last_node! s � ��{�{�2��r c �, � t | j � S r )�lenr r s r � edge_countzPath.edge_count$ � � ��4�;�;��r c �, � t | j � S r )r- r r s r �nodes_countzPath.nodes_count'