Method: Rex::Proto::Kerberos::Client#send_request
- Defined in:
- lib/rex/proto/kerberos/client.rb
#send_request(req) ⇒ Fixnum
Sends a kerberos request through the connection
71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 |
# File 'lib/rex/proto/kerberos/client.rb', line 71 def send_request(req) connect sent = 0 case protocol when 'tcp' sent = send_request_tcp(req) when 'udp' sent = send_request_udp(req) else raise ::RuntimeError, 'Kerberos Client: unknown transport protocol' end sent end |