[ SEA-GHOST MINI SHELL]

Path : /proc/3/task/3/cwd/usr/share/doc/perl-HTTP-Tiny-0.033/eg/
FILE UPLOADER :
Current File : //proc/3/task/3/cwd/usr/share/doc/perl-HTTP-Tiny-0.033/eg/mirror.pl

#!/usr/bin/perl

use strict;
use warnings;

use HTTP::Tiny;

my $url  = shift(@ARGV) || 'http://example.com';
my $file = shift(@ARGV) || 'example.output'; 

my $response = HTTP::Tiny->new->mirror($url, $file);

print "$response->{status} $response->{reason}\n";

while (my ($k, $v) = each %{$response->{headers}}) {
    for (ref $v eq 'ARRAY' ? @$v : $v) {
        print "$k: $_\n";
    }
}


SEA-GHOST - SHELL CODING BY SEA-GHOST