You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seemed that I used this poc.py login as user2 successfully.
But when i typed ".info" or any other commands, it crashed like this.
Traceback (most recent call last):
File "poc.py", line 152, in <module>
LOGGER.info(ex.exploit_fwd_readfile(cmd.split(" ",1)[1]))
File "poc.py", line 52, in exploit_fwd_readfile
data = self.exploit("xxxx\nsource %s\n"%path)
File "poc.py", line 38, in exploit
session.request_x11(auth_cookie=cmd)
File "/usr/lib/python2.7/dist-packages/paramiko/channel.py", line 63, in _check
return func(self, *args, **kwds)
File "/usr/lib/python2.7/dist-packages/paramiko/channel.py", line 474, in request_x11
self._wait_for_event()
File "/usr/lib/python2.7/dist-packages/paramiko/channel.py", line 1198, in _wait_for_event
raise e
paramiko.ssh_exception.SSHException: Channel closed.
The text was updated successfully, but these errors were encountered:
Aug 29 16:00:44 localhost sshd[16899]: Accepted password for user2 from [kali ip] port 31959 ssh2
Aug 29 16:00:44 localhost sshd[16899]: pam_unix(sshd:session): session opened for user user2 by (uid=0)
Aug 29 16:00:44 localhost systemd-logind[793]: New session 4 of user user2.
Aug 29 16:00:48 localhost sshd[16933]: error: Invalid X11 forwarding data
Aug 29 16:00:48 localhost sshd[16899]: pam_unix(sshd:session): session closed for user user2
environment:
clients:
server:
It seemed that I used this poc.py login as user2 successfully.
But when i typed ".info" or any other commands, it crashed like this.
The text was updated successfully, but these errors were encountered: