Linux server.thearyasamaj.org 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
Apache
: 103.90.241.146 | : 216.73.216.222
Cant Read [ /etc/named.conf ]
5.6.40
ftpuser@mantra.thearyasamaj.org
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
perl-LDAP /
contrib /
[ HOME SHELL ]
Name
Size
Permission
Action
LWPsearch.pl
2.67
KB
-rw-r--r--
README
1.2
KB
-rw-r--r--
dot.tklkup
1.75
KB
-rw-r--r--
isMember.pl
9.45
KB
-rw-r--r--
jpegDisplay.pl
7.01
KB
-rw-r--r--
jpegLoad.pl
7.1
KB
-rw-r--r--
ldapmodify.pl
1.43
KB
-rw-r--r--
ldifdiff.pl
10.49
KB
-rw-r--r--
ldifsort.pl
3.18
KB
-rw-r--r--
ldifuniq.pl
1.59
KB
-rw-r--r--
printMembers.pl
6.46
KB
-rw-r--r--
recursive-ldap-delete.pl
1022
B
-rw-r--r--
schema2ad.pl
9.47
KB
-rw-r--r--
simple-proxy.pl
2.82
KB
-rw-r--r--
tklkup
169.14
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ldifuniq.pl
#! /usr/bin/perl # $Id: ldifuniq.pl,v 1.1 2002/08/24 15:11:21 kartik_subbarao Exp $ =head1 NAME ldifuniq.pl - Culls unique entries from a reference file with respect to a comparison file. =head1 DESCRIPTION ldifuniq.pl takes as input two LDIF files, a reference file and a comparison file. Each entry in the reference file is compared to its counterpart in the comparison file. If it does not have a counterpart, or if the counterpart is not identical, the reference entry is printed to standard output. Otherwise no output is generated. This behavior is analogous to the -u option of the uniq command. =head1 SYNOPSIS ldifuniq.pl reffile.ldif cmpfile.ldif =head1 AUTHOR Kartik Subbarao E<lt>subbarao@computer.orgE<gt> =cut use MIME::Base64; use strict; my $reffile = $ARGV[0]; my $cmpfile = $ARGV[1]; die "usage: $0 reffile cmpfile\n" unless $reffile && $cmpfile; $/ = ""; sub getdn { my $rec = shift; my $dn; 1 while s/^(dn:.*)?\n /$1/im; # Handle line continuations if (/^dn(::?) (.*)$/im) { $dn = $2; $dn = decode_base64($dn) if $1 eq '::'; } $dn; } open(CMPFH, $cmpfile) || die "$cmpfile: $!\n"; my (%cmpdnpos, $pos); $pos = 0; while (<CMPFH>) { my $dn = getdn($_); $cmpdnpos{$dn} = $pos; $pos = tell; } open(REFFH, $reffile) || die "$reffile: $!\n"; while (<REFFH>) { my $refrec = $_; $refrec .= "\n" if $refrec !~ /\n\n$/; my $dn = getdn($refrec); my $pos = $cmpdnpos{$dn}; if ($pos eq undef) { print $refrec; next; # Not in cmpfile, print the entry. } seek(CMPFH, $pos, 0); my $cmprec = <CMPFH>; $cmprec .= "\n" if $cmprec !~ /\n\n$/; print $refrec if $refrec ne $cmprec; }
Close