fixed "or" statements when parsing config file arguments

This commit is contained in:
byt3bl33d3r 2014-10-09 22:21:17 +02:00
parent 2e86c0b663
commit 885d464a26
3 changed files with 3 additions and 3 deletions

View file

@ -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')