mirror of
https://github.com/aljazceru/cowrie.git
synced 2025-12-18 14:34:22 +01:00
initial import
git-svn-id: https://kippo.googlecode.com/svn/trunk@1 951d7100-d841-11de-b865-b3884708a8e2
This commit is contained in:
20
core/cmdl.py
Normal file
20
core/cmdl.py
Normal file
@@ -0,0 +1,20 @@
|
||||
from commands import base, ls, wget, tar
|
||||
|
||||
cmdl = {
|
||||
'/bin/echo': base.command_echo,
|
||||
'cd': base.command_cd,
|
||||
'/bin/cat': base.command_cat,
|
||||
'/usr/bin/whoami': base.command_whoami,
|
||||
'quit': base.command_quit,
|
||||
'/usr/bin/clear': base.command_clear,
|
||||
'/bin/rm': base.command_rm,
|
||||
'/usr/bin/uptime': base.command_uptime,
|
||||
'/usr/bin/w': base.command_w,
|
||||
'/usr/bin/who': base.command_w,
|
||||
'/usr/bin/vi': base.command_vi,
|
||||
'/usr/bin/vim': base.command_vi,
|
||||
'/bin/mount': base.command_mount,
|
||||
'/bin/ls': ls.command_ls,
|
||||
'/usr/bin/wget': wget.command_wget,
|
||||
'/bin/tar': tar.command_tar,
|
||||
}
|
||||
Reference in New Issue
Block a user