일단 파이썬으로 값이 잘 넘어가고 넘어오는지 보려고 페이로드 안짜고 툴만 돌려보고 있는데 P를 보내고 recv를 하면
Element index : 라고 나와야하는데 자꾸 가져올게 없대서요..
recv()말고 recvline이나 recvuntil(": ")를 해도 모두 EOFERROR가 떠요
뭐가 문제인가요??
p.recvuntil("> ")
b'[F]ill the box\n[P]rint the box\n[E]xit\n> 'p.sendline(b"P")
p.recv()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/uhihi/.local/lib/python3.9/site-packages/pwnlib/tubes/tube.py", line 105, in recv
return self._recv(numb, timeout) or b''
File "/home/uhihi/.local/lib/python3.9/site-packages/pwnlib/tubes/tube.py", line 183, in _recv
if not self.buffer and not self._fillbuffer(timeout):
File "/home/uhihi/.local/lib/python3.9/site-packages/pwnlib/tubes/tube.py", line 154, in _fillbuffer
data = self.recv_raw(self.buffer.get_fill_size())
File "/home/uhihi/.local/lib/python3.9/site-packages/pwnlib/tubes/sock.py", line 56, in recv_raw
raise EOFError
EOFError