Jump to content

is it possible to fake $_SERVER['HTTP_USER_AGENT'];


otuatail

Recommended Posts

No your missing the point. When I get qa hit on my website, I retreive all the system variables and log them in a database.

$Browser = $_SERVER['HTTP_USER_AGENT'];

echo $Browser;

 

This is an incomming value. Not me making changes to it. This has come from another PC.

 

Desmond.

 

The post by ym_chaitu was totally irrelevant to your question.

 

Do you have an actual problem you are trying to solve?

 

Best guess on the information you have posted so far is that someone was trying to feed your script an invalid value to see if it would trigger an error in your validation logic to see if that gives out information about your server or script or to see if it triggers a database error that would then indicate that sql could be injected through your code.

Possibly. when I get this information it usualy tells me what version of windows the guy is using as well as what browser. It also shows up if it is a web robot like googlebot. It appears that it is possible to override this information to the server which is why I received

imqqvlifp0krgl0li0gffldkf dpca0ktbehh as a user agent.

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.