Skip to content

Commit 7b18c17

Browse files
committed
Appease rubocop
1 parent 2969da3 commit 7b18c17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/scanner/misc/cisco_smart_install.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def initialize(info = {})
3737
end
3838

3939
# thanks to https://github.com/Cisco-Talos/smi_check/blob/master/smi_check.py#L52-L53
40-
SMI_PROBE = "\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x04\x00\x00\x00\x08\x00\x00\x00\x01\x00\x00\x00\x00"
40+
SMI_PROBE = "\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x04\x00\x00\x00\x08\x00\x00\x00\x01\x00\x00\x00\x00".freeze
4141
SMI_RE = /^\x00{3}\x04\x00{7}\x03\x00{3}\x08\x00{3}\x01\x00{4}$/
4242
def smi?
4343
sock.puts(SMI_PROBE)

0 commit comments

Comments
 (0)