-
Notifications
You must be signed in to change notification settings - Fork 384
live smbapi session command
skelsec edited this page Apr 14, 2021
·
1 revision
Enumerates sessions the target(s) using windows API and the current user context.
Each target's tcp/445 port will be connected to first and only the ones allowing the TCP connection will be actually enumerated.
You might need to be administrator on the remote host for this depending on the settings.
-
enum
: Enumerates all shares on the target(s)
-
-o
: Writes the TGT to file in KIRBI format -
--json
: Print credentials in JSON format -
-f
: Targets file, one line per IP or hostname -
-t
: Target IP or hostname -
--timout
: Timeout for each target in seconds -
--disable-pre-check
: Disables pre-check to see if the remote destination is alive. Will make enumeration take years!
-
pypykatz live smbapi session enum -t 10.10.10.2
: Lists all sessions on host10.10.10.2