From f0e877e3e96892e6cc62cf3481e09b597a6caaf6 Mon Sep 17 00:00:00 2001 From: UNKNOWN H4CK3R <63872540+unknownhackerworld@users.noreply.github.com> Date: Tue, 3 Oct 2023 21:33:40 +0530 Subject: [PATCH] Update trape.py Updated ngrok.io to ngrok-free.app as ngrok changed its link --- core/trape.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/trape.py b/core/trape.py index 536d542..e08cadc 100755 --- a/core/trape.py +++ b/core/trape.py @@ -195,11 +195,11 @@ def header(self): pLog = 4040 ngrokStatus = str(opener.open('http://127.0.0.1:' + str(pLog) + '/api/tunnels').read()).replace('\n', '').replace(' ', '') time.sleep(0.5) - ngrokUrlPos = ngrokStatus.find('ngrok.io') + ngrokUrlPos = ngrokStatus.find('ngrok-free.app') if ngrokUrlPos <= 0: time.sleep(4) ngrokStatus = str(opener.open('http://127.0.0.1:' + str(pLog) + '/api/tunnels').read()).replace('\n', '').replace(' ', '') - ngrokUrlPos = ngrokStatus.find('ngrok.io') + ngrokUrlPos = ngrokStatus.find('ngrok-free.app') if ngrokUrlPos >= 0: ngrokStatus = ngrokStatus[ngrokUrlPos-25:ngrokUrlPos+28] ngrokUrlPos = ngrokStatus.find('http')