mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-07 13:32:18 -07:00
fixed missing import
This commit is contained in:
parent
1165100616
commit
5c2e88cd4f
1 changed files with 13 additions and 1 deletions
|
@ -7,7 +7,11 @@
|
|||
import sys, os
|
||||
import pefile
|
||||
import zipfile
|
||||
import logging
|
||||
import json
|
||||
import shutil
|
||||
from bdfactory import pebin, elfbin
|
||||
from plugins.plugin import Plugin
|
||||
from tempfile import mkstemp
|
||||
|
||||
|
||||
|
@ -24,7 +28,15 @@ class FilePwn(Plugin):
|
|||
has_opts = True
|
||||
log_level = logging.DEBUG
|
||||
desc = "Backdoor executables being sent over http using bdfactory (STILL WORK IN PROGRESS!!)"
|
||||
|
||||
|
||||
def convert_to_Bool(self, aString):
|
||||
if aString.lower() == 'true':
|
||||
return True
|
||||
elif aString.lower() == 'false':
|
||||
return False
|
||||
elif aString.lower() == 'none':
|
||||
return None
|
||||
|
||||
def initialize(self,options):
|
||||
'''Called if plugin is enabled, passed the options namespace'''
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue