Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--continue-on-success disables --shares #275

Open
SecJoe opened this issue Apr 24, 2024 · 1 comment
Open

--continue-on-success disables --shares #275

SecJoe opened this issue Apr 24, 2024 · 1 comment

Comments

@SecJoe
Copy link

SecJoe commented Apr 24, 2024

Describe the bug
nxc smb has the option --shares which is very nice to show share permissions. But also i want to find all possible shares, so i also use the option --continue-on-success. But if i use this option, --shares will be ignored. Is this a bug?

To Reproduce
Steps to reproduce the behavior i.e.:
Command: nxc smb ./private-ips.txt -u username -p password --continue-on-success --shares

Resulted in:

[...]
SMB         172.16.222.6    445    xxx             [+] test.com\username:password 
SMB         172.16.222.5    445    yyy             [+] test.com\username:password
SMB         172.16.222.15   445    zzz             [+] test.com\username:password
[...]

Expected behavior
I want to see the share permission:

[...]
SMB         172.16.222.6    445    xxx            [+] test.com\username:password 
SMB         172.16.222.6   445    zzz             [*] Enumerated shares
SMB         172.16.222.6   445    zzz             Share           Permissions     Remark
SMB         172.16.222.6   445    zzz             -----           -----------     ------
SMB         172.16.222.6  445    zzz             ADMIN$                          Remote Admin
SMB         172.16.222.6   445    zzz             C$                              Default share
SMB         172.16.222.6   445    zzz             IPC$            READ            Remote IPC
[...]

NetExec info

  • OS: Kali
  • Version of nxc: v1.1.0
@NeffIsBack
Copy link
Contributor

Currently nxc is not designed to open up connections for multiple users per host. --continue-on-success is only for password cracking and will stop the execution after the login attempt.

Also see #266

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants