Jump to content

How To Save Login Information (User&pass) in a file on the server?


creative22

Recommended Posts

Hi all;I've uploaded a php code for a proxy browser that is here:http://www.4shared.com/zip/MT-eEmCR/surrogafier.htmlI want to put this file on my server and use it as a browser, so that clients connect to the server through this inner (surrogafier) browser!Currently, I want to customize the php code to meet my needs.I'd like to save any entered character or password or any action done, in a text file using this php code.I mean, when a client calls the surrogafier (php proxy browser) available on the server in his browser (Chrome, IE, Firefox, Opera, ...) address bar, any input by the client (such as login information:user&pass) to be saved in a text file.Something like LOGGING, Thus:"My need is adding a procedure to it to log any username and password or other information entered through this browser;Better to be saved in a text file."I've searched about this issue and found some points such as:http://stackoverflow.com/questions/4486177/set-a-cookie-to-save-login-details-phphttp://stackoverflow.com/questions/2382329/how-can-i-get-browser-to-prompt-to-save-passwordBut I couldn't conclude a working solution (a piece of code for adding to the surrogafier.php code) !I'm so much new to php programming and I'm going to use this modified browser in part of my project, so I can't discern which solution is better (set cookie, save in the session or ...) and where should I add the required code in the surrogafier.php (browser) ?Perhaps, something like Firefox reaction to save user&pass during first login to Gmail in browser...Anyway, I need a piece of PHP code to add it somewhere inside the surrogafier.php proxy browser to log and save the entered user&pass and other details in a text file on the server,Could you put here this piece of code and guild me where I should add it in the surrogafier.php code to be able to test it using WampServer, etc?I so much appreciate you if help me.TIA.

Link to comment
Share on other sites

Sounds like you are trying to phishing.

  • Like 1
Link to comment
Share on other sites

If you want help with code, you'll probably need to post it in a way that doesn't require someone to log in to a third party web site to see the code. Also, we aren't here to do your work for you, but if you want to learn how to write this then we can help you figure it out.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...