Class: Rex::Proto::NTLM::Message::Type3
- Inherits:
-
Object
- Object
- Rex::Proto::NTLM::Message::Type3
- Defined in:
- lib/rex/proto/ntlm/message.rb
Class Method Summary collapse
Class Method Details
.create(arg, opt = {}) ⇒ Object
289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 |
# File 'lib/rex/proto/ntlm/message.rb', line 289 def create(arg, opt ={}) t = new t.lm_response = arg[:lm_response] t.ntlm_response = arg[:ntlm_response] t.domain = arg[:domain] t.user = arg[:user] t.workstation = arg[:workstation] if arg[:session_key] t.enable(:session_key) t.session_key = arg[session_key] end if arg[:flag] t.enable(:session_key) t.enable(:flag) t.flag = arg[:flag] end t end |
.parse(str) ⇒ Object
283 284 285 286 287 |
# File 'lib/rex/proto/ntlm/message.rb', line 283 def parse(str) t = new t.parse(str) t end |