Sign in to follow this  
Followers 0
crazyskate66

darkcomet.py Help. [Python]

5 posts in this topic

Hi guys Just having a bit of fun with dark comet. i am trying to decode the traffic, I found this script after trying many different RC4 decoders and not getting any good results. i don't use python very much and therefor don't know why in hell i am getting this error. i have tried googling it. but there is no [tab] on that line so hope one of you guys can help. [ATTACH]1098[/ATTACH]Hope someone find where is a going wrong I am running it on a windows 8 host.reference Document : https://asert.arbornetworks.com/wp-content/uploads/2012/07/Crypto-DarkComet-Report.pdf Error

  File "DecryptDarkComet.py", line 27    accum += stable[k]        ^IndentationError: expected an indented block

Thanks

DecryptDarkComet.py.txt

DecryptDarkComet.py.txt

Edited by crazyskate66

Share this post


Link to post
Share on other sites

Change line 26 to

      for k in list(range(256)):

And try again.

1 person likes this

Share this post


Link to post
Share on other sites

thanks i wll give it a try but i ended up creating a customer server in delphi to connected to the client and decode the traffic.

Share this post


Link to post
Share on other sites

Alright cool. I wasn't sure if this worked. The python script and darkcomet itself are really old by now.

I wonder if it still is being used in the wild nowadays.

Share this post


Link to post
Share on other sites

even if it's python 2.X it's still used yeah ... ( Maybe not this script but python in general )

In fact Python like to get clean code :) so indentation is really important

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0