__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
#!/usr/bin/perl
use strict;
use warnings;
use HTML::Parser ();
my $doc = <<'EOT';
<!-- This is not where <BODY> starts -->
<title>foo</title>
<script language="Perl" description="Print out <BODY>">
open(BODY, "body.txt");
while (<BODY>) {
print;
}
</script>
<!-- The next thing will be <BODY> the body -->
<Body>
Howdy!
</body>
EOT
my $body_offset;
HTML::Parser->new(
start_h => [
sub {
return unless shift eq "body";
$body_offset = shift;
shift->eof; # tell the parser to stop
},
"tagname,offset,self"
]
)->parse($doc);
die "No <body> found" unless defined $body_offset;
my $head = substr($doc, 0, $body_offset, "");
print $doc;
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| hanchors | File | 1.17 KB | 0755 |
|
| hbody | File | 729 B | 0755 |
|
| hdisable | File | 740 B | 0755 |
|
| hdump | File | 708 B | 0755 |
|
| hform | File | 2.44 KB | 0755 |
|
| hlc | File | 717 B | 0755 |
|
| hrefsub | File | 3 KB | 0755 |
|
| hstrip | File | 1.73 KB | 0755 |
|
| htext | File | 612 B | 0755 |
|
| htextsub | File | 936 B | 0755 |
|
| htitle | File | 461 B | 0755 |
|