From 1d80ce46749893ea43acb6616332dfe781b210a0 Mon Sep 17 00:00:00 2001 From: Ana Maria Martinez Gomez Date: Fri, 10 Jan 2025 17:28:50 +0100 Subject: [PATCH 1/2] Add pycdc.vm Add Python decompiler https://github.com/zrax/pycdc. --- packages/pycdc.vm/pycdc.vm.nuspec | 12 ++++++++++++ packages/pycdc.vm/tools/chocolateyinstall.ps1 | 10 ++++++++++ packages/pycdc.vm/tools/chocolateyuninstall.ps1 | 7 +++++++ 3 files changed, 29 insertions(+) create mode 100644 packages/pycdc.vm/pycdc.vm.nuspec create mode 100644 packages/pycdc.vm/tools/chocolateyinstall.ps1 create mode 100644 packages/pycdc.vm/tools/chocolateyuninstall.ps1 diff --git a/packages/pycdc.vm/pycdc.vm.nuspec b/packages/pycdc.vm/pycdc.vm.nuspec new file mode 100644 index 00000000..511912da --- /dev/null +++ b/packages/pycdc.vm/pycdc.vm.nuspec @@ -0,0 +1,12 @@ + + + + pycdc.vm + 0.0.0.20250110 + Michael Hansen, Darryl Pogue + Python decompiler + + + + + diff --git a/packages/pycdc.vm/tools/chocolateyinstall.ps1 b/packages/pycdc.vm/tools/chocolateyinstall.ps1 new file mode 100644 index 00000000..e86f180b --- /dev/null +++ b/packages/pycdc.vm/tools/chocolateyinstall.ps1 @@ -0,0 +1,10 @@ +$ErrorActionPreference = 'Stop' +Import-Module vm.common -Force -DisableNameChecking + +$toolName = 'pycdc' +$category = 'Python' + +$exeUrl = 'https://github.com/extremecoders-re/decompyle-builds/releases/download/build-16-Oct-2024-5e1c403/pycdc.exe' +$exeSha256 = '4dc188d897c0e6054f55c4e3f91ec01ca801ecb674314914d1b0ddfb3529512a' + +VM-Install-Single-Exe $toolName $category $exeUrl -exeSha256 $exeSha256 -consoleApp $true -arguments "--help" diff --git a/packages/pycdc.vm/tools/chocolateyuninstall.ps1 b/packages/pycdc.vm/tools/chocolateyuninstall.ps1 new file mode 100644 index 00000000..748af97d --- /dev/null +++ b/packages/pycdc.vm/tools/chocolateyuninstall.ps1 @@ -0,0 +1,7 @@ +$ErrorActionPreference = 'Continue' +Import-Module vm.common -Force -DisableNameChecking + +$toolName = 'pycdc' +$category = 'Python' + +VM-Uninstall $toolName $category From 90ff12389256d2c3726155a167bfa4a33e5f35e3 Mon Sep 17 00:00:00 2001 From: Ana Maria Martinez Gomez Date: Fri, 10 Jan 2025 17:30:34 +0100 Subject: [PATCH 2/2] Add pycdas.vm Add Python byte-code disassembler https://github.com/zrax/pycdc. --- packages/pycdas.vm/pycdas.vm.nuspec | 12 ++++++++++++ packages/pycdas.vm/tools/chocolateyinstall.ps1 | 10 ++++++++++ packages/pycdas.vm/tools/chocolateyuninstall.ps1 | 7 +++++++ 3 files changed, 29 insertions(+) create mode 100644 packages/pycdas.vm/pycdas.vm.nuspec create mode 100644 packages/pycdas.vm/tools/chocolateyinstall.ps1 create mode 100644 packages/pycdas.vm/tools/chocolateyuninstall.ps1 diff --git a/packages/pycdas.vm/pycdas.vm.nuspec b/packages/pycdas.vm/pycdas.vm.nuspec new file mode 100644 index 00000000..adcbeb83 --- /dev/null +++ b/packages/pycdas.vm/pycdas.vm.nuspec @@ -0,0 +1,12 @@ + + + + pycdas.vm + 0.0.0.20250110 + Michael Hansen, Darryl Pogue + Python byte-code disassembler + + + + + diff --git a/packages/pycdas.vm/tools/chocolateyinstall.ps1 b/packages/pycdas.vm/tools/chocolateyinstall.ps1 new file mode 100644 index 00000000..63b86fd3 --- /dev/null +++ b/packages/pycdas.vm/tools/chocolateyinstall.ps1 @@ -0,0 +1,10 @@ +$ErrorActionPreference = 'Stop' +Import-Module vm.common -Force -DisableNameChecking + +$toolName = 'pycdas' +$category = 'Python' + +$exeUrl = 'https://github.com/extremecoders-re/decompyle-builds/releases/download/build-16-Oct-2024-5e1c403/pycdas.exe' +$exeSha256 = 'b4a2c51ba859282c12ef505419c8897606345e23a97c72612b1ffaf4c12ac72d' + +VM-Install-Single-Exe $toolName $category $exeUrl -exeSha256 $exeSha256 -consoleApp $true -arguments "--help" diff --git a/packages/pycdas.vm/tools/chocolateyuninstall.ps1 b/packages/pycdas.vm/tools/chocolateyuninstall.ps1 new file mode 100644 index 00000000..dc9cfc7a --- /dev/null +++ b/packages/pycdas.vm/tools/chocolateyuninstall.ps1 @@ -0,0 +1,7 @@ +$ErrorActionPreference = 'Continue' +Import-Module vm.common -Force -DisableNameChecking + +$toolName = 'pycdas' +$category = 'Python' + +VM-Uninstall $toolName $category