Comment update
parent
aa9ea13934
commit
24a6e4c110
|
@ -320,7 +320,9 @@ class ClientCore < Extension
|
||||||
|
|
||||||
# Normalise the format of the incoming machine id so that it's consistent
|
# Normalise the format of the incoming machine id so that it's consistent
|
||||||
# regardless of case and leading/trailing spaces. This means that the
|
# regardless of case and leading/trailing spaces. This means that the
|
||||||
# individual meterpreters don't have to care
|
# individual meterpreters don't have to care.
|
||||||
|
|
||||||
|
# Note that the machine ID may be blank or nil and that is OK
|
||||||
Rex::Text.md5(mid.to_s.downcase.strip)
|
Rex::Text.md5(mid.to_s.downcase.strip)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue