mirror of https://github.com/cowrie/cowrie.git
Add a configuration file
git-svn-id: https://kippo.googlecode.com/svn/trunk@18 951d7100-d841-11de-b865-b3884708a8e2
This commit is contained in:
parent
8a76ada681
commit
b6786b2296
|
@ -12,6 +12,7 @@ import sys, os, random, pickle, time, stat, copy
|
|||
|
||||
from core import ttylog
|
||||
from core.fstypes import *
|
||||
import config
|
||||
|
||||
class HoneyPotProtocol(recvline.HistoricRecvLine):
|
||||
def __init__(self, user, env):
|
||||
|
@ -19,7 +20,7 @@ class HoneyPotProtocol(recvline.HistoricRecvLine):
|
|||
self.env = env
|
||||
self.cwd = '/root'
|
||||
self.fs = HoneyPotFilesystem(deepcopy(self.env.fs))
|
||||
self.prompt = 'sales:%(path)s# '
|
||||
self.prompt = '%s:%%(path)s# ' % config.fake_hostname
|
||||
self.next_callback = None
|
||||
self.password_input = False
|
||||
|
||||
|
|
Loading…
Reference in New Issue