iagox86 / dnscat2

BSD 3-Clause "New" or "Revised" License
3.43k stars 601 forks source link

Core Dump #110

Open SirMcGruff opened 7 years ago

SirMcGruff commented 7 years ago

So i have a Ubuntu 14 server and client....connection works but after a shell command or two i get the below error on the client and the process stops:

DNS server returned an unknown character in the string: 0xc1 Unrecoverable error in libs/dns.c(92): Couldn't process string

Aborted (core dumped)

iagox86 commented 7 years ago

I've had that reported before, but haven't been able to replicate. A packet trace would be immensely helpful - can you perform a pcap and send it along?

I suspect that it's some kind of DNS extension or something else weird..

Ron

On Thu, Aug 3, 2017 at 11:17 AM, SirMcGruff notifications@github.com wrote:

So i have a Ubuntu 14 server and client....connection works but after a shell command or two i get the below error on the client and the process stops:

DNS server returned an unknown character in the string: 0xc1 Unrecoverable error in libs/dns.c(92): Couldn't process string

Aborted (core dumped)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/iagox86/dnscat2/issues/110, or mute the thread https://github.com/notifications/unsubscribe-auth/AAgITBJpx21HUuMEBJIuH8yERqRcLodNks5sUg7IgaJpZM4OszqG .

SirMcGruff commented 7 years ago

yeah but i do get this on the server:

command (dnscat2-client) 1> shell Sent request to execute a shell command (dnscat2-client) 1> Shell session created! New window created: 2 Client sent a bad sequence number (expected 64347, received 64337); re-sending Client sent a bad sequence number (expected 64347, received 64337); re-sending Client sent a bad sequence number (expected 64347, received 64337); re-sending

SirMcGruff commented 7 years ago

and this on the client side:

[[ WARNING ]] :: Bad SEQ received (Expected 466, received 452) [[ WARNING ]] :: Bad SEQ received (Expected 466, received 452) [[ WARNING ]] :: Server's signature was wrong! Ignoring! [[ WARNING ]] :: Server's signature was wrong! Ignoring! Session established! [[ WARNING ]] :: Server's signature was wrong! Ignoring! [[ WARNING ]] :: Server's signature was wrong! Ignoring! [[ WARNING ]] :: Bad SEQ received (Expected 50636, received 50632) [[ WARNING ]] :: Bad SEQ received (Expected 50636, received 50632) [[ WARNING ]] :: Bad SEQ received (Expected 50636, received 50632) [[ WARNING ]] :: Bad SEQ received (Expected 50636, received 50632) [[ WARNING ]] :: Bad SEQ received (Expected 50636, received 50632) [[ WARNING ]] :: Bad SEQ received (Expected 50636, received 50632) [[ WARNING ]] :: exec driver shut down; killing process 2886 [[ WARNING ]] :: Bad SEQ received (Expected 50653, received 50636) [[ WARNING ]] :: Tried to kill a session that's already dead: 58965 [[ WARNING ]] :: Bad SEQ received (Expected 50653, received 50636) [[ WARNING ]] :: Tried to kill a session that's already dead: 58965 [[ WARNING ]] :: Bad SEQ received (Expected 50653, received 50636) [[ WARNING ]] :: Tried to kill a session that's already dead: 58965 [[ WARNING ]] :: Bad SEQ received (Expected 50653, received 50636)

SirMcGruff commented 7 years ago

hey would like to help with this. testing from a Ubuntu 16 client/server setup using a domain i own it works fine for a while then i get this error:

DNS server returned an unknown character in the string: 0xc1 Unrecoverable error in libs/dns.c(92): Couldn't process string

Aborted (core dumped)

royharoush commented 3 years ago

also facing this, any more information we can provide to maybe help fix this ?

grmpyninja commented 3 years ago

Got same issue on the newest Ubuntu LTS 20.04

iagox86 commented 3 years ago

Sorry, I haven't really been maintaining this anymore, and don't really have the time to chase down bugs. :(

On Tue, Feb 23, 2021 at 5:15 AM Simon notifications@github.com wrote:

Got same issue on the newest Ubuntu LTS 20.04

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/iagox86/dnscat2/issues/110#issuecomment-784194680, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEAQTEFNQDRV2TFIGZ5A7LTAOS7VANCNFSM4DVTHKDA .