mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-12 16:13:59 -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
|
@ -38,7 +38,7 @@ class FilePwn(Plugin):
|
|||
def initialize(self, options):
|
||||
'''Called if plugin is enabled, passed the options namespace'''
|
||||
self.options = options
|
||||
self.filepwncfg = "./config_files/filepwn.cfg" or options.filepwncfg
|
||||
self.filepwncfg = options.filepwncfg or "./config_files/filepwn.cfg"
|
||||
|
||||
self.binaryMimeTypes = ["application/octet-stream", 'application/x-msdownload',
|
||||
'application/x-msdos-program', 'binary/octet-stream']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue