update docs

This commit is contained in:
Michel Oosterhof 2016-07-14 07:04:12 +00:00
parent 535d8a5e24
commit b155ddbe15
3 changed files with 7 additions and 8 deletions

View File

@ -4,7 +4,7 @@
# This program creates a cowrie file system pickle file. # This program creates a cowrie file system pickle file.
# #
# This is meant to build a brand new filesystem. # This is meant to build a brand new filesystem.
# To edit the file structure, please use './utils/fsctl.py' # To edit the file structure, please use 'bin/fsctl'
# #
############################################################## ##############################################################
@ -20,8 +20,7 @@ VERBOSE = False
blacklist_files = [ blacklist_files = [
'/root/fs.pickle', '/root/fs.pickle',
'/root/createfs.py', '/root/createfs',
'/root/.bash_history',
'*cowrie*', '*cowrie*',
'*kippo*', '*kippo*',
] ]

View File

@ -1,21 +1,21 @@
#!/usr/bin/env python #!/usr/bin/env python
################################################################ ################################################################
# This program creates a command line interpreter used to edit # This is a command line interpreter used to edit
# cowrie file system pickle files. # cowrie file system pickle files.
# #
# It is intended to mimic a basic bash shell and supports # It is intended to mimic a basic bash shell and supports
# relative file references. # relative file references.
# #
# Do not use to build a complete file system. Use: # Do not use to build a complete file system. Use:
# /opt/cowrie/utils/createfs.py # /opt/cowrie/bin/createfs
#
# Instead it should be used to edit existing file systems # Instead it should be used to edit existing file systems
# such as the default: /opt/cowrie/data/fs.pickle. # such as the default: /opt/cowrie/data/fs.pickle.
# #
# Donovan Hubbard # Donovan Hubbard
# Douglas Hubbard # Douglas Hubbard
# March 2013 # March 2013
#
################################################################ ################################################################
import os, pickle, sys, locale, time, cmd import os, pickle, sys, locale, time, cmd
@ -639,7 +639,7 @@ class fseditCmd(cmd.Cmd):
"gets a new client, it reads from the pickle file and loads " + \ "gets a new client, it reads from the pickle file and loads " + \
"the fake file system into memory. By default this file " + \ "the fake file system into memory. By default this file " + \
"is /opt/cowrie/data/fs.pickle. Originally the script " + \ "is /opt/cowrie/data/fs.pickle. Originally the script " + \
"/opt/cowrie/createfs.py was used to copy the file system " + \ "/opt/cowrie/bin/createfs was used to copy the file system " + \
"of the existing computer. However, it quite difficult to " + \ "of the existing computer. However, it quite difficult to " + \
"edit the pickle file by hand.\n\nThis script strives to be " + \ "edit the pickle file by hand.\n\nThis script strives to be " + \
"a bash-like interface that allows users to modify " + \ "a bash-like interface that allows users to modify " + \

View File

@ -55,7 +55,7 @@ contents_path = honeyfs
# File in the python pickle format containing the virtual filesystem. # File in the python pickle format containing the virtual filesystem.
# #
# This includes the filenames, paths, permissions for the Cowrie filesystem, # This includes the filenames, paths, permissions for the Cowrie filesystem,
# but not the file contents. This is created by the createfs.py utility from # but not the file contents. This is created by the bin/createfs utility from
# a real template linux installation. # a real template linux installation.
# #
# (default: fs.pickle) # (default: fs.pickle)