2019-01-15 18:44:35 +08:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
import tomcat.CVE_2017_12615
|
|
|
|
|
import tomcat.example_vulnerability
|
|
|
|
|
import tomcat.CVE_2017_12617
|
|
|
|
|
import tomcat.tomcat_weakpasswd
|
2020-03-04 16:37:09 +08:00
|
|
|
import tomcat.CVE_2020_1938
|
2019-01-15 18:44:35 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
def exec(URL):
|
2019-04-26 19:52:06 +08:00
|
|
|
tomcat.example_vulnerability.attack(URL)
|
2019-01-15 18:44:35 +08:00
|
|
|
tomcat.CVE_2017_12615.attack(URL)
|
|
|
|
|
tomcat.CVE_2017_12617.attack(URL)
|
|
|
|
|
tomcat.tomcat_weakpasswd.attack(URL)
|
2020-03-04 16:37:09 +08:00
|
|
|
tomcat.CVE_2020_1938.attack(URL)
|
2019-01-15 18:44:35 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
|
exec()
|