Recent

Author Topic: Browser User Agent & Friends Info: I Can Use Your Help (Volunteers Anyone?)  (Read 2889 times)

Aruna

  • Sr. Member
  • ****
  • Posts: 494
After watching a recent back-and-forth on the forum about trying to unsuccessfully identify a user's browser and screen size so we can help them but not being able to do so because the user is unwilling to do so. I decided to put together something they can simply click and we have what we need to help. Hopefully will also make them realize it can benefit them and help resolve the issue and that it is quite safe.

So,  I put together a small html+php module that grabs the user information from the browser being used and saves it in a database.

I would be extremely grateful if whoever is reading this is willing to SHARE YOUR USER-AGENT INFO.

The information I am gathering is the browser(user agent), screen width, screen height, viewport width, viewport height, ip address and timestamp.I have attached a zip file containing the source files for you to review before proceeding.

If you have questions please do ask.

EDIT: Attached screenshot will ease your minds. That is my Firefox, Cellphone and Google Chrome :-)
« Last Edit: September 10, 2024, 05:58:24 am by Aruna »

Thaddy

  • Hero Member
  • *****
  • Posts: 15969
  • Censorship about opinions does not belong here.
Re: Browser User Agent & Friends Info: I Can Use Your Help (Volunteers Anyone?)
« Reply #1 on: September 10, 2024, 06:13:41 am »
I just polluted your database  8-)
Not on purpose, but I forgot to set the user agent back to normal after I yesterday showed how to spoof it through the browser settings.. :(
So now you have a user that "uses"  IE4 and a context that does no longer make sense...
« Last Edit: September 10, 2024, 06:20:43 am by Thaddy »
If I smell bad code it usually is bad code and that includes my own code.

dbannon

  • Hero Member
  • *****
  • Posts: 3156
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Browser User Agent & Friends Info: I Can Use Your Help (Volunteers Anyone?)
« Reply #2 on: September 10, 2024, 10:25:36 am »

Worked for me.


....  IE4 and a context that does no longer make sense...

Using IE4 never made sense.

Davo
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

MarkMLl

  • Hero Member
  • *****
  • Posts: 7884
Re: Browser User Agent & Friends Info: I Can Use Your Help (Volunteers Anyone?)
« Reply #3 on: September 10, 2024, 10:29:33 am »
This led to my having a play with the "User Agent Switcher & Manager" extension on my "running silent" browser. I can report that it still works, but your test page required Javascript to extract that: my recollection is that that's not necessary since it's communicated in the HTTP headers

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent

I can't immediately take this one much further since I'd need to set up an HTTP proxy for a lump of software that's now VMed (hence unavailable to my desktop browser), but it would be interesting to explore whether things like the extension above has an identical effect on the UA string returned by the header and that accessed by Javascript.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

Aruna

  • Sr. Member
  • ****
  • Posts: 494
Re: Browser User Agent & Friends Info: I Can Use Your Help (Volunteers Anyone?)
« Reply #4 on: September 10, 2024, 11:02:53 am »
I just polluted your database  8-)
Ah, hell no! My pristine database? As long as you did not go spill any coffee on it we should be good  :P

Not on purpose, but I forgot to set the user agent back to normal after I yesterday showed how to spoof it through the browser settings.. :(
So now you have a user that "uses"  IE4 and a context that does no longer make sense...
I will try this spoofing and get back to you  8-)

Aruna

  • Sr. Member
  • ****
  • Posts: 494
Re: Browser User Agent & Friends Info: I Can Use Your Help (Volunteers Anyone?)
« Reply #5 on: September 10, 2024, 11:06:51 am »
Worked for me.
Thanks for testing mate. Much obliged and owe you one  :)

....  IE4 and a context that does no longer make sense...

Using IE4 never made sense.
I have been there, done that and all am saying is --> IE4: "Inexplicably Evolving to the 4th-degree of Frustration". Because nothing says progress like a never-ending cycle of bafflement and hair-pulling! 😆

Aruna

  • Sr. Member
  • ****
  • Posts: 494
