Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSH user activity fails sometimes #4

Open
landauermax opened this issue Jan 12, 2022 · 0 comments
Open

SSH user activity fails sometimes #4

landauermax opened this issue Jan 12, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@landauermax
Copy link
Contributor

Some of the SSH user state machines have the following error events in the sm.log files:

{"current_state": "ssh_executing_chain", "exception": "Traceback (most recent call last):\n File \"/opt/kyoushi/simulation/ait.beta_user/lib/python3.7/site-packages/cr_kyoushi/simulation/sm.py\", line 203, in execute_step\n self.execute_transition(log)\n File \"/opt/kyoushi/simulation/ait.beta_user/lib/python3.7/site-packages/cr_kyoushi/simulation/sm.py\", line 155, in execute_transition\n log, self.current_state, self.context\n File \"/opt/kyoushi/simulation/ait.beta_user/lib/python3.7/site-packages/cr_kyoushi/simulation/transitions.py\", line 144, in execute\n self.transition_function(log, current_state, context, self.target)\n File \"/opt/kyoushi/simulation/ait.beta_user/lib/python3.7/site-packages/cr_kyoushi/statemachines/ssh_user/actions.py\", line 261, in execute_command\n user.output = _receive(log, user.shell, expect)\n File \"/opt/kyoushi/simulation/ait.beta_user/lib/python3.7/site-packages/cr_kyoushi/statemachines/ssh_user/actions.py\", line 40, in _receive\n output_part = shell.recvS()\n File \"/opt/kyoushi/simulation/ait.beta_user/lib/python3.7/site-packages/pwnlib/tubes/tube.py\", line 1407, in wrapperS\n return packing._decode(func(self, *a, **kw))\n File \"/opt/kyoushi/simulation/ait.beta_user/lib/python3.7/site-packages/pwnlib/tubes/tube.py\", line 105, in recv\n return self._recv(numb, timeout) or b''\n File \"/opt/kyoushi/simulation/ait.beta_user/lib/python3.7/site-packages/pwnlib/tubes/tube.py\", line 183, in _recv\n if not self.buffer and not self._fillbuffer(timeout):\n File \"/opt/kyoushi/simulation/ait.beta_user/lib/python3.7/site-packages/pwnlib/tubes/tube.py\", line 154, in _fillbuffer\n data = self.recv_raw(self.buffer.get_fill_size())\n File \"/opt/kyoushi/simulation/ait.beta_user/lib/python3.7/site-packages/pwnlib/tubes/process.py\", line 686, in recv_raw\n raise EOFError\nEOFError", "level": "error", "message": "State machine execution failure", "run": "e0e7085b-7a37-4eb9-bad7-e64600b2d70e", "target": "ssh_sudo_check", "timestamp": 1641610053.623244, "transition": "ssh_exec_command", "transition_id": "dcb55624-4413-4896-bfb8-97f98912501d"}

@landauermax landauermax added the bug Something isn't working label Jan 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant