mirror of https://github.com/cowrie/cowrie.git
update docs
This commit is contained in:
parent
535d8a5e24
commit
b155ddbe15
|
@ -4,7 +4,7 @@
|
|||
# This program creates a cowrie file system pickle file.
|
||||
#
|
||||
# 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 = [
|
||||
'/root/fs.pickle',
|
||||
'/root/createfs.py',
|
||||
'/root/.bash_history',
|
||||
'/root/createfs',
|
||||
'*cowrie*',
|
||||
'*kippo*',
|
||||
]
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
#!/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.
|
||||
#
|
||||
# It is intended to mimic a basic bash shell and supports
|
||||
# relative file references.
|
||||
#
|
||||
# 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
|
||||
# such as the default: /opt/cowrie/data/fs.pickle.
|
||||
#
|
||||
# Donovan Hubbard
|
||||
# Douglas Hubbard
|
||||
# March 2013
|
||||
#
|
||||
################################################################
|
||||
|
||||
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 " + \
|
||||
"the fake file system into memory. By default this file " + \
|
||||
"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 " + \
|
||||
"edit the pickle file by hand.\n\nThis script strives to be " + \
|
||||
"a bash-like interface that allows users to modify " + \
|
||||
|
|
|
@ -55,7 +55,7 @@ contents_path = honeyfs
|
|||
# File in the python pickle format containing the virtual 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.
|
||||
#
|
||||
# (default: fs.pickle)
|
||||
|
|
Loading…
Reference in New Issue