Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.47
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
libdigest-sha3-perl /
examples /
[ HOME SHELL ]
Name
Size
Permission
Action
dups3
1.22
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : dups3
#!/usr/bin/perl # dups3: simple script for showing duplicate files =head1 NAME dups3 - Show Duplicate Files =head1 SYNOPSIS Usage: dups3 files ... dups3 is a fast script for discovering duplicate files. It achieves its efficiency by comparing file digests rather than the file contents themselves, the latter being much larger in general. The NIST Secure Hash Algorithm 3 (SHA-3) is highly collision resistant, meaning that two files with the same SHA-3 digest have an almost certain probability of being identical. The dups3 script works by computing the SHA3-224 digest of each file and looking for matches. The search can reveal more than one set of duplicates, so the output is written as follows: match1_file1 match1_file2 match1_file3 etc. match2_file1 match2_file2 etc. =head1 AUTHOR Mark Shelor <mshelor@cpan.org> =head1 SEE ALSO Perl module L<Digest::SHA3> =cut use strict; use Digest::SHA3; die "usage: dups3 files ...\n" unless @ARGV; my @files = grep { -f $_ } @ARGV; my %dups3; for (@files) { my $digest = Digest::SHA3->new->addfile($_, "b")->hexdigest; push(@{$dups3{$digest}}, $_); } for (keys %dups3) { my $ref = $dups3{$_}; if (scalar(@$ref) > 1) { print join("\n\t", @$ref), "\n\n"; } }
Close