1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-29 10:59:02 +00:00

changed portrule to include both ibm-db2 and drda

updated script.db and removed old db2- scripts and added the new ones
changed error message returned by helper class in drda for incorrect logins
This commit is contained in:
patrik
2010-08-14 11:52:18 +00:00
parent e570925c37
commit 2c874c0ba2
4 changed files with 8 additions and 8 deletions

View File

@@ -610,7 +610,7 @@ Helper = {
local drda_accrdb = Command.ACCRDB( database, string.char(0x24,0x07), "DNC10060", nil, "QTDSQLASC", crrtkn, tdovr)
status, packet = self.comm:exchDRDAPacket( DRDAPacket:new( { drda_excsat, drda_accsec } ) )
if( not(status) ) then return false, "ERROR: Login failed" end
if( not(status) ) then return false, packet end
if ( packet:getDRDAByCodePoint( CodePoint.RDBNFNRM ) or
packet:getDRDAByCodePoint( CodePoint.RDBAFLRM ) ) then