__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
�

F�ri�'���dZddlZddlZddlmZddlmZgd�ZiZdZ	gd�Z
d�Zdd	�Zd
�Z
d�ZGd�d
�Zdd�Zeefd�Zd�Zd�Zedk(re�yy)z�Utilities for comparing files and directories.

Classes:
    dircmp

Functions:
    cmp(f1, f2, shallow=True) -> int
    cmpfiles(a, b, common) -> ([], [], [])
    clear_cache()

�N)�filterfalse)�GenericAlias)�clear_cache�cmp�dircmp�cmpfiles�DEFAULT_IGNORESi )�RCS�CVS�tagsz.gitz.hgz.bzr�_darcs�__pycache__c�,�tj�y)zClear the filecmp cache.N)�_cache�clear���/usr/lib/python3.12/filecmp.pyrrs��
�L�L�Nrc��ttj|��}ttj|��}|dtjk7s|dtjk7ry|r||k(ry|d|dk7rytj||||f�}|�5t
||�}tt�dkDr
t�|t||||f<|S)aMCompare two files.

    Arguments:

    f1 -- First file name

    f2 -- Second file name

    shallow -- treat files as identical if their stat signatures (type, size,
               mtime) are identical. Otherwise, files are considered different
               if their sizes or contents differ.  [default: True]

    Return value:

    True if the files are the same, False otherwise.

    This function uses a cache for past comparisons and the results,
    with cache entries invalidated if their stat information
    changes.  The cache may be cleared by calling clear_cache().

    rFT��d)	�_sig�os�stat�S_IFREGr�get�_do_cmp�lenr)�f1�f2�shallow�s1�s2�outcomes      rrrs���.
�b�g�g�b�k�	�B�	
�b�g�g�b�k�	�B�	�!�u������1����� 5���2��8��	�!�u��1��~���j�j�"�b�"�b�)�*�G����"�b�/���v�;����M�!(��r�2�r�2�~���Nrc�n�tj|j�|j|jfS�N)r�S_IFMT�st_mode�st_size�st_mtime)�sts rrrFs*���K�K��
�
�#��J�J��K�K��rc�"�t}t|d�5}t|d�5}	|j|�}|j|�}||k7r	ddd�ddd�y|s	ddd�ddd�y�N#1swYnxYwddd�y#1swYyxYw)N�rbTF)�BUFSIZE�open�read)rr �bufsize�fp1�fp2�b1�b2s       rrrKs����G�	
�b�$���3��R����#�����'�"�B����'�"�B��R�x�����������������s4�
B�*A0�
B�A0�B�/A0�0A9	�5B�Bc��eZdZdZdd�Zd�Zd�Zd�Zd�Zd�Z	d	�Z
d
�Zd�Zd�Z
ee	eeeeeeeeeee�
�Zd�Zee�Zy)ra�A class that manages the comparison of 2 directories.

    dircmp(a, b, ignore=None, hide=None)
      A and B are directories.
      IGNORE is a list of names to ignore,
        defaults to DEFAULT_IGNORES.
      HIDE is a list of names to hide,
        defaults to [os.curdir, os.pardir].

    High level usage:
      x = dircmp(dir1, dir2)
      x.report() -> prints a report on the differences between dir1 and dir2
       or
      x.report_partial_closure() -> prints report on differences between dir1
            and dir2, and reports on common immediate subdirectories.
      x.report_full_closure() -> like report_partial_closure,
            but fully recursive.

    Attributes:
     left_list, right_list: The files in dir1 and dir2,
        filtered by hide and ignore.
     common: a list of names in both dir1 and dir2.
     left_only, right_only: names only in dir1, dir2.
     common_dirs: subdirectories in both dir1 and dir2.
     common_files: files in both dir1 and dir2.
     common_funny: names in both dir1 and dir2 where the type differs between
        dir1 and dir2, or the name is not stat-able.
     same_files: list of identical files.
     diff_files: list of filenames which differ.
     funny_files: list of files which could not be compared.
     subdirs: a dictionary of dircmp instances (or MyDirCmp instances if this
       object is of type MyDirCmp, a subclass of dircmp), keyed by names
       in common_dirs.
     Nc��||_||_|�&tjtjg|_n||_|�t|_y||_yr&)�left�rightr�curdir�pardir�hider	�ignore)�self�a�br=r<s     r�__init__zdircmp.__init__|sC����	���
