-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgraphics.py
27 lines (25 loc) · 979 Bytes
/
graphics.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
class graphics:
def banner(self):
print("###################################")
print("XXE-GEN")
print("###################################")
def help(self):
print("")
print("HELP ")
print("python3 xxe-gen.py [operation] [entity]")
print("")
print("[operation] = what do you want to do with the XXE vulnerability")
print("[entity] = the name of the xml entity")
print("")
print("possible operations: ")
print("- injection -> does a classic xxe")
print("- dos -> does a dos xxe")
print("- base64 -> does a base64 xxe")
print("- phpwrap -> inserts in the entity a php filter")
print("- xinclude -> if xxe does not work use this one")
print("- soap -> does a soap xxe")
print("")
print("example usage:")
print("")
print("python3 xxe-gen.py injection banana")
print("python3 xxe-gen.py dos banana")