From 1e8fd065cae9b3a4ca257801a756351ff6e5152e Mon Sep 17 00:00:00 2001 From: n1nj4sec Date: Tue, 31 May 2016 21:03:25 +0200 Subject: [PATCH] add useful aliases --- pupy/pupy.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pupy/pupy.conf b/pupy/pupy.conf index 184522bd..3ab13e3c 100644 --- a/pupy/pupy.conf +++ b/pupy/pupy.conf @@ -34,4 +34,7 @@ migrate = migrate shell=interactive_shell kill = process_kill killme = pyexec -c 'import os;os.kill(os.getpid(),9)' +getpid = pyexec -c 'import os;print os.getpid()' +getppid = pyexec -c 'import os;print os.getppid()' +pwd = pyexec -c 'import os;print os.getcwd()' #tasklist = shell_exec 'tasklist /v'