mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-06 21:12:16 -07:00
6 lines
277 B
Python
6 lines
277 B
Python
#Hack grabbed from http://stackoverflow.com/questions/1057431/loading-all-modules-in-a-folder-in-python
|
|
#Has to be a cleaner way to do this, but it works for now
|
|
import os
|
|
import glob
|
|
__all__ = [ os.path.basename(f)[:-3] for f in glob.glob(os.path.dirname(__file__)+"/*.py")]
|
|
|