Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't get any message #173

Closed
JK-Love opened this issue Apr 15, 2020 · 35 comments
Closed

I can't get any message #173

JK-Love opened this issue Apr 15, 2020 · 35 comments

Comments

@JK-Love
Copy link

JK-Love commented Apr 15, 2020

image
I use my chrome for android open ngrok link but i can't get any message from seeker
image
image

please help me solve this problem

@thewhiteh4t
Copy link
Owner

@JK-Love can you test on firefox?

@thewhiteh4t
Copy link
Owner

also latest is chrome 81, why are you using an older version of chrome?

@JK-Love
Copy link
Author

JK-Love commented Apr 15, 2020

why https://127.0.0.1:8080/nearyou can't open
I suspect there's something wrong with ngrok
I would like to use the LAN to access

@thewhiteh4t
Copy link
Owner

@JK-Love it cannot open on lan because to get geolocation SSL is required now, otherwise you cannot get geolocation, so I will again ask you to test on firefox

@JK-Love
Copy link
Author

JK-Love commented Apr 15, 2020

image
image

But nothing happened
image
image
but i get a tip "Please Set Your Location Mode on High Accuracy..." i don't know My GPS is the highest accuracy

@JK-Love
Copy link
Author

JK-Love commented Apr 15, 2020

But I think I've sent my location because every time I click to continue, the GPS icon lights up
image

@thewhiteh4t
Copy link
Owner

@JK-Love hmmmm this is stange, atleast device information should be displayed, I tested latest version of seeker on 3 phones, all google chrome, they have changed something, I am unable to get geolocation in seeker or any other website, so it's not just seeker, can you test on

https://www.w3schools.com/html/tryit.asp?filename=tryhtml5_geolocation

I tested on my phone :

Google chrome --> No Location
Google chrome beta --> No Location
Firefox --> Got location

@thewhiteh4t
Copy link
Owner

@JK-Love please share php.log present in logs folder inside seeker directory

@JK-Love
Copy link
Author

JK-Love commented Apr 15, 2020

.
.
.
[Wed Apr 15 15:03:55 2020] 127.0.0.1:37370 [200]: /
[Wed Apr 15 15:03:56 2020] 127.0.0.1:37376 [200]: /js/info.js
[Wed Apr 15 15:03:56 2020] 127.0.0.1:37378 [200]: /js/warpspeed.min.js
[Wed Apr 15 15:03:56 2020] 127.0.0.1:37382 [200]: /js/main.js
[Wed Apr 15 15:03:56 2020] 127.0.0.1:37388 [200]: /css/main.css
[Wed Apr 15 15:03:56 2020] 127.0.0.1:37390 [200]: /js/location.js
PHP 7.3.15-3 Development Server started at Wed Apr 15 13:45:23 2020
Listening on http://0.0.0.0:8080
Document root is /root/seeker/template/nearyou
Press Ctrl-C to quit.

@JK-Love
Copy link
Author

JK-Love commented Apr 15, 2020

image

@thewhiteh4t
Copy link
Owner

share output of this command :

cd template/nearyou/php
ls -al

@JK-Love
Copy link
Author

JK-Love commented Apr 15, 2020

image

@thewhiteh4t
Copy link
Owner

@JK-Love permissions are fine, but I cannot see POST in your php log, use ngrok link in your pc firefox browser, it should return device information, use browser console (F12) to look for errors, here is my php log :

