Commit Graph

71 Commits

Author SHA1 Message Date
desaster 463898b5c1 fix rsa key generation once more
git-svn-id: https://kippo.googlecode.com/svn/trunk@86 951d7100-d841-11de-b865-b3884708a8e2
2009-11-27 22:49:32 +00:00
desaster 2ac5b46652 Fix finding kippo.cfg
git-svn-id: https://kippo.googlecode.com/svn/trunk@85 951d7100-d841-11de-b865-b3884708a8e2
2009-11-27 20:44:01 +00:00
desaster 8c4eae2f57 should probably call config() before using it
git-svn-id: https://kippo.googlecode.com/svn/trunk@84 951d7100-d841-11de-b865-b3884708a8e2
2009-11-26 21:33:26 +00:00
desaster b4ef820816 New command: history
git-svn-id: https://kippo.googlecode.com/svn/trunk@83 951d7100-d841-11de-b865-b3884708a8e2
2009-11-26 15:37:19 +00:00
desaster 1508f60838 don't show the yes/no question as the host
git-svn-id: https://kippo.googlecode.com/svn/trunk@82 951d7100-d841-11de-b865-b3884708a8e2
2009-11-26 15:36:48 +00:00
desaster 76876dd2c2 write keypair to the files from kippo.cfg
git-svn-id: https://kippo.googlecode.com/svn/trunk@80 951d7100-d841-11de-b865-b3884708a8e2
2009-11-25 19:38:17 +00:00
desaster 04fd72b436 * show client ip address in "w"
* a little shell tweak


git-svn-id: https://kippo.googlecode.com/svn/trunk@79 951d7100-d841-11de-b865-b3884708a8e2
2009-11-25 19:02:16 +00:00
desaster 6b1120824a * ctrl-c should empty the line buffer
* don't add lines to history if within a command


git-svn-id: https://kippo.googlecode.com/svn/trunk@78 951d7100-d841-11de-b865-b3884708a8e2
2009-11-25 17:10:55 +00:00
desaster a3dd5c0d6e more realistic looking ssh
git-svn-id: https://kippo.googlecode.com/svn/trunk@77 951d7100-d841-11de-b865-b3884708a8e2
2009-11-25 17:09:13 +00:00
desaster 51da3b27fd Fix '..' in resolve_path_wc
git-svn-id: https://kippo.googlecode.com/svn/trunk@75 951d7100-d841-11de-b865-b3884708a8e2
2009-11-24 21:46:01 +00:00
desaster aa451bc2fd removed list_files, which was just calling get_path
implemented wildcard aware path resolving


git-svn-id: https://kippo.googlecode.com/svn/trunk@74 951d7100-d841-11de-b865-b3884708a8e2
2009-11-24 21:35:51 +00:00
desaster 8f8814e705 add missing public_key & private_key
git-svn-id: https://kippo.googlecode.com/svn/trunk@73 951d7100-d841-11de-b865-b3884708a8e2
2009-11-24 18:53:46 +00:00
desaster 31d57054f2 support multiple commands separated by ;
git-svn-id: https://kippo.googlecode.com/svn/trunk@72 951d7100-d841-11de-b865-b3884708a8e2
2009-11-24 18:52:19 +00:00
desaster 5078be6bb3 log ssh input
git-svn-id: https://kippo.googlecode.com/svn/trunk@71 951d7100-d841-11de-b865-b3884708a8e2
2009-11-24 18:51:51 +00:00
desaster 387ffa3bad allow recursive rm
git-svn-id: https://kippo.googlecode.com/svn/trunk@70 951d7100-d841-11de-b865-b3884708a8e2
2009-11-24 18:51:31 +00:00
desaster 0c9be54e20 Update README
git-svn-id: https://kippo.googlecode.com/svn/trunk@64 951d7100-d841-11de-b865-b3884708a8e2
2009-11-23 16:36:54 +00:00
desaster 97256e45f6 * exit and ssh should reset cwd
* More kippo.cfg options: contents_path, public_key, private_key


git-svn-id: https://kippo.googlecode.com/svn/trunk@55 951d7100-d841-11de-b865-b3884708a8e2
2009-11-23 14:45:48 +00:00
desaster ff1579f6fe win32 fixes
git-svn-id: https://kippo.googlecode.com/svn/trunk@54 951d7100-d841-11de-b865-b3884708a8e2
2009-11-22 19:22:36 +00:00
desaster 5d1a22dee6 config fix
git-svn-id: https://kippo.googlecode.com/svn/trunk@53 951d7100-d841-11de-b865-b3884708a8e2
2009-11-22 08:09:59 +00:00
desaster 34257aa97b cleanup core, which was moved
git-svn-id: https://kippo.googlecode.com/svn/trunk@52 951d7100-d841-11de-b865-b3884708a8e2
2009-11-22 07:09:44 +00:00
desaster 512491c640 svn breakage
git-svn-id: https://kippo.googlecode.com/svn/trunk@51 951d7100-d841-11de-b865-b3884708a8e2
2009-11-22 07:09:09 +00:00
desaster 88d377cfc6 move core/ and commands/ to kippo/
git-svn-id: https://kippo.googlecode.com/svn/trunk@50 951d7100-d841-11de-b865-b3884708a8e2
2009-11-22 07:07:58 +00:00
desaster 876e116b62 load fs.pickle location from config
git-svn-id: https://kippo.googlecode.com/svn/trunk@49 951d7100-d841-11de-b865-b3884708a8e2
2009-11-22 07:00:04 +00:00
desaster 6542b9cfb5 move configuration to kippo.cfg (ConfigParser)
git-svn-id: https://kippo.googlecode.com/svn/trunk@48 951d7100-d841-11de-b865-b3884708a8e2
2009-11-22 06:56:30 +00:00
desaster d60f9232a5 don't import default, it was just a test
git-svn-id: https://kippo.googlecode.com/svn/trunk@47 951d7100-d841-11de-b865-b3884708a8e2
2009-11-22 01:01:36 +00:00
desaster d4ad2ec46c win32 tweaks
git-svn-id: https://kippo.googlecode.com/svn/trunk@46 951d7100-d841-11de-b865-b3884708a8e2
2009-11-22 00:49:53 +00:00
desaster 0453c28c63 win32 tweaks
git-svn-id: https://kippo.googlecode.com/svn/trunk@45 951d7100-d841-11de-b865-b3884708a8e2
2009-11-22 00:05:06 +00:00
desaster f6c682c8e9 win32 fixes
git-svn-id: https://kippo.googlecode.com/svn/trunk@44 951d7100-d841-11de-b865-b3884708a8e2
2009-11-21 20:29:03 +00:00
desaster f4e4445588 win32 fixes
git-svn-id: https://kippo.googlecode.com/svn/trunk@43 951d7100-d841-11de-b865-b3884708a8e2
2009-11-21 19:50:25 +00:00
desaster 675dbadaa0 New random command: wargames
git-svn-id: https://kippo.googlecode.com/svn/trunk@42 951d7100-d841-11de-b865-b3884708a8e2
2009-11-21 13:25:14 +00:00
desaster bb422a60fc according to http://www.securityfocus.com/infocus/1876, "123456" should be the
most common password attempt


git-svn-id: https://kippo.googlecode.com/svn/trunk@41 951d7100-d841-11de-b865-b3884708a8e2
2009-11-21 12:58:52 +00:00
desaster 902b0ce29e move filesystem related stuff to core/fs.py
git-svn-id: https://kippo.googlecode.com/svn/trunk@40 951d7100-d841-11de-b865-b3884708a8e2
2009-11-21 11:51:23 +00:00
desaster 9c93742f45 Add HoneypotPasswordChecker which will log attempted passwords and allow
multiple passwords for one user


git-svn-id: https://kippo.googlecode.com/svn/trunk@39 951d7100-d841-11de-b865-b3884708a8e2
2009-11-21 11:07:26 +00:00
desaster 536ec915d1 prevent rmdir of non-empty directories
git-svn-id: https://kippo.googlecode.com/svn/trunk@38 951d7100-d841-11de-b865-b3884708a8e2
2009-11-20 17:01:10 +00:00
desaster 078904c7a8 forgot to remove a debug thingie
git-svn-id: https://kippo.googlecode.com/svn/trunk@37 951d7100-d841-11de-b865-b3884708a8e2
2009-11-20 16:43:11 +00:00
desaster 3b2e208f72 poor orly owl was missing a part of his head
git-svn-id: https://kippo.googlecode.com/svn/trunk@36 951d7100-d841-11de-b865-b3884708a8e2
2009-11-20 16:32:12 +00:00
desaster 2d363cee9a forgot to include dice.py in last update
git-svn-id: https://kippo.googlecode.com/svn/trunk@35 951d7100-d841-11de-b865-b3884708a8e2
2009-11-20 15:49:23 +00:00
desaster 39c68ce598 A bunch of changes:
* filesystem has a new field A_REALFILE, which can be set to point to a real
  file within dl/ or honeyfs/ for use with cat or tar
