There is the same snipplet of code in the  exploit/windows/oracle/tns_auth_sesskey.rb