mirror of
https://github.com/nmap/nmap.git
synced 2025-12-31 11:59:03 +00:00
Replace some string.char and bin.pack calls with literals
This commit is contained in:
@@ -138,7 +138,7 @@ action = function(host, port)
|
||||
-- if it is set to zero (0) we have more response packets to process
|
||||
-- if it is set to one (1) we have arrived at the last packet of our journey
|
||||
--
|
||||
while packet:sub(31,31) ~= string.char(0x01) do
|
||||
while packet:sub(31,31) ~= "\x01" do
|
||||
packet = try( socket:receive() )
|
||||
local tmp_table = process_pa_response( packet )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user