Skip to content

Commit 1225a93

Browse files
committed
Moved ClamAV scanner to scanning module
s
1 parent c130495 commit 1225a93

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

modules/auxiliary/admin/misc/clamav_control.rb renamed to modules/auxiliary/scanner/misc/clamav_control.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ def run_host(_ip)
4848
connect
4949
sock.put(action.name + "\n")
5050
print_good(sock.get_once)
51-
rescue Rex::ConnectionRefused
52-
ilog("Connection Refused")
53-
rescue Rex::ConnectionTimeout
54-
ilog("Connection Timeout")
55-
rescue Rex::HostUnreachable
56-
ilog("Host Unreachable")
51+
# rescue Rex::ConnectionRefused
52+
# ilog("Connection Refused")
53+
# rescue Rex::ConnectionTimeout
54+
# ilog("Connection Timeout")
55+
# rescue Rex::HostUnreachable
56+
# ilog("Host Unreachable")
5757
rescue EOFError
5858
print_good('Successfully shut down ClamAV Service')
5959
ensure

0 commit comments

Comments
 (0)