mirror of
https://github.com/aljazceru/cowrie.git
synced 2025-12-17 05:54:21 +01:00
Fix paths for egrep/fgrep commands (#426)
* Support grep/egrep/fgrep without full path * Fixed path for egrep/fgrep * There is no grep/egrep/fgrep in /usr/bin in standard cowrie's fs.pickle.
This commit is contained in:
@@ -124,9 +124,8 @@ class command_grep(HoneyPotCommand):
|
|||||||
|
|
||||||
|
|
||||||
commands['/bin/grep'] = command_grep
|
commands['/bin/grep'] = command_grep
|
||||||
commands['/usr/bin/grep'] = command_grep
|
commands['/bin/egrep'] = command_grep
|
||||||
commands['/usr/bin/egrep'] = command_grep
|
commands['/bin/fgrep'] = command_grep
|
||||||
commands['/usr/bin/fgrep'] = command_grep
|
|
||||||
|
|
||||||
|
|
||||||
class command_tail(HoneyPotCommand):
|
class command_tail(HoneyPotCommand):
|
||||||
|
|||||||
Reference in New Issue
Block a user