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.20
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 /
libhtml-diff-perl /
examples /
[ HOME SHELL ]
Name
Size
Permission
Action
htmldiff
835
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : htmldiff
#!/usr/bin/perl # # htmldiff uses HTML::Diff to create an HTML file that shows the difference # between two HTML files, given on the command line. # # Contributed by Maurice Aubrey <maurice@redweek.com> # use strict; use HTML::Diff; @ARGV == 2 or die "Usage: $0 <file1> <file2>\n"; my @txt; foreach (@ARGV) { open my $fh, $_ or die "unable to read '$_': $!"; local $/; push @txt, scalar <$fh>; } print qq{<style type="text/css"><!-- ins{color: green} del{color:red}--></style>\n}; foreach (@{ html_word_diff(@txt) }) { my($type, $left, $right) = @$_; # debug #$left =~ s/\n/ /g; #$right =~ s/\n/ /g; #print "TYPE:$type\nLEFT: $left\nRIGHT: $right\n\n"; #next; if ($type eq 'u') { print $left; } else { print "<del>$left</del>" if length $left; print "<ins>$right</ins>" if length $right; } }
Close