(self)
| 9 | |
| 10 | class DshellPlugin(HTTPPlugin): |
| 11 | def __init__(self): |
| 12 | super().__init__( |
| 13 | name="web", |
| 14 | author="bg,twp", |
| 15 | description="Displays basic information for web requests/responses in a connection", |
| 16 | bpf="tcp and (port 80 or port 8080 or port 8000)", |
| 17 | output=AlertOutput(label=__name__), |
| 18 | optiondict={ |
| 19 | "md5": {"action": "store_true", |
| 20 | "help": "Calculate MD5 for each response."} |
| 21 | }, |
| 22 | ) |
| 23 | |
| 24 | def http_handler(self, conn, request, response): |
| 25 |
nothing calls this directly
no test coverage detected