iagox86 / dnscat2

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

cannot connect with query type "A" #132

Open aggrik opened 6 years ago

aggrik commented 6 years ago

When try to connect, the session is reset. With other types of requests, the session is established and stable.

$ --dns server=ip_adress,type=A -d Creating DNS driver: domain = (null) host = 0.0.0.0 port = 53 type = A server = ip_adress [[ INFO ]] :: Setting session->name to command (HOST) [[ INFO ]] :: Sending DNS query for: dnscat.blablabla to ip_adress:53 NOT IMPLEMENTED! [[ WARNING ]] :: Terminating

Server: $ domain.name -e open -f

-f shows: dnscat2> Received: dnscat.blablabla(A) Creating Encryptor with secret: "secret" New window created: 1 history_size (session) => 1000 Not decrypting data (incoming data seemed to be cleartext): ["cleartext"] Setting their public key: "public key"

Setting my public key: "public key"

Returning an unencrypted response Sending: ["83.73.216.207", "84.3.100.20", "85.0.0.0", "86.0.6.112", "87.135.129.213", "88.102.41.64", "89.168.202.73", "90.227.167.92", "91.198.147.150", "92.192.63.248", "93.164.101.150", "94.30.176.207", "95.114.92.251", "96.221.195.244", "97.155.228.141", "98.91.48.87", "99.77.61.97", "100.170.177.81", "101.175.248.78", "102.67.167.180", "103.94.105.15", "104.64.239.110", "105.109.167.161", "106.254.183.43", "107.22.133.255"]

i will to hide queryes and adresses Please help in solving.