-
Notifications
You must be signed in to change notification settings - Fork 386
connection string
skelsec edited this page Aug 16, 2019
·
1 revision
Some modules will expect you to enter some form of network credentials.
All network credentials will be expected to be in the connection_string
format.
This page will help you understand the connection_string
format
It's not, just unusual.
<DOMAIN>/<USERNAME>/<SECRET_TYPE>:<SECRET>@<TARGET_IP_OR_HOSTNAME>
Parameters explained:
-
DOMAIN
: Name of the domain, if no domain is expected just leave it empty. -
USERNAME
: Username -
SECRET_TYPE
: Defines the type of secret you with to use. -
SECRET
: Format depends on theSECRET_TYPE
. Can be empty in some cases. -
TARGET_IP_OR_HOSTNAME
: The IP address or hostname of the target you wish to connect to.
-
pw
/pass
/password
: Plaintext password -
nt
: NT hash -
sspi
: Use integrated SSPI,SECRET
can be left empty. -
ccache
: Take credentials from CCACHE file.SECRET
is a path to the ccache file.
- Plaintext:
- TEST/user/pw:@192.168.1.1 (you will be propted for password)
- TEST/user/pw:[email protected]
- TEST/user/password:[email protected]
- TEST/user/pass:[email protected]
- NT hash:
- TEST/user/nt:[email protected]
- SSPI:
- TEST/user/sspi:@192.168.1.1