Merge branch 'dev' of https://github.com/retro-engineer/Empire into retro-engineer-dev
commit
184208c964
|
@ -107,7 +107,7 @@ def wall(host, pw):
|
|||
while True:
|
||||
try:
|
||||
data = os.read(fd, 1024)
|
||||
if data == "Password:":
|
||||
if data[:8] == "Password" and data[-1:] == ":":
|
||||
os.write(fd, pw + '\\n')
|
||||
|
||||
except OSError:
|
||||
|
|
|
@ -121,7 +121,7 @@ def wall(host, pw):
|
|||
while True:
|
||||
try:
|
||||
data = os.read(fd, 1024)
|
||||
if data == "Password:":
|
||||
if data[:8] == "Password" and data[-1:] == ":":
|
||||
os.write(fd, pw + '\\n')
|
||||
|
||||
except OSError:
|
||||
|
|
Loading…
Reference in New Issue