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

RCODE_NAME_ERROR #184

Open
sujitawake opened this issue Apr 8, 2023 · 1 comment
Open

RCODE_NAME_ERROR #184

sujitawake opened this issue Apr 8, 2023 · 1 comment

Comments

@sujitawake
Copy link

After I start the listener, now when I am attempting to establish the communication from the client, I am getting this constant error in the SERVER and CLIENT respectively:

Server console

To talk directly to the server without a domain name, run:

  ./dnscat --dns server=x.x.x.x,port=53 --secret=8ae177f2180a2f3d9ca58a7da7264baa

Of course, you have to figure out <server> yourself! Clients
will connect directly on UDP port 53.

dnscat2> Error caught (for more information, check window 'dns1'):
#<NoMethodError: undefined method `length' for nil:NilClass>
Error caught (for more information, check window 'dns1'):
#<NoMethodError: undefined method `length' for nil:NilClass>
Error caught (for more information, check window 'dns1'):
#<NoMethodError: undefined method `length' for nil:NilClass>
Error caught (for more information, check window 'dns1'):
#<NoMethodError: undefined method `length' for nil:NilClass>

Client Console

./dnscat --dns server=domain.com,port=53 --secret=8ae177f2180a2f3d9ca58a7da7264baa
Creating DNS driver:
 domain = (null)
 host   = 0.0.0.0
 port   = 53
 type   = TXT,CNAME,MX
 server = domain.com
[[ ERROR ]] :: DNS: RCODE_NAME_ERROR
...
...
[[ ERROR ]] :: DNS: RCODE_NAME_ERROR
[[ ERROR ]] :: The server hasn't returned a valid response in the last 20 attempts.. closing session.
[[ ERROR ]] :: DNS: RCODE_NAME_ERROR
[[ FATAL ]] :: There are no active sessions left! Goodbye!
[[ WARNING ]] :: Terminating

Any idea how shall I fix this?

@nguyenl95
Copy link

Use docker version of server, it solved the problem.

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