mirror of
https://github.com/aljazceru/cowrie.git
synced 2026-01-07 08:14:23 +01:00
New random command: wargames
git-svn-id: https://kippo.googlecode.com/svn/trunk@42 951d7100-d841-11de-b865-b3884708a8e2
This commit is contained in:
@@ -30,3 +30,16 @@ class command_orly(HoneyPotCommand):
|
||||
return
|
||||
self.orly()
|
||||
clist.append(command_orly)
|
||||
|
||||
class command_wargames(HoneyPotCommand):
|
||||
def start(self):
|
||||
self.write('Shall we play a game? ')
|
||||
|
||||
def lineReceived(self, data):
|
||||
self.writeln('A strange game. ' + \
|
||||
'The only winning move is not to play. ' + \
|
||||
'How about a nice game of chess?')
|
||||
self.exit()
|
||||
clist.append(command_wargames)
|
||||
|
||||
# vim: set sw=4 et:
|
||||
|
||||
Reference in New Issue
Block a user