mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-06 13:02:24 -07:00
fixed "or" statements when parsing config file arguments
This commit is contained in:
parent
2e86c0b663
commit
885d464a26
3 changed files with 3 additions and 3 deletions
|
@ -30,7 +30,7 @@ class JavaPwn(BrowserProfiler, Plugin):
|
|||
self.msfport = options.msfport
|
||||
self.rpcip = options.rpcip
|
||||
self.rpcpass = options.rpcpass
|
||||
self.javapwncfg = './config_files/javapwn.cfg' or options.javapwncfg
|
||||
self.javapwncfg = options.javapwncfg or './config_files/javapwn.cfg'
|
||||
|
||||
if not self.msfip:
|
||||
sys.exit('[-] JavaPwn plugin requires --msfip')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue