diff --git a/Pipfile b/Pipfile index a88b6f8d..54c179e5 100644 --- a/Pipfile +++ b/Pipfile @@ -13,7 +13,7 @@ rope = "*" [packages] pandas = "*" prompt-toolkit = "*" -pycrypto = "*" +pycryptodome = "==3.15.0" psycopg2-binary = "*" pyOpenSSL = "*" PyYAML = "*" diff --git a/poshc2/server/payloads/Payloads.py b/poshc2/server/payloads/Payloads.py index 65855a16..6f282795 100644 --- a/poshc2/server/payloads/Payloads.py +++ b/poshc2/server/payloads/Payloads.py @@ -728,12 +728,14 @@ def CreateDynamicCodeTemplate(self, name=""): def CreateDonutShellcode(self, name="", pbindOnly=False): self.QuickstartLog(Colours.END) - self.QuickstartLog("Donut shellcode files:") - for Payload in PayloadType: - if not pbindOnly: - self.CreateDonutShellcodeFile(Payload, name) - if pbindOnly and Payload in (PayloadType.PBind, PayloadType.PBindSharp): - self.CreateDonutShellcodeFile(Payload, name) + self.QuickstartLog("Donut shellcode creation temporarily removed due to breaking changes in python 3.10") + self.QuickstartLog("Waiting on a fix to the donut module") + # self.QuickstartLog("Donut shellcode files:") + # for Payload in PayloadType: + # if not pbindOnly: + # self.CreateDonutShellcodeFile(Payload, name) + # if pbindOnly and Payload in (PayloadType.PBind, PayloadType.PBindSharp): + # self.CreateDonutShellcodeFile(Payload, name) def CreateDonutShellcodeFile(self, payloadtype, name=""): if payloadtype == PayloadType.Posh_v2: