Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
libnet-dbus-perl /
examples /
[ HOME SHELL ]
Name
Size
Permission
Action
dump-object.pl
419
B
-rw-r--r--
dump-object-xml.pl
393
B
-rw-r--r--
example-client-async.pl
1.01
KB
-rw-r--r--
example-client-no-introspect.pl
666
B
-rw-r--r--
example-client.pl
894
B
-rw-r--r--
example-proxy-service.pl
1.71
KB
-rw-r--r--
example-service-async.pl
1.27
KB
-rw-r--r--
example-service-magic.pl
1.54
KB
-rw-r--r--
example-service-no-introspect.pl
1014
B
-rw-r--r--
example-service.pl
1.5
KB
-rw-r--r--
example-signal-emitter.pl
949
B
-rw-r--r--
example-signal-receiver.pl
1.16
KB
-rw-r--r--
lshal.pl
643
B
-rw-r--r--
notification.pl
516
B
-rw-r--r--
strict-exports.pl
1.29
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : example-signal-receiver.pl
#!/usr/bin/perl -w use warnings; use strict; use Net::DBus; use Net::DBus::Reactor; use Carp qw(confess cluck); #$SIG{__WARN__} = sub { cluck $_[0] }; #$SIG{__DIE__} = sub { confess $_[0] }; my $bus = Net::DBus->session(); my $service = $bus->get_service("org.designfu.TestService"); my $object = $service->get_object("/org/designfu/TestService/object", "org.designfu.TestService"); my $sig1; my $sig2; my $sig1ref = \$sig1; my $sig2ref = \$sig2; sub hello_signal_handler1 { my $greeting = shift; print ${$sig1ref} . " Received hello signal with greeting '$greeting'\n"; } sub hello_signal_handler2 { my $greeting = shift; print ${$sig2ref} . " Received hello signal with greeting '$greeting'\n"; $object->disconnect_from_signal("HelloSignal", ${$sig2ref}); ${$sig2ref} = undef; } $sig1 = $object->connect_to_signal("HelloSignal", \&hello_signal_handler1); $sig2 = $object->connect_to_signal("HelloSignal", \&hello_signal_handler2); my $reactor = Net::DBus::Reactor->main(); my $ticks = 0; $reactor->add_timeout(5000, sub { $object->emitHelloSignal(); if ($ticks++ == 10) { $reactor->shutdown(); } }); $reactor->run();
Close