mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-14 17:13:50 -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
|
@ -23,7 +23,7 @@ class BeefAutorun(Plugin):
|
|||
|
||||
def initialize(self, options):
|
||||
self.options = options
|
||||
self.autoruncfg = "./config_files/beefautorun.cfg" or options.autoruncfg
|
||||
self.autoruncfg = options.autoruncfg or "./config_files/beefautorun.cfg"
|
||||
self.beefip = options.beefip
|
||||
self.beefport = options.beefport
|
||||
self.beefuser = options.beefuser
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue