|
Posted by seaside on 12/17/06 17:29
Cord-Heinrich Pahlmann schrieb:
> Hi,
>
> I wrote a script which reads a formular from a forum loginpage. It
> automatically fills in my credentials an logs me in when I hit submit.
> I have secured the path to the script with a .htaccess file.
>
> I have now a problem with one site which generates some kind of
> checkcode. The checkcode is placed in a hidden input field.
> I read the remote page with the "file(url)" command an parse it with
> PHP to a new formular with my credentials.
> When the server gets the formular with the file-command he gets a
> different checkcode as if I surf to the remote site with my browser.
> The checkcode looks like a md5-Hash an probably takes the ip to confirm
> the sender.
> Is ist possible for PHP to take my client-ip an sent it to the
> remote-server so I get an approveable checkcode when sending the
> generated formular?
I'm not complete sure, what you are looking for.
Would like to take another (the client IP received from the HTTP
request of the initial form) and pass it to the remote form as if it
would be your PHP server's IP?
You might forward any IP in your HTTP body data, but changing
(spoofing) your request IP is beyond PHPs capabilities.
Hopefully, this help. HM, not sure...
Navigation:
[Reply to this message]
|