mirror of
https://github.com/DarkSecDevelopers/HiddenEye-Legacy.git
synced 2024-03-22 21:12:55 +08:00
Created obtain_tunnels method for ngrok
This commit is contained in:
parent
e6245dab26
commit
7dece996b0
|
@ -29,4 +29,7 @@ class NgrokController:
|
||||||
self._config.PyngrokConfig(config_path=self._config_path)
|
self._config.PyngrokConfig(config_path=self._config_path)
|
||||||
|
|
||||||
def establish_connection(self, port='80'):
|
def establish_connection(self, port='80'):
|
||||||
self._model.connect(port=port, name='HiddenEye Connection', pyngrok_config=self._config_path)
|
self._model.connect(port=port, name='HiddenEye Connection', pyngrok_config=self._config_path)
|
||||||
|
|
||||||
|
def obtain_tunnels(self):
|
||||||
|
self._tunnels = self._model.get_tunnels()
|
Loading…
Reference in New Issue
Block a user