��<����B�I�I�.�D�I��D�I��>�)�D�K� �D�Krc��ttj|j�|j|j
z�|_ttj|j�|j|j
z�|_|jj�|jj�yr&)
�_filterr�listdirr8r<r=�	left_listr9�
right_list�sort�r>s r�phase0z
dircmp.phase0�sx�� ����D�I�I�!6�!%���4�;�;�!6�8���!�"�*�*�T�Z�Z�"8�"&�)�)�D�K�K�"7�9��������������rc	��ttttjj
|j�|j��}ttttjj
|j�|j��}tt|jt|j|���|_tt|jt|j|���|_tt|jt|j|���|_yr&)�dict�zip�mapr�path�normcaserErF�list�__getitem__�filter�__contains__�commonr�	left_only�
right_only)r>r?r@s   r�phase1z
dircmp.phase1�s�����S����)�)�4�>�>�:�D�N�N�K�L����S����)�)�4�?�?�;�T�_�_�M�N���3�q�}�}�f�Q�^�^�Q�.G�H�I����c�!�-�-��Q�^�^�Q�1O�P�Q����s�1�=�=�+�a�n�n�a�2P�Q�R��rc��g|_g|_g|_|jD�]�}tj
j
|j|�}tj
j
|j|�}d}	t	j|�}	t	j|�}|r�tjj�}tjj�}||k7r|jj|���tj|�r|jj|���tj|�r|jj|���K|jj|���h|jj|����y#t$rd}Y��%wxYw#t$rd}Y��!wxYw)NTF)�common_dirs�common_files�common_funnyrTrrN�joinr8r9r�OSErrorr'r(�append�S_ISDIR�S_ISREG)	r>�x�a_path�b_path�ok�a_stat�b_stat�a_type�b_types	         r�phase2z
dircmp.phase2�s^��������������	,�A��W�W�\�\�$�)�)�Q�/�F��W�W�\�\�$�*�*�a�0�F��B�
�������
�������
����V�^�^�4�����V�^�^�4���V�#��%�%�,�,�Q�/��\�\�&�)��$�$�+�+�A�.��\�\�&�)��%�%�,�,�Q�/��%�%�,�,�Q�/��!�!�(�(��+�9	,���
���
��
�
���
�s$�=F)�F;�)F8�7F8�;G
�	G
c��t|j|j|j�}|\|_|_|_yr&)rr8r9rZ�
same_files�
diff_files�funny_files)r>�xxs  r�phase3z
dircmp.phase3�s1��
�d�i�i����T�->�->�
?��=?�:�����$�*:rc�F�i|_|jD]�}tjj	|j
|�}tjj	|j|�}|j|||j|j�|j|<��yr&)
�subdirsrYrrNr\r8r9�	__class__r=r<)r>ra�a_x�b_xs    r�phase4z
dircmp.phase4�sv��
����!�!�	P�A��'�'�,�,�t�y�y�!�,�C��'�'�,�,�t�z�z�1�-�C�#�~�~�c�3����T�Y�Y�O�D�L�L��O�	Prc��|j�|jj�D]}|j��yr&)rurq�values�phase4_closure�r>�sds  rrxzdircmp.phase4_closure�s3�����
��,�,�%�%�'�	 �B�����	 rc��td|j|j�|jr<|jj	�td|jd|j�|j
r<|j
j	�td|jd|j
�|jr0|jj	�td|j�|jr0|jj	�td|j�|jr0|jj	�td|j�|jr0|jj	�td|j�|jr1|jj	�td|j�yy)	N�diffzOnly in�:zIdentical files :zDiffering files :zTrouble with common files :zCommon subdirectories :zCommon funny cases :)�printr8r9rUrGrVrkrlrmrYr[rHs r�reportz
dircmp.report�sE��
�f�d�i�i����,��>�>��N�N���!��)�T�Y�Y��T�^�^�<��?�?��O�O� � �"��)�T�Z�Z��d�o�o�>��?�?��O�O� � �"��%�t���7��?�?��O�O� � �"��%�t���7�������!�!�#��/��1A�1A�B�������!�!�#��+�T�-=�-=�>�������"�"�$��(�$�*;�*;�<�rc��|j�|jj�D]}t�|j��yr&)rrqrwr~rys  r�report_partial_closurezdircmp.report_partial_closure�s5�����
��,�,�%�%�'�	�B��G��I�I�K�	rc��|j�|jj�D]}t�|j	��yr&)rrqrwr~�report_full_closurerys  rr�zdircmp.report_full_closure�s8�����
��,�,�%�%�'�	%�B��G��"�"�$�	%r)rqrkrlrmrYrZr[rTrUrVrErFc�v�||jvrt|��|j||�t||�Sr&)�	methodmap�AttributeError�getattr)r>�attrs  r�__getattr__zdircmp.__getattr__�s9���t�~�~�%� ��&�&�����t��T�"��t�T�"�"r)NN)�__name__�
__module__�__qualname__�__doc__rArIrWrirorurxrr�r�rKr�r��classmethodr�__class_getitem__rrrrrXsx��!	�F
!��S�!,�F@�	P� �
=�2�%��V� &�6�v�!'�f�6�"�f��%�&�	:�I�#�$�L�1�rrc���gggf}|D]a}tjj||�}tjj||�}|t|||�j	|��c|S)a]Compare common files in two directories.

    a, b -- directory names
    common -- list of file names found in both directories
    shallow -- if true, do comparison based solely on stat() information

    Returns a tuple of three lists:
      files that compare equal
      files that are different
      filenames that aren't regular files.

    )rrNr\�_cmpr^)r?r@rTr!�resra�ax�bxs        rrrsi���r�2�,�C�
