valdikss / p0f-mtu Goto Github PK
View Code? Open in Web Editor NEWp0f with patches to save MTU value and export it via API (for VPN detection)
p0f with patches to save MTU value and export it via API (for VPN detection)
run p0f:
$ ./p0f -s socket
--- p0f 3.09b by Michal Zalewski [email protected] ---
[+] Closed 1 file descriptor.
[+] Loaded 366 signatures from 'p0f.fp'.
[+] Intercepting traffic on default interface 'eth0'.
[+] Default packet filtering configured [+VLAN].
[+] Listening on API socket 'socket' (max 20 clients).
[+] Entered main event loop.
run p0f-client:
$ ./p0f-client ../socket 172.68.27.17
First seen = 2017/03/30 08:57:09
Last update = 2017/03/30 08:57:09
Total flows = 2
Detected OS = Linux 2.2.x-3.x (no timestamps) [generic]
HTTP software = ???
MTU = 1500
Network link = Ethernet or modem
Language = Portuguese
Distance = 10
Sys change = 2017/03/30 08:57:10
The informations are wrong, someone can help me?
Hello, can you help me, please?
I've installed your script on my server and I've tried to run it with such command ./p0f-client /opt/p0f-mtu/p0f-socket <ip_adress>
but getting such error
[-] SYSTEM ERROR : Can't connect to API socket.
Location : main(), p0f-client.c:128
OS message : No such file or directory
also, I've tried "p0f-mtu-script" source code and all I get is
PTR test = Probably home user Fingerprint and OS match. No proxy detected (this test does not include headers detection). No OpenVPN detected.
but nothing about Detected OS
No matching host in p0f cache. That's all we know.
PTR test = Probably home user
Fingerprint and OS match. No proxy detected (this test does not include headers detection).
No OpenVPN detected.
Getting your NTLM hash…
Logs:
.-[ 83.192.13.12/65013 -> 185.172.228.228/443 (mtu) ]-
|
| server = 185.172.228.228/443
| link = Ethernet or modem
| raw_mtu = 1500
|
`----.-[ 83.192.13.12/65014 -> 185.172.228.228/443 (syn) ]-
|
| client = 83.192.13.12/65014
| os = Mac OS X
| dist = 10
| params = generic fuzzy tos:0x0a
| raw_sig = 4:54+10:0:1340:65535,6:mss,nop,ws,nop,nop,ts,sok,eol+1:df:0
|
`----.-[ 83.192.13.12/65014 -> 185.172.228.228/443 (mtu) ]-
|
| client = 83.192.13.12/65014
| link = OpenVPN UDP bs128 SHA256 lzo
| raw_mtu = 1380
|
`----.-[ 83.192.13.12/65014 -> 185.172.228.228/443 (syn+ack) ]-
|
| server = 185.172.228.228/443
| os = ???
| dist = 0
| params = none
| raw_sig = 4:64+0:0:1460:mss*45,7:mss,sok,ts,nop,ws:df:0
|
`----
I don't understand why it keeps throwing this error. The cache DOES match the ip of the host.
I'm not using cloudflare or any other caching. Running on Ubuntu 20.04.
i'm new.
thanks your script. very useful.
i use your p0f-mtu-script on my website.
i see this:
[+] Listening on API socket 'p0f-socket' (max 20 clients).
but i have 1 million users/per day on my website, how can i do ?
Не всегда определят OS через мобильный интеренет, тестировал на андроиде и ифоне (browserleaks также показывает). А если уехать в другой город то определяет корректно. Если выйти в интернет через вай-фай с телефона то OS на этом же телефоне корректно показывает на разных провайдерах.
А как можно подменить фингерпринт?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.