Comments (6)
@GeneralBison thank you for showing the problem and introducing the solution as well. I managed to reproduce the issue and indeed there was an error in parsing and your solution works perfectly. The error happened because the software was developed before the new updates of both Pyngrok and Ngrok.
I updated the code to what you suggested :)
from xsscope.
Sorry I would have made a pull request but I've been really busy with work. Thanks for fixing!
from xsscope.
There seems to be an error with your Ngrok.
- Make sure you have Ngrok installed (not only in Xsscope directory, but also in /usr/bin PATH)
- Did you activate Ngrok (during setup.py by pasting the activation code)?
- Also make sure to restart the computer if the problem persists.
from xsscope.
I've also been having this problem, specifically on Kali.
Ngrok has installed sucessfully and I'm able to run it by itself, I've even tried copying the installed bin into the XSScope directory.
The issue is with the way that the program is attempting to substring tcp_server
EDIT: I'll also add that this is using Python 3.9.10, ngrok 2.3.40 and pyngrok 5.1.0 with XSScope installed as per the setup.sh script.
Maybe this worked using a previous version of any of these components but this is the current state as I can see it.
from xsscope.
What's the expected behaviour? Because looking at the code in its current state, str(tcp_server)
gives you NgrokTunnel: "tcp://<x>.tcp.ngrok.io:<port>" -> "localhost:1337"
, the IP address isn't returned at all.
from xsscope.
If what you actually want is the hostname, this would work:
tcp_server = str(tcp_server.public_url)
tcp_server_host = str(tcp_server.split('/')[2]).split(':')[0]
tcp_server_port = tcp_server.split(':')[2]
from xsscope.
Related Issues (9)
- . HOT 3
- When i press build payload no popup shows payload build successfully.After choosing html injection and clicked apply code no xss payloaad option visible from html code injection form only import code and exit appears HOT 5
- Error execution HOT 1
- generating a browser shell HOT 1
- Error Execute HOT 3
- HTTP - Mixed active content load block
- no payloads HOT 5
- injection issue HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xsscope.