diff --git a/scripts/jdwp-version.nse b/scripts/jdwp-version.nse index 828081af3..4fdceeccf 100644 --- a/scripts/jdwp-version.nse +++ b/scripts/jdwp-version.nse @@ -32,7 +32,7 @@ end action = function(host, port) -- make sure we get at least one more packet after the JDWP-Handshake - -- response even if there is some delay; the handshake resonse has 14 + -- response even if there is some delay; the handshake response has 14 -- bytes, so wait for 18 bytes here. local status, result = comm.exchange(host, port, "JDWP-Handshake\0\0\0\11\0\0\0\1\0\1\1", {proto="tcp", bytes=18}) if (not status) then diff --git a/service_scan.cc b/service_scan.cc index bc726336d..52338ed07 100644 --- a/service_scan.cc +++ b/service_scan.cc @@ -1570,8 +1570,8 @@ void ServiceNFO::addServiceString(const char *s, int wrapat) { addServiceChar(*s++, wrapat); } -// If a service response to a given probeName, this function adds the -// resonse the the fingerprint for that service. The fingerprint can +// If a service responds to a given probeName, this function adds the +// response to the fingerprint for that service. The fingerprint can // be printed when nothing matches the service. You can obtain the // fingerprint (if any) via getServiceFingerprint(); void ServiceNFO::addToServiceFingerprint(const char *probeName, const u8 *resp,