diff --git a/nselib/http.lua b/nselib/http.lua index 71e2def34..80fa3b887 100644 --- a/nselib/http.lua +++ b/nselib/http.lua @@ -1230,10 +1230,10 @@ pipeline = function(host, port, allReqs) socket:close() if count == 0 then - stdnse.print_debug("Received 0 of %d expected reponses.\nGiving up on pipeline.", limit); + stdnse.print_debug("Received 0 of %d expected responses.\nGiving up on pipeline.", limit); break elseif count < limit then - stdnse.print_debug("Received only %d of %d expected reponses.\nDecreasing max pipelined requests to %d.", count, limit, count) + stdnse.print_debug("Received only %d of %d expected responses.\nDecreasing max pipelined requests to %d.", count, limit, count) limit = count end end diff --git a/scripts/dns-zone-transfer.nse b/scripts/dns-zone-transfer.nse index 1b7fa33e4..904110922 100644 --- a/scripts/dns-zone-transfer.nse +++ b/scripts/dns-zone-transfer.nse @@ -243,7 +243,7 @@ end -- An iterator that breaks up a concatentation of responses. In DNS over TCP, -- each response is prefixed by a two-byte length (RFC 1035 section 4.2.2). --- Reponses returned by this iterator include the two-byte length prefix. +-- Responses returned by this iterator include the two-byte length prefix. function responses_iter(data) local offset = 1