routersploit
routersploit copied to clipboard
Get Error misfortune_cookie
Hello, When i use misfortune_cookie exploit i get this error, help me please
[*] Running module exploits/routers/multi/misfortune_cookie... Traceback (most recent call last): File "/root/routersploit/routersploit/interpreter.py", line 389, in command_run self.current_module.run() File "/root/routersploit/routersploit/modules/exploits/routers/multi/misfortune_cookie.py", line 123, in run if self.device == "" or re.match(r"^\d+?$", self.device) is None or int(self.device) < 0 or int(self.device) >= len(devices): File "/usr/lib/python3.6/re.py", line 172, in match return _compile(pattern, flags).match(string) TypeError: expected string or bytes-like object
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "rsf.py", line 29, in
Are you sure you did pip install -r requirements.txt
?
I got the same error, did that, and it worked fine.