Skip to content

Commit 24a6e4c

Browse files
author
HD Moore
committed
Comment update
1 parent aa9ea13 commit 24a6e4c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/rex/post/meterpreter/client_core.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,9 @@ def machine_id(timeout=nil)
320320

321321
# Normalise the format of the incoming machine id so that it's consistent
322322
# regardless of case and leading/trailing spaces. This means that the
323-
# individual meterpreters don't have to care
323+
# individual meterpreters don't have to care.
324+
325+
# Note that the machine ID may be blank or nil and that is OK
324326
Rex::Text.md5(mid.to_s.downcase.strip)
325327
end
326328

0 commit comments

Comments
 (0)