Commit Graph

68 Commits

Author SHA1 Message Date
Upi Tamminen
36f2bc43b6 don't let user set password to '*' 2014-06-13 18:15:51 +03:00
Upi Tamminen
9203c8ff17 coding style tweaks 2014-06-13 18:09:48 +03:00
Upi Tamminen
e4d4ea4b2e Merge branch 'bash' of https://github.com/g0tmi1k/kippo into g0tmi1k-bash 2014-06-13 18:07:41 +03:00
Upi Tamminen
a71d6e0305 tweak chmod code style 2014-06-13 18:04:07 +03:00
g0tmi1k
96f6d11c03 Improved chmod - checks to see if file exists
:x
2014-06-13 18:00:29 +03:00
g0tmi1k
7791dd2821 Updated some bash error output 2014-06-01 14:27:51 +01:00
g0tmi1k
ed5161f177 Added basic support for 'cd -'
Could be improved to actually function, rather than a static message
2014-06-01 14:26:46 +01:00
g0tmi1k
a7b6247701 Added support for 'cd ~'
Will now return back to user's home folder
2014-06-01 14:25:52 +01:00
g0tmi1k
5027e361b6 Added '--all' response to 'uname'
Seen it used in the wild
2014-06-01 14:25:14 +01:00
desaster
60d49cc9db Merge pull request #103 from g0tmi1k/alias
Silence the "alias" command
2014-05-31 00:10:05 +03:00
desaster
cde75a2c6a Merge pull request #105 from g0tmi1k/umask
Silence the "umask" command
2014-05-31 00:08:20 +03:00
g0tmi1k
e64aad4e94 Silence the "umask" command
Credit: https://github.com/micheloosterhof/kippo
2014-05-30 04:56:08 +01:00
g0tmi1k
dce37f5e90 Silence the "alias" command
Looks “odd” when it say “not found”.
2014-05-30 04:17:18 +01:00
g0tmi1k
f871adc6d5 Add "apt-get moo" response
Possible method of trying to detect a honeypot
2014-05-29 00:48:56 +01:00
g0tmi1k
74d5cb0825 Removed all trailing spaces 2014-05-28 05:13:55 +01:00
desaster
92f1dec5d6 Add support for limiting the file size of files downloaded with wget.
new kippo.cfg option: download_limit_size

as discussed @ issue 35


git-svn-id: https://kippo.googlecode.com/svn/trunk@227 951d7100-d841-11de-b865-b3884708a8e2
2013-01-08 19:31:20 +00:00
desaster
3a7bcc0ff5 Add support for logging downloaded files via dblog
New mysql table "downloads", see doc/sql/update7.sql



git-svn-id: https://kippo.googlecode.com/svn/trunk@224 951d7100-d841-11de-b865-b3884708a8e2
2013-01-08 17:31:29 +00:00
desaster
96265ebe03 Fix #55 - don't try to change cwd to a directory that doesn't exist
git-svn-id: https://kippo.googlecode.com/svn/trunk@222 951d7100-d841-11de-b865-b3884708a8e2
2012-11-10 16:07:13 +00:00
desaster
4fac0ac51e Make exxxit only available if the client IP is 127.0.0.*
git-svn-id: https://kippo.googlecode.com/svn/trunk@221 951d7100-d841-11de-b865-b3884708a8e2
2012-11-10 14:44:50 +00:00
desaster
0eaf51c48e Update the uptime command to display real uptime of the honeypot, and zero
load. This closes issue #47

Also added a small change to ps output.


git-svn-id: https://kippo.googlecode.com/svn/trunk@217 951d7100-d841-11de-b865-b3884708a8e2
2012-04-08 16:41:34 +00:00
desaster
adf8346d5b Fix ps to resemble the real thing a bit more
git-svn-id: https://kippo.googlecode.com/svn/trunk@206 951d7100-d841-11de-b865-b3884708a8e2
2011-04-07 18:31:41 +00:00
desaster
6bf84474e6 Fix command_nop
git-svn-id: https://kippo.googlecode.com/svn/trunk@204 951d7100-d841-11de-b865-b3884708a8e2
2011-04-03 11:35:25 +00:00
desaster
432840fd4b Add support for custom commands that mimic actual malware based on their file
name or size


