adding kill command

This commit is contained in:
n1nj4sec 2015-09-22 22:18:56 +02:00
parent 4cf3b731cf
commit 0d2cfaeab1
3 changed files with 4 additions and 2 deletions

View File

@ -28,6 +28,7 @@ Pupy is an opensource RAT (Remote Administration Tool) written in Python. Pupy u
- socks5 proxy
- interactive shell (cmd.exe, /bin/sh, ...)
- interactive python shell
- shellcode exec (thanks to @byt3bl33d3r)
##Quick start
In these examples the server is running on a linux host (tested on kali linux) and it's IP address is 192.168.0.1

View File

@ -14,5 +14,5 @@ pyexec = pyexec
exec = shell_exec
ps = ps
migrate = migrate
contest = pyexec -c 'print "ok"'
kill = process_kill
#tasklist = shell_exec 'tasklist /v'

View File

@ -360,10 +360,11 @@ class PupyCmd(cmd.Cmd):
self.stdout.write("{:<20} {}\n".format(m, color(d,'grey')))
def do_clients(self, arg):
""" alias for sessions """
self.do_sessions(arg)
def do_sessions(self, arg):
""" display connected clients """
""" display/interact with connected clients """
arg_parser = PupyArgumentParser(prog='sessions', description=self.do_sessions.__doc__)
arg_parser.add_argument('-i', '--interact', metavar='<filter>', help="change the default --filter value for other commands")
arg_parser.add_argument('-g', '--global-reset', action='store_true', help="reset --interact to the default global behavior")