�-��
�W�W�\�\�!�Q�
��
�W�W�\�\�!�Q�
���D��R��!�"�)�)�!�,�-��Jrc�D�	|||||��S#t$rYywxYw)N�)r])r?r@�sh�absrs     rr�r�s/����s�1�a��}�%�%�%������s��	�c�@�tt|j|��Sr&)rPrrS)�flist�skips  rrCrC&s����D�-�-�u�5�6�6rc��ddl}ddl}|j|jddd�\}}t|�dk7r|j	dd��t|d|d�}d|vr|j
�y|j�y)Nrr�rr�zneed exactly two args)z-r�)�sys�getopt�argvr�GetoptErrorrr�r)r�r��options�args�dds     r�demor�,sv�����M�M�#�(�(�1�2�,��4�M�G�T�
�4�y�A�~�� � �!8�$�?�?�	��Q���a��	!�B��W��
��� �
�	�	�r�__main__)T)r�rr�	itertoolsr�typesr�__all__rr.r	rrrrrrr�r�rCr�r�rrr�<module>r�s���
�
��!��
I��	��
��J���&�P�
	�g2�g2�T�6���7�
��z���F�r

Filemanager

Name Type Size Permission Actions
__future__.cpython-312.pyc File 4.59 KB 0644
__hello__.cpython-312.pyc File 870 B 0644
_aix_support.cpython-312.pyc File 4.65 KB 0644
_collections_abc.cpython-312.pyc File 44.84 KB 0644
_compat_pickle.cpython-312.pyc File 7.05 KB 0644
_compression.cpython-312.pyc File 7.32 KB 0644
_distutils_system_mod.cpython-312.pyc File 7.63 KB 0644
_markupbase.cpython-312.pyc File 11.99 KB 0644
_osx_support.cpython-312.pyc File 17.32 KB 0644
_py_abc.cpython-312.pyc File 6.89 KB 0644
_pydatetime.cpython-312.pyc File 91.99 KB 0644
_pydecimal.cpython-312.pyc File 222.47 KB 0644
_pyio.cpython-312.pyc File 107.68 KB 0644
_pylong.cpython-312.pyc File 9.75 KB 0644
_sitebuiltins.cpython-312.pyc File 4.65 KB 0644
_strptime.cpython-312.pyc File 23.55 KB 0644
_sysconfigdata__linux_x86_64-linux-gnu.cpython-312.pyc File 57.28 KB 0644
_sysconfigdata__x86_64-linux-gnu.cpython-312.pyc File 57.27 KB 0644
_threading_local.cpython-312.pyc File 8.1 KB 0644
_weakrefset.cpython-312.pyc File 11.48 KB 0644
abc.cpython-312.pyc File 7.87 KB 0644
aifc.cpython-312.pyc File 41.86 KB 0644
antigravity.cpython-312.pyc File 1003 B 0644
argparse.cpython-312.pyc File 99.3 KB 0644
ast.cpython-312.pyc File 97.93 KB 0644
base64.cpython-312.pyc File 23.84 KB 0644
bdb.cpython-312.pyc File 36.48 KB 0644
bisect.cpython-312.pyc File 3.56 KB 0644
bz2.cpython-312.pyc File 14.78 KB 0644
cProfile.cpython-312.pyc File 8.39 KB 0644
calendar.cpython-312.pyc File 38.69 KB 0644
cgi.cpython-312.pyc File 39.29 KB 0644
cgitb.cpython-312.pyc File 16.93 KB 0644
chunk.cpython-312.pyc File 7.14 KB 0644
cmd.cpython-312.pyc File 18.18 KB 0644
code.cpython-312.pyc File 12.75 KB 0644
codecs.cpython-312.pyc File 41.28 KB 0644
codeop.cpython-312.pyc File 6.75 KB 0644
colorsys.cpython-312.pyc File 4.53 KB 0644
compileall.cpython-312.pyc File 20.02 KB 0644
configparser.cpython-312.pyc File 62.09 KB 0644
contextlib.cpython-312.pyc File 29.66 KB 0644
contextvars.cpython-312.pyc File 261 B 0644
copy.cpython-312.pyc File 9.57 KB 0644
copyreg.cpython-312.pyc File 7.24 KB 0644
crypt.cpython-312.pyc File 5.24 KB 0644
csv.cpython-312.pyc File 17.37 KB 0644
dataclasses.cpython-312.pyc File 43.63 KB 0644
datetime.cpython-312.pyc File 409 B 0644
decimal.cpython-312.pyc File 406 B 0644
difflib.cpython-312.pyc File 73.73 KB 0644
dis.cpython-312.pyc File 33.75 KB 0644
doctest.cpython-312.pyc File 103.21 KB 0644
enum.cpython-312.pyc File 78.82 KB 0644
filecmp.cpython-312.pyc File 14.32 KB 0644
fileinput.cpython-312.pyc File 19.8 KB 0644
fnmatch.cpython-312.pyc File 6.34 KB 0644
fractions.cpython-312.pyc File 35.81 KB 0644
ftplib.cpython-312.pyc File 41.64 KB 0644
functools.cpython-312.pyc File 39.56 KB 0644
genericpath.cpython-312.pyc File 6.66 KB 0644
getopt.cpython-312.pyc File 8.17 KB 0644
getpass.cpython-312.pyc File 6.69 KB 0644
gettext.cpython-312.pyc File 21.63 KB 0644
glob.cpython-312.pyc File 9.61 KB 0644
graphlib.cpython-312.pyc File 10.08 KB 0644
gzip.cpython-312.pyc File 31.26 KB 0644
hashlib.cpython-312.pyc File 7.9 KB 0644
heapq.cpython-312.pyc File 17.54 KB 0644
hmac.cpython-312.pyc File 10.45 KB 0644
imaplib.cpython-312.pyc File 61.64 KB 0644
imghdr.cpython-312.pyc File 6.78 KB 0644
inspect.cpython-312.pyc File 130.32 KB 0644
io.cpython-312.pyc File 4.04 KB 0644
ipaddress.cpython-312.pyc File 88.63 KB 0644
keyword.cpython-312.pyc File 1.02 KB 0644
linecache.cpython-312.pyc File 6.25 KB 0644
locale.cpython-312.pyc File 58.14 KB 0644
lzma.cpython-312.pyc File 15.48 KB 0644
mailbox.cpython-312.pyc File 109 KB 0644
mailcap.cpython-312.pyc File 10.89 KB 0644
mimetypes.cpython-312.pyc File 23.62 KB 0644
modulefinder.cpython-312.pyc File 27.29 KB 0644
netrc.cpython-312.pyc File 8.69 KB 0644
nntplib.cpython-312.pyc File 43.89 KB 0644
ntpath.cpython-312.pyc File 25.42 KB 0644
nturl2path.cpython-312.pyc File 2.96 KB 0644
numbers.cpython-312.pyc File 13.64 KB 0644
opcode.cpython-312.pyc File 14.37 KB 0644
operator.cpython-312.pyc File 16.96 KB 0644
optparse.cpython-312.pyc File 65.96 KB 0644
os.cpython-312.pyc File 42.46 KB 0644
pathlib.cpython-312.pyc File 60.64 KB 0644
pdb.cpython-312.pyc File 82.93 KB 0644
pickle.cpython-312.pyc File 74.39 KB 0644
pickletools.cpython-312.pyc File 79.23 KB 0644
pipes.cpython-312.pyc File 10.66 KB 0644
pkgutil.cpython-312.pyc File 19.49 KB 0644
platform.cpython-312.pyc File 40.63 KB 0644
plistlib.cpython-312.pyc File 40.32 KB 0644
poplib.cpython-312.pyc File 18.18 KB 0644
posixpath.cpython-312.pyc File 17.81 KB 0644
pprint.cpython-312.pyc File 28.78 KB 0644
profile.cpython-312.pyc File 22.01 KB 0644
pstats.cpython-312.pyc File 37.03 KB 0644
pty.cpython-312.pyc File 7.19 KB 0644
py_compile.cpython-312.pyc File 9.84 KB 0644
pyclbr.cpython-312.pyc File 14.54 KB 0644
pydoc.cpython-312.pyc File 139.6 KB 0644
queue.cpython-312.pyc File 14.39 KB 0644
quopri.cpython-312.pyc File 9.1 KB 0644
random.cpython-312.pyc File 32.38 KB 0644
reprlib.cpython-312.pyc File 9.68 KB 0644
rlcompleter.cpython-312.pyc File 8.09 KB 0644
runpy.cpython-312.pyc File 14.05 KB 0644
sched.cpython-312.pyc File 7.55 KB 0644
secrets.cpython-312.pyc File 2.5 KB 0644
selectors.cpython-312.pyc File 25.52 KB 0644
shelve.cpython-312.pyc File 12.61 KB 0644
shlex.cpython-312.pyc File 13.83 KB 0644
shutil.cpython-312.pyc File 66.52 KB 0644
signal.cpython-312.pyc File 4.34 KB 0644
site.cpython-312.pyc File 28.38 KB 0644
sitecustomize.cpython-312.pyc File 300 B 0644
smtplib.cpython-312.pyc File 47.09 KB 0644
sndhdr.cpython-312.pyc File 10.46 KB 0644
socket.cpython-312.pyc File 40.84 KB 0644
socketserver.cpython-312.pyc File 33.46 KB 0644
sre_compile.cpython-312.pyc File 625 B 0644
sre_constants.cpython-312.pyc File 628 B 0644
sre_parse.cpython-312.pyc File 621 B 0644
ssl.cpython-312.pyc File 61.53 KB 0644
stat.cpython-312.pyc File 5.11 KB 0644
statistics.cpython-312.pyc File 54.12 KB 0644
string.cpython-312.pyc File 11.21 KB 0644
stringprep.cpython-312.pyc File 24.57 KB 0644
struct.cpython-312.pyc File 325 B 0644
subprocess.cpython-312.pyc File 77.33 KB 0644
sunau.cpython-312.pyc File 24.83 KB 0644
symtable.cpython-312.pyc File 18.34 KB 0644
sysconfig.cpython-312.pyc File 29.3 KB 0644
tabnanny.cpython-312.pyc File 11.87 KB 0644
tarfile.cpython-312.pyc File 120.5 KB 0644
telnetlib.cpython-312.pyc File 27.76 KB 0644
tempfile.cpython-312.pyc File 46.23 KB 0644
textwrap.cpython-312.pyc File 17.86 KB 0644
this.cpython-312.pyc File 1.38 KB 0644
threading.cpython-312.pyc File 63.81 KB 0644
timeit.cpython-312.pyc File 14.52 KB 0644
token.cpython-312.pyc File 3.47 KB 0644
tokenize.cpython-312.pyc File 24.19 KB 0644
trace.cpython-312.pyc File 32.25 KB 0644
traceback.cpython-312.pyc File 50.32 KB 0644
tracemalloc.cpython-312.pyc File 26.28 KB 0644
tty.cpython-312.pyc File 2.61 KB 0644
turtle.cpython-312.pyc File 180.3 KB 0644
types.cpython-312.pyc File 14.59 KB 0644
typing.cpython-312.pyc File 138.54 KB 0644
uu.cpython-312.pyc File 7.63 KB 0644
uuid.cpython-312.pyc File 32.23 KB 0644
warnings.cpython-312.pyc File 23.23 KB 0644
wave.cpython-312.pyc File 31.33 KB 0644
weakref.cpython-312.pyc File 30.61 KB 0644
webbrowser.cpython-312.pyc File 25.74 KB 0644
xdrlib.cpython-312.pyc File 11.56 KB 0644
zipapp.cpython-312.pyc File 9.74 KB 0644
zipimport.cpython-312.pyc File 23.9 KB 0644
Filemanager