Files
vulnerability-list/jboss/Main_jboss.py

16 lines
302 B
Python
Raw Normal View History

2019-01-27 16:28:37 +08:00
# -*- coding: utf-8 -*-
import os
import jboss
2019-08-20 19:16:01 +08:00
2019-01-27 16:28:37 +08:00
def exec(URL):
print('[+]开始检测-jboss。[+]')
2019-08-20 19:16:01 +08:00
# 切换工作路径
2019-01-27 16:28:37 +08:00
os.chdir(os.path.realpath(__file__)[:35])
2019-08-20 19:16:01 +08:00
os.system("py -2 jexboss.py -host "+URL)
2019-01-27 16:28:37 +08:00
print('[+]检测结束-jboss。[+]')
if __name__ == "__main__":
exec()