We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2969da3 commit 7b18c17Copy full SHA for 7b18c17
modules/auxiliary/scanner/misc/cisco_smart_install.rb
@@ -37,7 +37,7 @@ def initialize(info = {})
37
end
38
39
# 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"
+ 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
41
SMI_RE = /^\x00{3}\x04\x00{7}\x03\x00{3}\x08\x00{3}\x01\x00{4}$/
42
def smi?
43
sock.puts(SMI_PROBE)
0 commit comments