403Webshell
Server IP : 104.21.94.62  /  Your IP : 216.73.216.210
Web Server : Apache
System : Linux semi1.us.cloudlogin.co 5.10.244-xeon-hst #1 SMP Sun Sep 14 17:09:20 UTC 2025 x86_64
User : xessglobal ( 271017)
PHP Version : 8.1.33
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : ON |  Sudo : OFF |  Pkexec : ON
Directory :  /bin/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /bin/x10client
#!/usr/bin/perl

# Copyright (c) 1999-2017 Rob Fugina <[email protected]>
# Distributed under the terms of the GNU Public License, Version 3.0

=head1 NAME

x10client - use to send a list of x10 events to an x10 server 

=head1 USAGE

Usage:

    x10client event1 event2 event3 ...
     
Where event1, event2, event3, etc. each represent an x10 event

=head1 DESCRIPTION

Sends x10 events to an x10 server

=head1 AUTHOR

Rob Fugina <[email protected]>

=cut

use File::Basename;

# this works as long as it's not called through a symlink...
use lib (dirname $0);

use X10::EventList;
use X10::Network;

die "No events given\n" unless @ARGV;

my $eventlist = new X10::EventList(@ARGV);

my $x10 = new X10::Network( server => 'x10' );

unless ($x10)
{
   warn "Couldn't connect to X10 controller";
   exit;
}

$x10->send( $eventlist );



Youez - 2016 - github.com/yon3zu
LinuXploit