mirror of
https://github.com/aljazceru/cowrie.git
synced 2026-02-23 15:24:30 +01:00
explicit paths for touch
This commit is contained in:
@@ -412,6 +412,7 @@ class command_touch(HoneyPotCommand):
|
||||
# FIXME: modify the timestamp here
|
||||
continue
|
||||
self.fs.mkfile(path, 0, 0, 0, 33188)
|
||||
commands['touch'] = command_touch
|
||||
commands['/usr/bin/touch'] = command_touch
|
||||
commands['/bin/touch'] = command_touch
|
||||
|
||||
# vim: set sw=4 et:
|
||||
|
||||
Reference in New Issue
Block a user