From 2e985da611a4a54eecec9c7a7f871751347fc3b2 Mon Sep 17 00:00:00 2001 From: patrik Date: Sun, 7 Oct 2012 09:10:59 +0000 Subject: [PATCH] fixed bug "ORA-03146: Invalid buffer length for TTC field" --- scripts/oracle-enum-users.nse | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/oracle-enum-users.nse b/scripts/oracle-enum-users.nse index cbcedf414..a20c18b6b 100644 --- a/scripts/oracle-enum-users.nse +++ b/scripts/oracle-enum-users.nse @@ -61,7 +61,7 @@ local function checkAccount( host, port, user ) -- A bit ugly, the helper should probably provide a getSocket function tnscomm = tns.Comm:new( helper.tnssocket ) - status, auth = tnscomm:exchTNSPacket( tns.Packet.PreAuth:new( user, auth_options ) ) + status, auth = tnscomm:exchTNSPacket( tns.Packet.PreAuth:new( user, auth_options, helper.os ) ) if ( not(status) ) then return false, auth end