From d605c89fedcfe13d3703b5e59280c328e05d2a08 Mon Sep 17 00:00:00 2001 From: cxykevin Date: Mon, 12 Feb 2024 12:27:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=B0=83=E8=AF=95=E5=91=BD?= =?UTF-8?q?=E4=BB=A4=E8=A1=8C=E5=B7=A5=E5=85=B7unpickle?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package/debug/dbgtools/unpickle.bat | 3 +++ package/debug/dbgtools/unpickle.py | 4 +++ package/debug/manifest.json | 38 +++++++++++++++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 package/debug/dbgtools/unpickle.bat create mode 100644 package/debug/dbgtools/unpickle.py create mode 100644 package/debug/manifest.json diff --git a/package/debug/dbgtools/unpickle.bat b/package/debug/dbgtools/unpickle.bat new file mode 100644 index 0000000..98e304f --- /dev/null +++ b/package/debug/dbgtools/unpickle.bat @@ -0,0 +1,3 @@ +@echo off +X:\PEinjector\env\python X:\dbgtools\unpickle.py %1 +pause diff --git a/package/debug/dbgtools/unpickle.py b/package/debug/dbgtools/unpickle.py new file mode 100644 index 0000000..22a742b --- /dev/null +++ b/package/debug/dbgtools/unpickle.py @@ -0,0 +1,4 @@ +import sys +import pickle +with open(sys.argv[1], "rb") as file: + print(repr(pickle.load(file))) diff --git a/package/debug/manifest.json b/package/debug/manifest.json new file mode 100644 index 0000000..8d4c01d --- /dev/null +++ b/package/debug/manifest.json @@ -0,0 +1,38 @@ +{ + "version": "0.0.1", + "name": "debug", + "author": "cxykevin", + "introduce": "PEinjector/命令行工具", + "compatibility": { + "injector": { + "min": "0.0.1" + } + }, + "load": { + "symlink": true, + "mode": { + "onload": [ + { + "type": "copy", + "from": "dbgtools", + "to": "X:/dbgtools" + } + ] + } + }, + "start": { + "icon": { + "name": "cmd", + "command": "X:/Windows/system32/cmd.exe", + "icon": "X:/Windows/system32/cmd.exe" + }, + "path": [ + "X:/dbgtools" + ] + }, + "keywords": [ + "debug", + "PEinjector" + ], + "dependence": [] +} \ No newline at end of file