D7net Mini Sh3LL v1

 
OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : OFF
Directory (0755) :  /var/www/html/../../../usr/share/doc/run-one/../libhtml-parser-perl/examples/

 Home   ☍ Command   ☍ Upload File   ☍Info Server   ☍ Buat File   ☍ Mass deface   ☍ Jumping   ☍ Config   ☍ Symlink   ☍ About 

Current File : /var/www/html/../../../usr/share/doc/run-one/../libhtml-parser-perl/examples/htitle
#!/usr/bin/perl

# This program will print out the title of an HTML document.

use strict;
use HTML::Parser ();

sub title_handler
{
    my $self = shift;
    $self->handler(text => sub { print @_ }, "dtext");
    $self->handler(end  => "eof", "self");
}

my $p = HTML::Parser->new(api_version => 3,
			  start_h => [\&title_handler, "self"],
			  report_tags => ['title'],
			 );
$p->parse_file(shift || die) || die $!;
print "\n";


AnonSec - 2021 | Recode By D7net