git-svn-id: https://kippo.googlecode.com/svn/trunk@203 951d7100-d841-11de-b865-b3884708a8e2
2011-04-03 11:33:46 +00:00
desaster
df4cf41207 New command: yes
git-svn-id: https://kippo.googlecode.com/svn/trunk@202 951d7100-d841-11de-b865-b3884708a8e2
2011-03-15 10:51:50 +00:00
desaster
dbf8e84d88 ls -a should at least display '. ..'
git-svn-id: https://kippo.googlecode.com/svn/trunk@198 951d7100-d841-11de-b865-b3884708a8e2
2011-02-06 08:14:31 +00:00
desaster
950ac23907 Initial support for non-root users. Check your root passwords!
Thanks to Walter de Jong for code
Thanks to Christian Rohling for the push



git-svn-id: https://kippo.googlecode.com/svn/trunk@196 951d7100-d841-11de-b865-b3884708a8e2
2011-02-05 21:53:54 +00:00
desaster
b06ddcfced Don't perform fake exit on certain SSH clients
git-svn-id: https://kippo.googlecode.com/svn/trunk@193 951d7100-d841-11de-b865-b3884708a8e2
2011-02-03 16:35:54 +00:00
desaster
556a0962c5 Tweaks for symbolic links, display /etc/motd on login
git-svn-id: https://kippo.googlecode.com/svn/trunk@192 951d7100-d841-11de-b865-b3884708a8e2
2011-02-03 16:25:45 +00:00
desaster
524982cdec Add support for symbolic links in ls & cat
git-svn-id: https://kippo.googlecode.com/svn/trunk@191 951d7100-d841-11de-b865-b3884708a8e2
2011-02-03 15:45:52 +00:00
desaster
9f33a5a3cb fix deprecated md5 calls (Tomasz Miklas)
git-svn-id: https://kippo.googlecode.com/svn/trunk@183 951d7100-d841-11de-b865-b3884708a8e2
2010-11-03 05:20:41 +00:00
desaster
0230b42805 New command: shutdown (jfbethlehem)
git-svn-id: https://kippo.googlecode.com/svn/trunk@177 951d7100-d841-11de-b865-b3884708a8e2
2010-10-25 15:08:53 +00:00
desaster
d089b564b6 Moved filesystem related commands to kippo/commands/fs.py
git-svn-id: https://kippo.googlecode.com/svn/trunk@160 951d7100-d841-11de-b865-b3884708a8e2
2010-07-13 17:06:32 +00:00
desaster
eb708a2f08 New commands: cp & mv
git-svn-id: https://kippo.googlecode.com/svn/trunk@159 951d7100-d841-11de-b865-b3884708a8e2
2010-07-13 17:00:53 +00:00
desaster
b2cb068857 create full directory paths if needed when untarring
git-svn-id: https://kippo.googlecode.com/svn/trunk@153 951d7100-d841-11de-b865-b3884708a8e2
2010-06-30 13:24:28 +00:00
desaster
690eb07b2e accidentally left 'last' out of the reverted code
git-svn-id: https://kippo.googlecode.com/svn/trunk@152 951d7100-d841-11de-b865-b3884708a8e2
2010-06-30 13:23:53 +00:00
desaster
f6665ab796 Revert command module loading change until fixed
git-svn-id: https://kippo.googlecode.com/svn/trunk@151 951d7100-d841-11de-b865-b3884708a8e2
2010-06-30 06:28:00 +00:00
desaster
0d70a7b4e0 last improvements + last now uses a plain text file instead of anydbm
git-svn-id: https://kippo.googlecode.com/svn/trunk@150 951d7100-d841-11de-b865-b3884708a8e2
2010-06-29 20:00:02 +00:00
desaster
d8b1b0df63 To simplify customization, load kippo/commands/*.py using a directory listing
git-svn-id: https://kippo.googlecode.com/svn/trunk@149 951d7100-d841-11de-b865-b3884708a8e2
2010-06-29 19:15:32 +00:00
desaster
aee8bc4d20 Fix some wget error handling
git-svn-id: https://kippo.googlecode.com/svn/trunk@148 951d7100-d841-11de-b865-b3884708a8e2
2010-06-29 19:14:26 +00:00
desaster
59eba484a5 Fix lastlog sorting (Janne Snabb)
git-svn-id: https://kippo.googlecode.com/svn/trunk@147 951d7100-d841-11de-b865-b3884708a8e2
2010-06-29 19:13:56 +00:00
desaster
3779ba2471 Added patches submitted by Janne Snabb:
* New config option "ssh_addr", which can be used to be bind kippo to a
   specific IP 
 * New config option "out_addr", which tells kippo to bind to a specific IP
   for outgoing connections (wget)
 * wget now sends a fake user-agent
 * anydbm .iterkeys() isn't necessarily available (passwd, last)


git-svn-id: https://kippo.googlecode.com/svn/trunk@143 951d7100-d841-11de-b865-b3884708a8e2
2010-06-27 20:18:22 +00:00
desaster
08c78407ab Issue #16:
Last 25 users connecting to honeypot will be seen using 'last'.
anydbm database, logs all in a last-like format.

(by jfbethlehem)



git-svn-id: https://kippo.googlecode.com/svn/trunk@140 951d7100-d841-11de-b865-b3884708a8e2
2010-06-21 17:53:35 +00:00
desaster
c535742c38 New command: logout == exit (Janne Snabb)
git-svn-id: https://kippo.googlecode.com/svn/trunk@139 951d7100-d841-11de-b865-b3884708a8e2
2010-06-21 04:57:24 +00:00
desaster
d95a85401b Fix #15, touch crashes when trying to touch unreachable files
(by jfbethlehem)


git-svn-id: https://kippo.googlecode.com/svn/trunk@136 951d7100-d841-11de-b865-b3884708a8e2
2010-06-18 18:29:02 +00:00
desaster
dbc3e1b13a Fix issue #14, tar hangs when trying to unpack a file without a directory
(by jfbethlehem)


git-svn-id: https://kippo.googlecode.com/svn/trunk@135 951d7100-d841-11de-b865-b3884708a8e2
2010-06-18 18:21:35 +00:00
desaster
f28a852518 New command: date - thanks adnan!
git-svn-id: https://kippo.googlecode.com/svn/trunk@114 951d7100-d841-11de-b865-b3884708a8e2
2010-06-01 04:34:53 +00:00
desaster
3840cbbd04 Added new command: exxxit, which actually exits (for developer's purposes)
git-svn-id: https://kippo.googlecode.com/svn/trunk@111 951d7100-d841-11de-b865-b3884708a8e2
2010-05-29 12:42:42 +00:00
desaster
590540178e adduser - replace test123 with the actual username
git-svn-id: https://kippo.googlecode.com/svn/trunk@110 951d7100-d841-11de-b865-b3884708a8e2
2010-05-08 20:39:26 +00:00
desaster
fcbce3a6dd New command: touch
git-svn-id: https://kippo.googlecode.com/svn/trunk@107 951d7100-d841-11de-b865-b3884708a8e2
2010-04-24 13:12:31 +00:00
desaster
7f8f5d2ed9 * Added the ability to add new root passwords to data/pass.db (anydbm). This
is utilized by the passwd command.
 * New kippo.cfg entries: data_path & txtcmds_path


git-svn-id: https://kippo.googlecode.com/svn/trunk@103 951d7100-d841-11de-b865-b3884708a8e2
2010-04-14 09:26:04 +00:00