mirror of https://github.com/cowrie/cowrie.git
New random command: wargames
git-svn-id: https://kippo.googlecode.com/svn/trunk@42 951d7100-d841-11de-b865-b3884708a8e2
This commit is contained in:
parent
bb422a60fc
commit
675dbadaa0
|
@ -30,3 +30,16 @@ class command_orly(HoneyPotCommand):
|
||||||
return
|
return
|
||||||
self.orly()
|
self.orly()
|
||||||
clist.append(command_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:
|
||||||
|
|
Loading…
Reference in New Issue