MOON
Server: Apache
System: Linux server1.studioinfinity.com.br 2.6.32-954.3.5.lve1.4.90.el6.x86_64 #1 SMP Tue Feb 21 12:26:30 UTC 2023 x86_64
User: artinside (517)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/local/share/perl5/Net/OSCAR/ServerCallbacks/4/outgoing_IM.pm
package Net::OSCAR::ServerCallbacks;
BEGIN {
  $Net::OSCAR::ServerCallbacks::VERSION = '1.928';
}
use strict;
use warnings;
use vars qw($SESSIONS $SCREENNAMES %COOKIES $screenname $connection $snac $conntype $family $subtype $data $reqid $reqdata $session $protobit %data);
sub {

my $target = $SESSIONS->{$data{screenname}};
if(!$target or !$target->{sessions}->[0]) {
	return srv_send_error($connection, $family, 4);
}

$connection->proto_send(reqid => $reqid, protobit => "IM_acknowledgement", protodata => {
	cookie => $data{cookie},
	channel => $data{channel},
	screenname => $data{screenname}
});


$data{screenname} = $screenname;
$data{evil} = 0;
$data{flags} = 0;

$target->{sessions}->[0]->proto_send(protobit => "incoming_IM", protodata => {%data});

};