Module proxy class holding the default IP of a Flitt.
| 109 | |
| 110 | |
| 111 | class FlittModule(HobbicoModule): |
| 112 | """ Module proxy class holding the default IP of a Flitt. """ |
| 113 | config = Config({ |
| 114 | Option( |
| 115 | 'IP', |
| 116 | "IP address of drone's AP", |
| 117 | True, |
| 118 | ): "192.168.234.1", |
| 119 | Option( |
| 120 | 'TARGET', |
| 121 | "Target's SSID", |
| 122 | True, |
| 123 | choices=lambda o: [e for e in o.state['TARGETS'].keys() if drone_filter(e, o.module.drone) and \ |
| 124 | e in o.console.root.connected_targets], |
| 125 | ): None, |
| 126 | }) |
| 127 | drone = "Hobbico Flitt" |
| 128 | path = "exploit/hobbico/flitt" |
| 129 | |
| 130 | |
| 131 | class FlittCommandModule(FlittModule): |
nothing calls this directly
no test coverage detected