mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-08 05:51:48 -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 sys, os
|
||||||
import pefile
|
import pefile
|
||||||
import zipfile
|
import zipfile
|
||||||
|
import logging
|
||||||
|
import json
|
||||||
|
import shutil
|
||||||
from bdfactory import pebin, elfbin
|
from bdfactory import pebin, elfbin
|
||||||
|
from plugins.plugin import Plugin
|
||||||
from tempfile import mkstemp
|
from tempfile import mkstemp
|
||||||
|
|
||||||
|
|
||||||
|
@ -24,7 +28,15 @@ class FilePwn(Plugin):
|
||||||
has_opts = True
|
has_opts = True
|
||||||
log_level = logging.DEBUG
|
log_level = logging.DEBUG
|
||||||
desc = "Backdoor executables being sent over http using bdfactory (STILL WORK IN PROGRESS!!)"
|
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):
|
def initialize(self,options):
|
||||||
'''Called if plugin is enabled, passed the options namespace'''
|
'''Called if plugin is enabled, passed the options namespace'''
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue