Skip to content

Credentials not saved to database when using SMB #1117

@seihtam

Description

@seihtam

Describe the bug
Credentials are not saved to database when using SMB.

To Reproduce
Login with SMB: nxc smb DC.voleur.htb -u 'ryan.naylor' -p 'HollowOct31Nyt' -k

See that there are no credentials saved in the database: sqlite3 "$HOME/.nxc/workspaces/default/smb.db" 'SELECT * FROM users'

When running the same command with LDAP then credentials are saved as expected.

Expected behavior
Credentials should be saved to the database when authenticating over SMB.

Screenshots
Image

NetExec info

  • OS: Kali
  • Version of nxc: 1.5.0 - Yippie-Ki-Yay - f363124 - 67
  • Installed from: pipx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions