- 
                Notifications
    
You must be signed in to change notification settings  - Fork 407
 
live smbapi share command
        skelsec edited this page Apr 14, 2021 
        ·
        1 revision
      
    Enumerates shares on 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.
None
- 
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 share enum -t 10.10.10.2: Lists all shares on host10.10.10.2