-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgraphics.py
33 lines (29 loc) · 1.43 KB
/
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
28
29
30
31
32
33
class info:
def __init__(self) -> None:
pass
def print_help(self):
print("------ help ----------")
print("")
print("usage: python3 pwrap.py [URL] [File inclusion entrypoint] [wrapper] [filename-where-there-are-cookies-info.yaml]")
print("")
print("possible wrappers: ")
print("file - puts the file wrapper in the entrypoint")
print("filter - applies filter wrapper in the entrypoint")
print("data - puts the data wrapper in the entrypoint")
print("zip - puts the zip wrapper in the entrypoint")
print("expect - puts the expect wrapper in the entry point")
print("input - puts the input wrapper in the entry point")
print("")
print("example usage: ")
print("python3 pwrap.py http://vulnerablesite.com/ page file cookie.yaml")
print("python3 pwrap.py http://vulnerablesite.com/ directory all cookie.yaml")
print("python3 pwrap.py http://vulnerablesite.com/ module expect cookie.yaml")
print("---------------------------------------------------")
print("correct yaml compilation")
print("---------------------------------------------------")
print(" ")
print('write each cookie information as "key":"value"')
print("example of correct yaml file: ")
print("---")
print('"PHPSESSID": "abc123456"')
print('"token":"secret information"')