mirror of
https://github.com/cowrie/cowrie.git
synced 2025-07-01 18:07:27 -04:00
PEP257
This commit is contained in:
@ -19,10 +19,12 @@ class command_faked_package_class_factory(object):
|
||||
self.writeln("%s: Segmentation fault" % name)
|
||||
return command_faked_installation
|
||||
|
||||
'''apt-get fake
|
||||
suppports only the 'install PACKAGE' command & 'moo'.
|
||||
Any installed packages, places a 'Segfault' at /usr/bin/PACKAGE.'''
|
||||
class command_aptget(HoneyPotCommand):
|
||||
"""
|
||||
apt-get fake
|
||||
suppports only the 'install PACKAGE' command & 'moo'.
|
||||
Any installed packages, places a 'Segfault' at /usr/bin/PACKAGE.'''
|
||||
"""
|
||||
def start(self):
|
||||
if len(self.args) == 0:
|
||||
self.do_help()
|
||||
|
||||
@ -5,8 +5,11 @@ from cowrie.core.honeypot import HoneyPotCommand
|
||||
|
||||
commands = {}
|
||||
|
||||
'''sleep'''
|
||||
class command_sleep(HoneyPotCommand):
|
||||
"""
|
||||
Sleep
|
||||
"""
|
||||
|
||||
def done(self):
|
||||
self.exit()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user