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
When testing a Mikrotik router for api_ros_default_creds exploit when we execute run command "AttributeError: 'bool' object has no attribute 'send'". is returned and exploit fails to run.
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "Project/routersploit/routersploit/modules/creds/routers/mikrotik/api_ros_default_creds.py", line 56, in target_function
output = apiros.login(username, password)
File "Project/routersploit/routersploit/libs/apiros/apiros_client.py", line 14, in login
for repl, attrs in self.talk(["/login"]):
File "routersploit/routersploit/libs/apiros/apiros_client.py", line 28, in talk
if self.writeSentence(words) == 0:
File "Project/routersploit/routersploit/libs/apiros/apiros_client.py", line 50, in writeSentence
self.writeWord(w)
File "Project/routersploit/routersploit/libs/apiros/apiros_client.py", line 64, in writeWord
self.writeLen(len(w))
File "Project/routersploit/routersploit/libs/apiros/apiros_client.py", line 73, in writeLen
self.writeByte((length).to_bytes(1, sys.byteorder))
File "routersploit/routersploit/libs/apiros/apiros_client.py", line 139, in writeByte
r = self.sk.send(str[n:])
AttributeError: 'bool' object has no attribute 'send'
If describing a bug, tell us what happens instead of the expected behavior
If suggesting a change/improvement, tell us how it works right now
Expected Behavior
The exploit runs successfully or returns a message that the router is not vulnerable
If you're describing a bug, tell us what should happen
If you're suggesting a change/improvement, tell us how it should work
The text was updated successfully, but these errors were encountered:
R3dIO
added a commit
to R3dIO/routersploit
that referenced
this issue
Dec 2, 2021
! ANY INCOMPLETE REPORT WILL BE CLOSED RIGHT AWAY!
Steps to Reproduce (for bugs)
Your Environment
python3 --version
) Python 3.8.10python3 -m pip freeze
)Current Behavior
When testing a Mikrotik router for api_ros_default_creds exploit when we execute run command "AttributeError: 'bool' object has no attribute 'send'". is returned and exploit fails to run.
Expected Behavior
The exploit runs successfully or returns a message that the router is not vulnerable
The text was updated successfully, but these errors were encountered: