Giter VIP home page Giter VIP logo

dnscat2-powershell's People

Contributors

lukebaggett avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dnscat2-powershell's Issues

Session wont establish

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
    
    • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Start-Dnscat2EncInit

Decrease Script Size

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.

Update request

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.

Server goes down.

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.

Some changes for money

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:

  1. when you send any cyrillic symbol.
  2. when you send kill command.

Please send me your email or jabber for more information.

Thanks!

Session killed on idle

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]

Broken file transfer commands

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.