HEX
Server: Apache
System: Linux sg241.singhost.net 2.6.32-896.16.1.lve1.4.51.el6.x86_64 #1 SMP Wed Jan 17 13:19:23 EST 2018 x86_64
User: honghock (909)
PHP: 8.0.30
Disabled: passthru,system,shell_exec,show_source,exec,popen,proc_open
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});

};