[Wed Apr 15 12:41:42 2020] PHP 7.4.4 Development Server (http://0.0.0.0:8080) started
[Wed Apr 15 12:41:45 2020] 127.0.0.1:44664 Accepted
[Wed Apr 15 12:41:45 2020] 127.0.0.1:44664 [200]: (null) /index.html
[Wed Apr 15 12:41:45 2020] 127.0.0.1:44664 Closing
[Wed Apr 15 12:42:05 2020] 127.0.0.1:44674 Accepted
[Wed Apr 15 12:42:05 2020] 127.0.0.1:44674 [200]: (null) /
[Wed Apr 15 12:42:05 2020] 127.0.0.1:44674 Closing
[Wed Apr 15 12:42:06 2020] 127.0.0.1:44678 Accepted
[Wed Apr 15 12:42:06 2020] 127.0.0.1:44678 [200]: (null) /css/main.css
[Wed Apr 15 12:42:06 2020] 127.0.0.1:44678 Closing
[Wed Apr 15 12:42:07 2020] 127.0.0.1:44686 Accepted
[Wed Apr 15 12:42:07 2020] 127.0.0.1:44688 Accepted
[Wed Apr 15 12:42:07 2020] 127.0.0.1:44690 Accepted
[Wed Apr 15 12:42:07 2020] 127.0.0.1:44688 [200]: (null) /js/info.js
[Wed Apr 15 12:42:07 2020] 127.0.0.1:44686 [200]: (null) /js/warpspeed.min.js
[Wed Apr 15 12:42:07 2020] 127.0.0.1:44690 [200]: (null) /js/main.js
[Wed Apr 15 12:42:07 2020] 127.0.0.1:44694 Accepted
[Wed Apr 15 12:42:07 2020] 127.0.0.1:44688 Closing
[Wed Apr 15 12:42:07 2020] 127.0.0.1:44686 Closing
[Wed Apr 15 12:42:07 2020] 127.0.0.1:44690 Closing
[Wed Apr 15 12:42:07 2020] 127.0.0.1:44694 [200]: (null) /js/location.js
[Wed Apr 15 12:42:07 2020] 127.0.0.1:44694 Closing
[Wed Apr 15 12:42:10 2020] 127.0.0.1:44698 Accepted
[Wed Apr 15 12:42:10 2020] 127.0.0.1:44698 [200]: POST /php/info.php
[Wed Apr 15 12:42:10 2020] 127.0.0.1:44698 Closing
[Wed Apr 15 12:42:28 2020] 127.0.0.1:44702 Accepted
[Wed Apr 15 12:42:28 2020] 127.0.0.1:44702 [200]: POST /php/result.php
[Wed Apr 15 12:42:28 2020] 127.0.0.1:44702 Closing

@thewhiteh4t
Copy link
Owner

one other small difference is that I am using php 7.4.4 and you are using php 7.3.15-3 but that should not matter much unless there are major changes, I see that you are on kali so I will test in my kali too

@JK-Love
Copy link
Author

JK-Love commented Apr 15, 2020

image

@thewhiteh4t
Copy link
Owner

did you get device information this time?

@JK-Love
Copy link
Author

JK-Love commented Apr 15, 2020

nope

@thewhiteh4t
Copy link
Owner

yeah POST is not working for you, did you update seeker or you cloned a fresh copy?

@JK-Love
Copy link
Author

JK-Love commented Apr 15, 2020

i just
image

@thewhiteh4t
Copy link
Owner

okay thanks, I will test on my kali soon

@JK-Love
Copy link
Author

JK-Love commented Apr 15, 2020

Maybe we can use others https proxy

@thewhiteh4t
Copy link
Owner

this is not an ngrok problem i think, because then it should not work for me either, google chrome android is not working with ANY geolocation website, but its working on firefox

@JK-Love
Copy link
Author

JK-Love commented Apr 15, 2020

Did you succeed

@thewhiteh4t
Copy link
Owner

it's working on my arch linux machine, both info and location, I am updating my kali right now

@JK-Love
Copy link
Author

JK-Love commented Apr 15, 2020

okey I'm going to find some other way to achieve my goal. If I succeed, I'll tell you

@JK-Love
Copy link
Author

JK-Love commented Apr 15, 2020

I spent 45 yuan for a course
I finally know what's wrong. Use Google drive
image
image
Actually, I should pay for you I don't know why nearyou doesn't work

@thewhiteh4t
Copy link
Owner

great, but nearyou should work too atleast on firefox like google drive template did

@JK-Love
Copy link
Author

JK-Love commented Apr 15, 2020

I really want to work with you to solve this problem So when you have an answer, please let me know

@thewhiteh4t
Copy link
Owner

yes absolutely

@thewhiteh4t
Copy link
Owner

@JK-Love tested on up-to-date kali linux, got both information and location for firefox in first attempt, something is blocking POST in your setup

@JK-Love
Copy link
Author

JK-Love commented Apr 15, 2020

haha maybe GFW ngrok Unstable connection
when i use 4g network i can't open ngrok's link
But Internet connection can open
I wonder if I can build my own HTTPS proxy to replace ngrok

@thewhiteh4t
Copy link
Owner

if you can do that, it will be awesome, you can also try packetriot, I have not tried it personally

@JK-Love
Copy link
Author

JK-Love commented Apr 15, 2020

I failed

i used frp Mapping port 8080 of Intranet to port 443 of public network
and i used nmap scan it
image
It looks like it's a success but i can't open it
image

and i want to try use ddns But most of them are paid for, and I'm not sure if I can succeed
The biggest problem of ngrok is tunnel instability Only my LAN network can be accessed. I send the link to my friends or I use a 4G network that can't be accessed
inconshreveable/ngrok#408
image
I feel very depressed bro
That's it. Thank you for your help. It's evening in China

@JK-Love
Copy link
Author

JK-Love commented Apr 15, 2020

I'm very happy to tell you that I succeeded in ubuntu
The key is that the ngrok connection running on Ubuntu can be on the public network

image

I'm so happy!!! Thank you for developing such a good tool Love you

@thewhiteh4t
Copy link
Owner

Awesome findings @JK-Love , closing now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants