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

Bug: Core dumps when forwarding over DoH #175

Open
Korving-F opened this issue Apr 30, 2022 · 1 comment
Open

Bug: Core dumps when forwarding over DoH #175

Korving-F opened this issue Apr 30, 2022 · 1 comment

Comments

@Korving-F
Copy link

Korving-F commented Apr 30, 2022

When using dns-over-https to pass the tunnel over HTTPS, core is typically dumped immediately after tunnel establishment but not always. Pings die immediately while commands on occasion return data. Encryption was turned on/off, different record types were attempted but all had the same result.

root@tunnelclient:~# ./dnscat2/client/dnscat --dns server=127.0.0.1,domain=example.com --secret=1234
Creating DNS driver:
 domain = example.com
 host   = 0.0.0.0
 port   = 53
 type   = TXT,CNAME,MX
 server = 127.0.0.1
Unrecoverable error in libs/buffer.c(699): Program read off the end of the buffer.

Aborted (core dumped)
@0x7D4
Copy link

0x7D4 commented Jun 11, 2024

How do I tunnel it over DoH? I've dnsdist and bind9 running on my client, and dnscat2 server is running on my VPS where my domain is hosted. How do I channel it through DoH?

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