-
-
Notifications
You must be signed in to change notification settings - Fork 78
Server setup
XSScope gives you the option to choose the way you want to setup your server. The easiest server setup is by letting XSScope generate and setup a temporary TCP Tunnel for you, using Ngrok. However if you don't like the limitation of Ngrok and want to setup your server (Locally or public), please look at the following points.
By setting up a local server, the attacks will work only inside the LAN connection, which mean you can't perform attacks outside the Network. Setup process:
- Get your local IP Address:
If you are on Linux:ifconfig
If you are on Windows:ipconf
In my case, the Local IP Address is: 10.0.128.73
- Open xsscope.py
python3 xsscope.py
- Once the connect dialog pops up, click on Manual Server Setup. Then fill in the information required. Make sure that the Port you entered isn't being used by another service. Then click on Connect button.
- Open a new terminal and type the following command to setup a HTTP Server (Note: Make sure to leave the terminal opened.). The command syntax is both the same for Linux/Windows:
python3 -m http.server 1234
(Note: Make sure that the Port number is the same as the one you entered in the Connection dialog.)
- Great! Now you are ready to go.
If you want to you use your own server, you need to perform the following steps:
- Get the IP of your server (or your website domain)
- Upload the following files into your server (Recommended on root directory).
-
Open xsscope.py
python3 xsscope.py
-
Once the connect dialog pops up, click on Manual Server Setup. Then fill in the information required. If your server is a Website, the port will be 80 (http) or 443 (https). However other HTTP Ports are always a better option to use. Then click on Connect button.
(Note: Make sure that the Port number is the same as the one you entered in the Connection dialog.)
- Great! Now you are ready to go.