when i followed the steps outline in the solution posted by @cnathansmith; i got this error message::
'''
(base) aa@codepin:~/ree$ python exploit.py
[+] Starting local process './h1dd3n_fl4g': pid 7533
Traceback (most recent call last):
File "/home/aa/ree/exploit.py", line 23, in
print(r.recvuntil(b'[ ]', drop = 'true').decode('UTF-8'))
File "/home/aa/anaconda3/lib/python3.10/site-packages/pwnlib/tubes/tube.py", line 341, in recvuntil
res = self.recv(timeout=self.timeout)
File "/home/aa/anaconda3/lib/python3.10/site-packages/pwnlib/tubes/tube.py", line 106, in recv
return self._recv(numb, timeout) or b''
File "/home/aa/anaconda3/lib/python3.10/site-packages/pwnlib/tubes/tube.py", line 176, in _recv
if not self.buffer and not self._fillbuffer(timeout):
File "/home/aa/anaconda3/lib/python3.10/site-packages/pwnlib/tubes/tube.py", line 155, in _fillbuffer
data = self.recv_raw(self.buffer.get_fill_size())
File "/home/aa/anaconda3/lib/python3.10/site-packages/pwnlib/tubes/process.py", line 688, in recv_raw
raise EOFError
EOFError
'''
So i found out that the EOFerror comes up when there is nothing, no login nor password, received by the stream.
I tried replacing the recvuntil() with the recvall() method to see if its not because of conflicting delimiters; os and the one provided for recvuntil.
i got this error:
'''
(base) aa@codepin:~/ree$ python exploit.py
[+] Starting local process './h1dd3n_fl4g': pid 8234
[+] Receiving all data: Done (0B)
[*] Process './h1dd3n_fl4g' stopped with exit code -11 (SIGSEGV) (pid 8234)
b''
'''
According to this error, nothing is received from the process.
May you please help me to fix this, please!! |
==> |