Skip to content
This repository has been archived by the owner on Mar 15, 2019. It is now read-only.

Uptime file not generated #153

Open
johnnykv opened this issue Nov 3, 2013 · 0 comments
Open

Uptime file not generated #153

johnnykv opened this issue Nov 3, 2013 · 0 comments
Labels
Milestone

Comments

@johnnykv
Copy link
Member

johnnykv commented Nov 3, 2013

The telnet and ssh sessions crashes when the attacker use the uptime command. This is because we do not yet generate (and update) /proc/uptime.

Example error from a hive session:

[james@host /]$ uptime
Traceback (most recent call last):
  File "/Users/jkv/repos/beeswarm/beeswarm/hive/capabilities/shared/shell.py", line 229, in handle
    self.COMMANDS[cmd](params)
  File "/Users/jkv/repos/beeswarm/beeswarm/hive/capabilities/shared/shell.py", line 201, in command_uptime
    with open('/proc/uptime', 'r') as f:
IOError: [Errno 2] No such file or directory: '/proc/uptime'
@johnnykv johnnykv modified the milestone: Release 1.0 May 1, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant