Commit 29a50fa9 by dincaus

Removed unused import, add whitespace around operator.

parent ae3523df
......@@ -7,8 +7,7 @@ from routersploit import (
print_success,
http_request,
mute,
validators,
shell,
validators
)
......@@ -54,7 +53,7 @@ class Exploit(exploits.Exploit):
for line in self.script_content.split("\n"):
line = line.strip()
m_groups = re.match(r'username (.*) password (.*) user-type (.*)', line, re.I|re.M)
m_groups = re.match(r'username (.*) password (.*) user-type (.*)', line, re.I | re.M)
if m_groups:
creds.append((m_groups.group(1), m_groups.group(2), m_groups.group(3)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment