mirror of
https://github.com/nmap/nmap.git
synced 2026-01-06 14:39:03 +00:00
Spelling fixes for Lua files
Mostly in documentation/comments, but a couple code bugs were caught, including a call to stdnse.pirnt_debug and a mis-declared variable.
This commit is contained in:
@@ -240,7 +240,7 @@ local function prng_generate_ports(ip, seed)
|
||||
end
|
||||
until(is_blacklisted_port(ports[1]) == false and is_blacklisted_port(ports[2]) == false and ports[1] ~= ports[2])
|
||||
|
||||
-- Update the accumlator with the seed
|
||||
-- Update the accumulator with the seed
|
||||
v1 = bit.bxor(v1, seed)
|
||||
|
||||
-- Loop 10 more times to generate the second pair of ports
|
||||
@@ -292,7 +292,7 @@ local function p2p_checksum(data)
|
||||
end
|
||||
|
||||
---Encrypt/decrypt the buffer with a simple xor-based symmetric encryption. It uses a 64-bit key, represented
|
||||
-- by key1:key2, that is transmited in plain text. Since sniffed packets can be decrypted, this is a
|
||||
-- by key1:key2, that is transmitted in plain text. Since sniffed packets can be decrypted, this is a
|
||||
-- simple obfuscation technique.
|
||||
--
|
||||
--@param packet The packet to encrypt (before the key and optional length are prepended).
|
||||
|
||||
Reference in New Issue
Block a user