⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
webmin
/
virtual-server
/
View File Name :
clamdscan-remote-wrapper.pl
#!/usr/bin/perl # Emulate the flags of clamdscan-stream-client my $host; my $port = 3310; my $file = "-"; while(@ARGV) { my $a = shift(@ARGV); if ($a eq "-d") { $host = shift(@ARGV); } elsif ($a eq "-p") { $port = shift(@ARGV); } elsif ($a eq "-" || $a !~ /^\-/) { # Input file $file = $a; } else { die "Unknown flag $a"; } } # Create a temporary config file my $cfile = "/tmp/clamdscan-remote-config-$$.conf"; open(CONF, ">", $cfile); print CONF "TCPSocket $port\n"; print CONF "TCPAddr $host\n"; close(CONF); my $rv = system("clamdscan -c $cfile --fdpass --stream $file"); unlink($cfile); exit($rv);