NetExec icon indicating copy to clipboard operation
NetExec copied to clipboard

--dns-server option is ignored

Open jrmdev opened this issue 10 months ago • 1 comments

Describe the bug when using nxc --dns-server x.x.x.x smb ..., it still uses the DNS server from /etc/resolv.conf.

To Reproduce Looking at DNS lookups in wireshark, we can see that they are sent to the system's DNS server instead of the one specified with --dns-server

Expected behavior DNS lookups should go to the DNS server specified in the command line.

Screenshots Image

NetExec info $ nxc --version 1.3.0 - NeedForSpeed - 677e2548 - 526

jrmdev avatar Apr 04 '25 02:04 jrmdev

Not sure what the problem is, looks good on my side: Image

NeffIsBack avatar Apr 04 '25 10:04 NeffIsBack

Closing due to inactivity

NeffIsBack avatar Apr 26 '25 23:04 NeffIsBack