Rename METERPRETER_TRANSPORT_SSL to ..._TCP
Since OpenSSL is no longer packages with meterpreter, and transport secrecy is handled at L7, the SSL cons name doesn't apply anymore. Rename METERPRETER_TRANSPORT_SSL to METERPRETER_TRANSPORT_TCP for consistency with wire-level implementation.bug/bundler_fix
parent
6985469009
commit
271bd4c4fe
|
@ -37,7 +37,7 @@ class ClientCore < Extension
|
||||||
UNIX_PATH_MAX = 108
|
UNIX_PATH_MAX = 108
|
||||||
DEFAULT_SOCK_PATH = "/tmp/meterpreter.sock"
|
DEFAULT_SOCK_PATH = "/tmp/meterpreter.sock"
|
||||||
|
|
||||||
METERPRETER_TRANSPORT_SSL = 0
|
METERPRETER_TRANSPORT_TCP = 0
|
||||||
METERPRETER_TRANSPORT_HTTP = 1
|
METERPRETER_TRANSPORT_HTTP = 1
|
||||||
METERPRETER_TRANSPORT_HTTPS = 2
|
METERPRETER_TRANSPORT_HTTPS = 2
|
||||||
|
|
||||||
|
@ -47,10 +47,10 @@ class ClientCore < Extension
|
||||||
TIMEOUT_RETRY_WAIT = 10 # 10 seconds
|
TIMEOUT_RETRY_WAIT = 10 # 10 seconds
|
||||||
|
|
||||||
VALID_TRANSPORTS = {
|
VALID_TRANSPORTS = {
|
||||||
'reverse_tcp' => METERPRETER_TRANSPORT_SSL,
|
'reverse_tcp' => METERPRETER_TRANSPORT_TCP,
|
||||||
'reverse_http' => METERPRETER_TRANSPORT_HTTP,
|
'reverse_http' => METERPRETER_TRANSPORT_HTTP,
|
||||||
'reverse_https' => METERPRETER_TRANSPORT_HTTPS,
|
'reverse_https' => METERPRETER_TRANSPORT_HTTPS,
|
||||||
'bind_tcp' => METERPRETER_TRANSPORT_SSL
|
'bind_tcp' => METERPRETER_TRANSPORT_TCP
|
||||||
}
|
}
|
||||||
|
|
||||||
include Rex::Payloads::Meterpreter::UriChecksum
|
include Rex::Payloads::Meterpreter::UriChecksum
|
||||||
|
|
Loading…
Reference in New Issue