mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Some more refactoring
This commit is contained in:
parent
1a8ebbfd43
commit
e948e4d45b
9 changed files with 16 additions and 22 deletions
|
|
@ -611,7 +611,7 @@ def __setMetasploit():
|
|||
if conf.msfPath:
|
||||
condition = False
|
||||
|
||||
for path in [conf.msfPath, os.path.join(conf.msfPath, 'bin')]:
|
||||
for path in (conf.msfPath, os.path.join(conf.msfPath, 'bin')):
|
||||
condition = os.path.exists(normalizePath(path))
|
||||
condition &= os.path.exists(normalizePath(os.path.join(path, "msfcli")))
|
||||
condition &= os.path.exists(normalizePath(os.path.join(path, "msfconsole")))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue