lukebaggett / dnscat2-powershell Goto Github PK
View Code? Open in Web Editor NEWA Powershell client for dnscat2, an encrypted DNS command and control tool.
Home Page: https://github.com/iagox86/dnscat2
A Powershell client for dnscat2, an encrypted DNS command and control tool.
Home Page: https://github.com/iagox86/dnscat2
I have the sever running but get the below error on the Windows client:
Start-Dnscat2EncInit : Failed to negotiate encryption. Ensure your dnscat2 server is set up correctly.
At line:1468 char:40
$Session = Start-Dnscat2EncInit <<<< $Session $False
At the moment, encryption functions use BouncyCastle's crypto DLL, which requires a reflective load of a huge amount of data, significantly increasing the script size. This should be avoided, which will require finding alternative Salsa20, SHA3, and ECDH-P256 functions.
Hi mate, the script is amazing, and I was wondering if you have any plans of updating it to support the latest version of DNScat2 with all its new features?.
Cheers.
I just running dnscat2 server and waiting for client.
I used --security=open.
ruby ./dnscat2.rb --security=open mydomain.com
dnscat2> /root/dnscat2/server/libs/dnser.rb:179:in unpack': DNS packet was truncated (or we messed up parsing it)! (DNSer::Packet::FormatException) from /root/dnscat2/server/libs/dnser.rb:209:in
block in unpack_name'
from /root/dnscat2/server/libs/dnser.rb:207:in loop' from /root/dnscat2/server/libs/dnser.rb:207:in
unpack_name'
from /root/dnscat2/server/libs/dnser.rb:484:in parse' from /root/dnscat2/server/libs/dnser.rb:644:in
block in parse'
from /root/dnscat2/server/libs/dnser.rb:643:in upto' from /root/dnscat2/server/libs/dnser.rb:643:in
parse'
from /root/dnscat2/server/libs/dnser.rb:847:in block (2 levels) in on_request' from /root/dnscat2/server/libs/dnser.rb:843:in
loop'
from /root/dnscat2/server/libs/dnser.rb:843:in `block in on_request'
After this error dnscat2-server goes down and I should re-run it.
I did not sent a client.
Thanks.
Hi!
Is it possible to make some changes for money?
I can pay you bitcoins for some changes in your powershell script dnscat2-powershell.
I found few bugs:
Please send me your email or jabber for more information.
Thanks!
Add documentation and more comments.
When I send any russian text - the dnscat2-powershell does not work properly.
session got terminated after a part of time and when the computer is in idle mode the session got disconnected and error code shown=
CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Update-Dnscat2Session
on line 2105 and char 41
$Sessions[$SessionId] = Update-Dnscat2Session $Sessions[$SessionId]
The following commands are having issues:
upload /tmp/test C:/test
download C:/test /tmp/test
For download, dnscat2 says that it is expecting more bytes and fails to write the file, or the file is written but is missing a few bytes at the end. For upload, sometimes it works, and sometimes nothing happens.
Looking into this.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.