* createfs.py update
* Added copyright texts & BSD license
* Command arguments are now parsed with shlex and passed to commands as a list
* new HoneyPotFilesystem methods: mkdir, realfile, update_realfile, is_dir
* New command: reboot
* Improved ls
* A local copy of env.commands is now kept for each session to allow dynamic
  changes
* New commands module: dice - contains random commands assigned to newly
  created files
* Improved tar - pretends to create real files now
* Something else I forgot



git-svn-id: https://kippo.googlecode.com/svn/trunk@34 951d7100-d841-11de-b865-b3884708a8e2
2009-11-20 15:48:45 +00:00
desaster ee159e2c66 simpler start.sh is ok
git-svn-id: https://kippo.googlecode.com/svn/trunk@33 951d7100-d841-11de-b865-b3884708a8e2
2009-11-19 15:30:34 +00:00
desaster 9d184aeca9 Switch to using a .tac file instead of kippo.py
git-svn-id: https://kippo.googlecode.com/svn/trunk@32 951d7100-d841-11de-b865-b3884708a8e2
2009-11-19 15:24:57 +00:00
desaster 92a2276c14 commands are now loaded and assigned to their fake binaries in a way that is
more straightforward when adding new commands.

also wget improvements

+ something else


git-svn-id: https://kippo.googlecode.com/svn/trunk@31 951d7100-d841-11de-b865-b3884708a8e2
2009-11-19 14:56:36 +00:00
desaster 9bc56569b4 Have wget assume urls should start with http://
git-svn-id: https://kippo.googlecode.com/svn/trunk@30 951d7100-d841-11de-b865-b3884708a8e2
2009-11-18 21:28:41 +00:00
desaster 197322b6c4 Fix when running wget without parameters
git-svn-id: https://kippo.googlecode.com/svn/trunk@29 951d7100-d841-11de-b865-b3884708a8e2
2009-11-18 21:09:09 +00:00
desaster 70f542669b Make wget more realistic
git-svn-id: https://kippo.googlecode.com/svn/trunk@28 951d7100-d841-11de-b865-b3884708a8e2
2009-11-18 21:05:29 +00:00
desaster a06c4794c6 Fix input beginning with spaces
git-svn-id: https://kippo.googlecode.com/svn/trunk@27 951d7100-d841-11de-b865-b3884708a8e2
2009-11-18 21:05:10 +00:00
desaster 990071ab61 New command: rmdir
git-svn-id: https://kippo.googlecode.com/svn/trunk@26 951d7100-d841-11de-b865-b3884708a8e2
2009-11-18 21:04:52 +00:00
desaster 99a57cc5a4 New command: rmdir
git-svn-id: https://kippo.googlecode.com/svn/trunk@25 951d7100-d841-11de-b865-b3884708a8e2
2009-11-18 21:04:35 +00:00
desaster 617910ed93 core tweaking, improvements
New commands: hostname, ps, ping
wget improvements
filesystem improvements
other stuff i forgot



git-svn-id: https://kippo.googlecode.com/svn/trunk@24 951d7100-d841-11de-b865-b3884708a8e2
2009-11-18 16:20:01 +00:00
desaster 5c0191e28b prettier commands
git-svn-id: https://kippo.googlecode.com/svn/trunk@23 951d7100-d841-11de-b865-b3884708a8e2
2009-11-18 05:59:58 +00:00
desaster 27cb7d4eda ssh improvements
git-svn-id: https://kippo.googlecode.com/svn/trunk@22 951d7100-d841-11de-b865-b3884708a8e2
2009-11-18 05:57:34 +00:00