Jump to content

get header info on POST & encryption issue


jjk2

Recommended Posts

as you know the fantastic tool liveHTTPheader for Firefox.

 

i was wondering if I could implement same sort of monitoring in php ?

 

perhaps using apache_request_headers() ?

 

what i'd like to do is acquire the HTTP Header info sent out and received when say a user clicks on a login button or something like that.

 

 

also, how safe is hashed mysql tables? do the select hashed fields become undecodable to a potential hacker?

Link to comment
Share on other sites

for example using lighthttpheader extension in firefox

 

i am able to aquire the POST url

 

remember=1&from=%2F&username=NAME&password=SECRET&submit=Login

 

my question is,

 

how can i make php script produce the same encoded POST url ?

 

the problem is, reading the name="" fields of a login page does not suffice....there are always some secret hidden names....in this case from= cannot be found in source code.

 

the php script must be able to capture the encoded POST url when the user clicks on the button.....but im guessing this would require some client program.....

 

 

 

Link to comment
Share on other sites

I'm afraid I'm not following you.  PHP provides the $_POST superglob, that has the contents of every form variable, hidden or not. It's an associative array, so accessing the contents is trivial.  This data all comes in via HTTP but Apache and PHP parse it into pieces that make it convenient and easy to work with from within PHP.  Look at all the data that comes from phpinfo(). 

 

 

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.