mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Fix string escape. Closes #716
This commit is contained in:
parent
69e1423363
commit
b30c304a2d
2 changed files with 6 additions and 1 deletions
|
|
@ -1,5 +1,8 @@
|
|||
# Nmap Changelog ($Id$); -*-text-*-
|
||||
|
||||
o [GH#716][NSE] Fix for oracle-tns-version which was sending an invalid TNS
|
||||
probe due to a string escaping mixup. [Alexandr Savca]
|
||||
|
||||
o [GH#671][NSE] New script cics-user-brute does brute-force enumeration of CICS
|
||||
usernames on IBM TN3270 services. [Soldier of Fortran]
|
||||
|
||||
|
|
|
|||
|
|
@ -25,12 +25,14 @@ end
|
|||
-- Lifted from nmap-service-probes
|
||||
-- TODO: Figure out if we can send a better probe than this. We might need to
|
||||
-- send ADDRESS, CID, etc.
|
||||
local oracle_tns_probe = "\0Z\0\0\x01\0\0\0\x016\x01,\0\0\x08\0\x7F\xFF\x7F\x08\0\0\0\x01\0 \0:\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\04\xE6\0\0\0\x01\0\0\0\0\0\0\0\0(CONNECT_DATA=(COMMAND=version))"
|
||||
local oracle_tns_probe = "\0Z\0\0\x01\0\0\0\x016\x01,\0\0\x08\0\x7F\xFF\x7F\x08\0\0\0\x01\0 \0:\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x004\xE6\0\0\0\x01\0\0\0\0\0\0\0\0(CONNECT_DATA=(COMMAND=version))"
|
||||
|
||||
local ERR_CODES = {
|
||||
["1189"] = "unauthorized",
|
||||
["1194"] = "insecure transport",
|
||||
["12154"] = "unknown identifier",
|
||||
["12504"] = "requires service name",
|
||||
["12505"] = "unknown sid",
|
||||
["12514"] = "unknown service name",
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue