[MISC] QuickR

I of course am a quick R :face_with_raised_eyebrow:

Guess after the CTF ended I felt the need to complete HTB challenges again, this one was certainly easy, just needed some coding

If anyone ends up needing help, just send me a message, R is always here :heart:

Hey Everyone quick question can you give me hint on this like what can cause the issue

python3 QRdecoder.py
[-] Opening connection to ://161.35.170.221 on port 32357: Failed
[ERROR] Could not resolve hostname: ‘://161.35.170.221’
Traceback (most recent call last):
File “/home/happyhunting/.local/lib/python3.11/site-packages/pwnlib/tubes/remote.py”, line 77, in init
self.sock = self._connect(fam, typ)
^^^^^^^^^^^^^^^^^^^^^^^
File “/home/happyhunting/.local/lib/python3.11/site-packages/pwnlib/tubes/remote.py”, line 103, in _connect
for res in socket.getaddrinfo(self.rhost, self.rport, fam, typ, 0, socket.AI_PASSIVE):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.11/socket.py”, line 962, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/home/happyhunting/Downloads/QRdecoder.py”, line 6, in
connection = pwn.remote(“http://161.35.170.221”, 32357)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/happyhunting/.local/lib/python3.11/site-packages/pwnlib/tubes/remote.py”, line 81, in init
self.error(‘Could not resolve hostname: %r’, host)
File “/home/happyhunting/.local/lib/python3.11/site-packages/pwnlib/log.py”, line 439, in error
raise PwnlibException(message % args)
pwnlib.exception.PwnlibException: Could not resolve hostname: ‘http://161.35.170.221

I have done a research and most of them are using docker.hackthebox,eu: as an hostname but when I try it with that domain it doesnt open the website for me

Any suggestions I am new to this

Thanks in advance