Execute Bluetooth pentest scan
(self)
| 942 | self.pentest = BluetoothPentest(self.logger) |
| 943 | |
| 944 | def execute(self): |
| 945 | """Execute Bluetooth pentest scan""" |
| 946 | try: |
| 947 | self.logger.info("🔴 Starting Bluetooth Penetration Test...") |
| 948 | |
| 949 | # 1. Track beacons |
| 950 | beacon_results = self.pentest.start_beacon_tracking(duration=30) |
| 951 | |
| 952 | # 2. Generate report |
| 953 | report_file = f"data/output/bluetooth_pentest_{int(time.time())}.json" |
| 954 | self.pentest.generate_report(output_file=report_file) |
| 955 | |
| 956 | self.logger.info("✓ Bluetooth pentest complete") |
| 957 | return 'success' |
| 958 | |
| 959 | except Exception as e: |
| 960 | self.logger.error(f"Bluetooth pentest failed: {e}") |
| 961 | return 'failed' |
| 962 | |
| 963 | |
| 964 | if __name__ == "__main__": |
nothing calls this directly
no test coverage detected