diff --git a/intercept.py b/intercept.py
index cbb2168..9290f4b 100755
--- a/intercept.py
+++ b/intercept.py
@@ -1725,8 +1725,6 @@ HTML_TEMPLATE = '''
hcitool:Checking...
bluetoothctl:Checking...
- ubertooth:Checking...
- bettercap:Checking...
@@ -1735,8 +1733,6 @@ HTML_TEMPLATE = '''
-
-
@@ -3793,8 +3789,6 @@ HTML_TEMPLATE = '''
statusDiv.innerHTML = `
hcitool:${data.tools.hcitool ? 'OK' : 'Missing'}
bluetoothctl:${data.tools.bluetoothctl ? 'OK' : 'Missing'}
- ubertooth:${data.tools.ubertooth ? 'OK' : 'Missing'}
- bettercap:${data.tools.bettercap ? 'OK' : 'Missing'}
`;
});
}
@@ -5623,18 +5617,6 @@ def detect_bt_interfaces():
'status': 'available'
})
- # Check for Ubertooth
- try:
- result = subprocess.run(['ubertooth-util', '-v'], capture_output=True, timeout=5)
- if result.returncode == 0:
- interfaces.append({
- 'name': 'ubertooth0',
- 'type': 'ubertooth',
- 'status': 'connected'
- })
- except:
- pass
-
return interfaces
@@ -5656,8 +5638,6 @@ def get_bt_interfaces():
tools = {
'hcitool': check_tool('hcitool'),
'bluetoothctl': check_tool('bluetoothctl'),
- 'ubertooth': check_tool('ubertooth-scan'),
- 'bettercap': check_tool('bettercap'),
'hciconfig': check_tool('hciconfig'),
'l2ping': check_tool('l2ping'),
'sdptool': check_tool('sdptool')
@@ -5915,22 +5895,6 @@ def start_bt_scan():
time.sleep(0.3)
os.write(master_fd, b'scan on\n')
- elif scan_mode == 'ubertooth':
- cmd = ['ubertooth-scan', '-t', str(duration)]
- bt_process = subprocess.Popen(
- cmd,
- stdout=subprocess.PIPE,
- stderr=subprocess.PIPE
- )
-
- elif scan_mode == 'bettercap':
- cmd = ['bettercap', '-eval', 'ble.recon on', '-silent']
- bt_process = subprocess.Popen(
- cmd,
- stdout=subprocess.PIPE,
- stderr=subprocess.PIPE
- )
-
else:
return jsonify({'status': 'error', 'message': f'Unknown scan mode: {scan_mode}'})