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

Domain format in databases #582

Open
qu35t-code opened this issue Feb 27, 2025 · 0 comments
Open

Domain format in databases #582

qu35t-code opened this issue Feb 27, 2025 · 0 comments

Comments

@qu35t-code
Copy link

Describe the bug
When adding credentials to the smb.db database, the domain is correctly inserted as: sequel.htb.
However, with the same command via WinRM, the domain appears as SEQUEL.
This should be standardized to always have: sequel.htb.

SMB :

> sqlite3 smb.db

SQLite version 3.40.1 2022-12-28 14:03:47
Enter ".help" for usage hints.
sqlite> select * from users;
1|sequel.htb|oscar|test|plaintext|

WinRM :

> nxc winrm 10.10.11.51 -u 'ryan' -p 'test'

WINRM       10.10.11.51     5985   DC01             [*] Windows 10 / Server 2019 Build 17763 (name:DC01) (domain:sequel.htb)
WINRM       10.10.11.51     5985   DC01             [+] sequel.htb\ryan:test (admin)
> sqlite3 winrm.db

SQLite version 3.40.1 2022-12-28 14:03:47
Enter ".help" for usage hints.
sqlite> select * from users;
1|SEQUEL|ryan|test|plaintext|

NetExec info

  • OS: Exegol 😂
  • Version of nxc: 0.0.0 - NeedForSpeed - 1ade4d6
  • Installed from: pipx
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

1 participant