Linux server2.hpierson.com 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
Apache
: 162.0.216.123 | : 216.73.216.152
28 Domain
?7.4.33
yvffpqmy
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
cpanel-php73-SOAP-0.14.0 /
example /
[ HOME SHELL ]
Name
Size
Permission
Action
attachment.php
905
B
-rw-r--r--
client.php
4.81
KB
-rw-r--r--
com_client.php
1.89
KB
-rw-r--r--
disco_server.php
7.65
KB
-rw-r--r--
email_client.php
1.32
KB
-rw-r--r--
email_gateway.php
1.44
KB
-rw-r--r--
email_pop_gateway.php
2.06
KB
-rw-r--r--
email_pop_server.php
1.98
KB
-rw-r--r--
email_server.php
1.54
KB
-rw-r--r--
example_server.php
5.94
KB
-rw-r--r--
example_types.php
1.79
KB
-rw-r--r--
server.php
2.04
KB
-rw-r--r--
server2.php
2.18
KB
-rw-r--r--
smtp.php
1.46
KB
-rw-r--r--
stockquote.php
1.83
KB
-rw-r--r--
tcp_client.php
1.34
KB
-rw-r--r--
tcp_daemon.pl
1.61
KB
-rw-r--r--
tcp_server.php
1.22
KB
-rw-r--r--
wsdl_client.php
2.85
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : tcp_daemon.pl
#!/usr/bin/perl -w use strict; =head1 Simple SOAP TCP Server Simple SOAP TCP Server with test class (just to check things are working) Before you run this test server you will need some perl classes, namely: SOAP::Lite Hook::LexWrap (if you want to see some debugging) Flee off to the CPAN if you need them :) To run type 'perl <filename>' and if you dont get any errors, it's time to go write some code to connect. =cut use SOAP::Transport::TCP qw(trace); use Data::Dumper; ############# ## if you want to see incoming/outgoing raw xml ## uncomment the following. #use Hook::LexWrap; #wrap *IO::SessionData::read, post => \&show_read; #wrap *IO::SessionData::write, post => \&show_write; ## ############# my $daemon = SOAP::Transport::TCP::Server->new( LocalAddr => '127.0.0.1', LocalPort => '82', Listen => 5, Reuse => 1 ); # dispatch $daemon->dispatch_to('SOAP_Example_Server'); $daemon->handle; ############# ## callback functions for Hook::LexWrap; ## # show incoming xml sub show_read { print $/,'## read ##',$/; print Dumper($_[0]); } # show outgoing xml sub show_write { print $/,'## write ##',$/; print Dumper($_[0]); } ################################################################################ ################################################################################ # SOAP_Example_Server # Simple test class, method test returns double what you send to it, thats all! ################################################################################ package SOAP_Example_Server; sub echoString { return $_[1] x 2; } 1;
Close