Mr-Un1k0d3r / ThunderShell

Python / C# Unmanaged PowerShell based RAT
Other
772 stars 223 forks source link

TypeError: Object type <class 'str'> cannot be passed to C code #122

Open Epicccal opened 1 year ago

Epicccal commented 1 year ago

Hello, I met a bug when the implant connects to my C2 Server.

The traceback : image

The error seems to be triggered during encoding. So I add .encode("utf-8") in ThunderShell/core/rc4.py image

Then the bug disappeared :) image

May need a fix? Thank you

L1ghtn1ng commented 1 year ago

If you submit a PR I can merge it

On 21 Feb 2023, at 10:17, Epicccal @.***> wrote:



Hello, I met a bug when the implant connects to my C2 Server.

The traceback : [image]https://user-images.githubusercontent.com/34046030/220314475-80ca62cb-b94d-4348-9b65-38f4c10b7c2c.png

The error seems to be triggered during encoding. So I add .encode("utf-8") in ThunderShell/core/rc4.py [image]https://user-images.githubusercontent.com/34046030/220315372-0232112e-8a0b-4718-96c5-bef392ea90e7.png

Then the bug disappear :) [image]https://user-images.githubusercontent.com/34046030/220315726-f674514c-7d3f-43e5-aa80-9648c04054da.png

May need a fix? Thank you

— Reply to this email directly, view it on GitHubhttps://github.com/Mr-Un1k0d3r/ThunderShell/issues/122, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA3V2QV2WPB55KLRE25DHV3WYSI4JANCNFSM6AAAAAAVC3FCBE. You are receiving this because you are subscribed to this thread.Message ID: @.***>