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.

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.