mirror of
https://github.com/aljazceru/cowrie.git
synced 2026-01-24 00:24:30 +01:00
formatting
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
# Copyright (c) 2015 Michel Oosterhof <michel@oosterhof.net>
|
||||
# All rights reserved.
|
||||
|
||||
"""
|
||||
This module contains the sleep command
|
||||
"""
|
||||
|
||||
from twisted.internet import reactor
|
||||
|
||||
@@ -11,9 +17,14 @@ class command_sleep(HoneyPotCommand):
|
||||
"""
|
||||
|
||||
def done(self):
|
||||
"""
|
||||
"""
|
||||
self.exit()
|
||||
|
||||
|
||||
def start(self):
|
||||
"""
|
||||
"""
|
||||
if len(self.args) == 1:
|
||||
_time = int( self.args[0] )
|
||||
self.scheduled = reactor.callLater(_time, self.done)
|
||||
|
||||
Reference in New Issue
Block a user