Linux dpw.dpwebtech.com 3.10.0-1160.88.1.el7.x86_64 #1 SMP Tue Mar 7 15:41:52 UTC 2023 x86_64
Apache
: 192.232.243.69 | : 216.73.216.200
46 Domain
7.2.34
dpclient
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
local /
bin /
[ HOME SHELL ]
Name
Size
Permission
Action
crontab
1.76
MB
-rwxr-xr-x
ea-php71
4.08
MB
-rwxr-xr-x
ea-php72
4.32
MB
-rwxr-xr-x
ea-php73
4.71
MB
-rwxr-xr-x
ea_convert_php_ini
39.85
KB
-rwxr-xr-x
ea_current_to_profile
8.31
KB
-rwxr-xr-x
ea_install_profile
7.1
KB
-rwxr-xr-x
ea_sync_user_phpini_settings
6.73
KB
-rwxr-xr-x
htmltree
1.31
KB
-r-xr-xr-x
instmodsh
4.1
KB
-r-xr-xr-x
json_xs
6.93
KB
-r-xr-xr-x
lsphp
937
B
-rwxr-xr-x
lwp-download
10.05
KB
-r-xr-xr-x
lwp-dump
2.65
KB
-r-xr-xr-x
lwp-mirror
2.36
KB
-r-xr-xr-x
lwp-request
15.82
KB
-r-xr-xr-x
passwd
3.22
MB
-rwxr-xr-x
pear
935
B
-rwxr-xr-x
perl
11.14
KB
-rwxr-xr-x
php
933
B
-rwxr-xr-x
prove
13.24
KB
-r-xr-xr-x
tpage
8.86
KB
-r-xr-xr-x
tt-render
101
B
-r-xr-xr-x
ttree
38.22
KB
-r-xr-xr-x
use-devel-checklib
2.71
KB
-r-xr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : lwp-dump
#!/usr/bin/perl use strict; use warnings; use LWP::UserAgent (); use Getopt::Long qw(GetOptions); use Encode; use Encode::Locale; GetOptions(\my %opt, 'parse-head', 'max-length=n', 'keep-client-headers', 'method=s', 'agent=s', 'request',) || usage(); my $url = shift || usage(); @ARGV && usage(); sub usage { (my $progname = $0) =~ s,.*/,,; die <<"EOT"; Usage: $progname [options] <url> Recognized options are: --agent <str> --keep-client-headers --max-length <n> --method <str> --parse-head --request EOT } my $ua = LWP::UserAgent->new( parse_head => $opt{'parse-head'} || 0, keep_alive => 1, env_proxy => 1, agent => $opt{agent} || "lwp-dump/$LWP::UserAgent::VERSION ", ); my $req = HTTP::Request->new($opt{method} || 'GET' => decode(locale => $url)); my $res = $ua->simple_request($req); $res->remove_header(grep /^Client-/, $res->header_field_names) unless $opt{'keep-client-headers'} or ($res->header("Client-Warning") || "") eq "Internal response"; if ($opt{request}) { $res->request->dump; print "\n"; } $res->dump(maxlength => $opt{'max-length'}); __END__ =head1 NAME lwp-dump - See what headers and content is returned for a URL =head1 SYNOPSIS B<lwp-dump> [ I<options> ] I<URL> =head1 DESCRIPTION The B<lwp-dump> program will get the resource identified by the URL and then dump the response object to STDOUT. This will display the headers returned and the initial part of the content, escaped so that it's safe to display even binary content. The escapes syntax used is the same as for Perl's double quoted strings. If there is no content the string "(no content)" is shown in its place. The following options are recognized: =over =item B<--agent> I<string> Override the user agent string passed to the server. =item B<--keep-client-headers> LWP internally generate various C<Client-*> headers that are stripped by B<lwp-dump> in order to show the headers exactly as the server provided them. This option will suppress this. =item B<--max-length> I<n> How much of the content to show. The default is 512. Set this to 0 for unlimited. If the content is longer then the string is chopped at the limit and the string "...\n(### more bytes not shown)" appended. =item B<--method> I<string> Use the given method for the request instead of the default "GET". =item B<--parse-head> By default B<lwp-dump> will not try to initialize headers by looking at the head section of HTML documents. This option enables this. This corresponds to L<LWP::UserAgent/"parse_head">. =item B<--request> Also dump the request sent. =back =head1 SEE ALSO L<lwp-request>, L<LWP>, L<HTTP::Message/"dump">
Close