Re: Browser User Agent & Friends Info: I Can Use Your Help (Volunteers Anyone?)
« Reply #6 on: September 10, 2024, 02:40:16 pm »
Attached screenshot shows the current status of users who shared their user-agent info. Thank you to every single one of you personally!
Note to Self: NCSA_Mosaic/2.0 (Multics MR12.5) I see it but refuse to believe it, you gotta be kiddin me?  :o
« Last Edit: September 10, 2024, 02:42:16 pm by Aruna »

MarkMLl

  • Hero Member
  • *****
  • Posts: 7884
Re: Browser User Agent & Friends Info: I Can Use Your Help (Volunteers Anyone?)
« Reply #7 on: September 10, 2024, 02:52:58 pm »
NCSA_Mosaic/2.0 (Multics MR12.5) I see it but refuse to believe it, you gotta be kiddin me?  :o

Makes the point adequately, I feel :-)

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2615
Re: Browser User Agent & Friends Info: I Can Use Your Help (Volunteers Anyone?)
« Reply #8 on: September 11, 2024, 09:21:01 am »
Note to Self: NCSA_Mosaic/2.0 (Multics MR12.5) I see it but refuse to believe it, you gotta be kiddin me?  :o

I'm sure the forum wasn't visited by it  ::)
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

MarkMLl

  • Hero Member
  • *****
  • Posts: 7884
Re: Browser User Agent & Friends Info: I Can Use Your Help (Volunteers Anyone?)
« Reply #9 on: September 11, 2024, 09:55:44 am »
I'm sure the forum wasn't visited by it  ::)

What's the UA string posting this message?

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

TRon

  • Hero Member
  • *****
  • Posts: 3477
Re: Browser User Agent & Friends Info: I Can Use Your Help (Volunteers Anyone?)
« Reply #10 on: September 11, 2024, 10:09:12 am »
@Aruna:
I personally do not have an opinion on the matter but keep in mind that an ip-address could be considered personal information, see for an explanation here.

It is for example one of the reasons that forum software removed the option/possibility to view an ip-address when reporting a post, e.g. to be in compliance with the GDPR.
This tagline is powered by AI

MarkMLl

  • Hero Member
  • *****
  • Posts: 7884
Re: Browser User Agent & Friends Info: I Can Use Your Help (Volunteers Anyone?)
« Reply #11 on: September 11, 2024, 10:22:12 am »
I personally do not have an opinion on the matter but keep in mind that an ip-address could be considered personal information, see for an explanation here.

That is true, but in an increasing proportion of cases the actual originator is hidden behind at least one layer of Carrier-Grade NAT.

It's also interesting to consider whether hidden IPs might be in contravention of the regulations which in some countries mandate an "Impressum" notice on a website.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

Thaddy

  • Hero Member
  • *****
  • Posts: 15969
  • Censorship about opinions does not belong here.
Re: Browser User Agent & Friends Info: I Can Use Your Help (Volunteers Anyone?)
« Reply #12 on: September 11, 2024, 10:48:28 am »
Entry 4 succesfully spoofed. should be two times 1920.
If I smell bad code it usually is bad code and that includes my own code.

Aruna

  • Sr. Member
  • ****
  • Posts: 494
Re: Browser User Agent & Friends Info: I Can Use Your Help (Volunteers Anyone?)
« Reply #13 on: September 11, 2024, 01:33:58 pm »
Now you can browse the captured data HERE @Thaddy I think rows 20-21 is yours? There is another 1920 rows 15-16 am not sure who that is. Enjoy!

Aruna

  • Sr. Member
  • ****
  • Posts: 494
Re: Browser User Agent & Friends Info: I Can Use Your Help (Volunteers Anyone?)
« Reply #14 on: September 11, 2024, 02:15:52 pm »
NCSA_Mosaic/2.0 (Multics MR12.5) I see it but refuse to believe it, you gotta be kiddin me?  :o

Makes the point adequately, I feel :-)

MarkMLl
I think you gave the term 'A blast from the past' a whole new meaning, actually went and re-defined it mi thinks :-)

 

TinyPortal © 2005-2018