summaryrefslogtreecommitdiff
path: root/detection/vpn_detector.py
diff options
context:
space:
mode:
author尹姜谊 <[email protected]>2024-01-29 19:13:02 +0800
committer尹姜谊 <[email protected]>2024-01-29 19:13:02 +0800
commit1cac7e7fb3590556b845bc96e0367ae974875403 (patch)
tree5d7871a1f429411a5f81ab02826a2d566b0e6161 /detection/vpn_detector.py
parente761ffa059d1a5d5eeac81a356eb12506567ff5e (diff)
Add: protonvpn serverip plugin
Diffstat (limited to 'detection/vpn_detector.py')
-rw-r--r--detection/vpn_detector.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/detection/vpn_detector.py b/detection/vpn_detector.py
index e80bd64..c9794d4 100644
--- a/detection/vpn_detector.py
+++ b/detection/vpn_detector.py
@@ -218,6 +218,9 @@ if __name__ == '__main__':
elif plugin_name == 'windscribevpn_serverip':
from vpnservices.windscribevpn_serverip import WindscribevpnServerip
detector = WindscribevpnServerip()
+ elif plugin_name == 'protonvpn_serverip':
+ from vpnservices.protonvpn_serverip import ProtonvpnServerip
+ detector = ProtonvpnServerip(start_time, end_time)
else:
print('Please input correct plugin name')