* Add support for '>>' redirection
* Add redir files hashing
* Delete only ">" or ">>" + file name from cmd args
* Update stdin/redir messages to include SHA-256 hash of the file content
* Small style fixes, log if we don't store duplicate
* Bug fixes for wget command
* Use os.path.join instead of string formatting
* Use "with" for hashing a file to prevent handle leakage
* Don't overwrite self.safeoutfile if it was already set in HoneyPotyCommand's init method
* Don't overwrite self.safeoutfile with hash, else it will break stuff in insults.py
* Revert "Delete only ">" or ">>" + file name from cmd args"
This reverts commit f3f8b90cbe.
* Fix bugged check for presence of safeoutfile attribute.
* Don't overwrite safeoutfile in curl
* Don't store None objects
* Include transportId and sessionId to all safeoutfiles to avoid collisions.
* Remove empty tftp files, double logging fix
* Remove duplicate of os.symlink() call, add transportID, sessionID to safeoutfile name
* Remove empty file in case of exception
* Extend mongo output to use more collections. Matching the style of the other output methods
* Start to update session from other keys
* Logging and endtime in to session
Some telnet clients attempt to initiate negotiation about SGA and LINEMODE themselves, but only when a port isn't specified on the command line. If we allow them to enable SGA or LINEMODE, they change from sending a newline character when enter is pressed to sending a carriage return. Cowrie can't handle this properly at the login prompt, which prevents the client from being able to login.
I left the old code commented out so it is easier re-enable once Cowrie/Twisted support the Telnet protocol better.
Fixes#414
* Update logstash's configuration to reflect changes in maxmind's geoip databases
* Update documentation on "ELK Stack"
* Add sample of filebeat configuration
* Update documentation for "ELK Stack" with FileBeat option
* Add some tips on configuration of kibana
* Remove outdated kibana-cowrie.conf
* Add link to XPack
* Updated service template to use the virtual-env and proper PID file location
* Fixed PIDFile path in cowrie.service template
* Revert "Fixed PIDFile path in cowrie.service template"
This reverts commit 022afb7134.
* Revert "Revert "Fixed PIDFile path in cowrie.service template""
This reverts commit 5b01372176.
Revert changes
* Fixed PIDFile path in cowrie.service template
* Updated to correct PIDFile path for cowrie.service
* Updated service template to use the virtual-env and proper PID file location
* Fixed PIDFile path in cowrie.service template
* Revert "Fixed PIDFile path in cowrie.service template"
This reverts commit 022afb7134.
* Revert "Revert "Fixed PIDFile path in cowrie.service template""
This reverts commit 5b01372176.
Revert changes
* Fixed PIDFile path in cowrie.service template
* Improve handling of ImportErrors to notify users that they need to install new dependencies
Also added missing dependency to requirements.txt
* Mention installing dependencies in virtualenv if used
* Move requirements used only by output modules to a separate file
* Using a virtualenv is now the only officially supported method
* Handle ImportErrors when loading output plugins so different install instructions can be given
* Cleanup requirements-output.txt
* * Updating start script to run in the foreground when using supervisord.
* Update install documentation to reference use of supervisord and install on OSX
* Updating index of INSTALL.md to with reference to supervisord
* Adding slack output and db
* Restoring start.sh back to default of AUTHBIND_ENABLED=no and DAEMONIZE=no
* Updating with pretty formatting of json dump
* Telnet option negotiation now chained and handled better to prevent logging expected errors
Also added support for parsing NAWS negotiation and setting windowSize accordingly
This still needs more work to realistically behave like other Telnet servers, but it is limited significantly by Twisted's limited option support and Telnet clients' inconsistent behavior
* While not standard, negotiating these options here does result in better client behavior
* Cleanup old comments and unused code