Admin
dashboard
file manager
command
php exec
/
/
usr
/
share
/
doc
/
perl-HTTP-Tiny
/
eg
path:
go
upload
mkdir
name
type
size
perms
modified
actions
[parent directory]
get.pl
file
395 B
0644
2023-07-11 12:53:02
edit
delete
rename
mirror.pl
file
392 B
0644
2023-07-11 12:53:02
edit
delete
rename
post.pl
file
568 B
0644
2023-07-11 12:53:02
edit
delete
rename
editing: get.pl
#!/usr/bin/perl use strict; use warnings; use HTTP::Tiny; my $url = shift(@ARGV) || 'http://example.com'; my $response = HTTP::Tiny->new->get($url); print "$response->{status} $response->{reason}\n"; while (my ($k, $v) = each %{$response->{headers}}) { for (ref $v eq 'ARRAY' ? @$v : $v) { print "$k: $_\n"; } } print $response->{content} if length $response->{content};
save
cancel