Hello ! I’m exhausted from googling this because so much other stuff comes up.
I’m trying to send login details to a server that has old school login/pass as demonstrated here: https://www.dmr.nd.gov/oilgas/basic/findwellsss.asp
Anyone know?
Hello ! I’m exhausted from googling this because so much other stuff comes up.
I’m trying to send login details to a server that has old school login/pass as demonstrated here: https://www.dmr.nd.gov/oilgas/basic/findwellsss.asp
Anyone know?
??? Do you mean you want to create your own site to do the same thing? (Easy enough to do!)
Or do you mean you want to hack into another site using code to call that site? (that will not work!)
Or do you mean you want to login to the windows domain at that address? (Possible to do!)
Explain what you are attempting to do and we will help!
Oh, here is how to do HTTP-authentencation: [php]http://php.net/manual/en/features.http-auth.php[/php]
And, here is connect to SSL-LDAP: http://php.net/manual/en/function.ldap-connect.php
Hi Alex, thanks for the reply! Since I can’t hack it, I’ll try the next best thing… lol j/k. I want to send the login details to the site so I can get the file contents. I’ll look into http authentication more.
Well, that kind of a log-in requires a userid and password and is protected by a session security.
So, you actually could not download files or pages unless you are logged.
If you have the userid and password, that is another thing. You can mimic the login using an iFrame and use Javascript to fill the fields and post the log in. But, then, you would still be limited to whatever their side of the code gives you. Once you post the log-in, you can retrieve the file that is “posted” back to you, but, it will only contain what they send to you. In other words, it will not have any PHP code or database access info. Just HTML, some CSS and Javascript. You can get that much by just logging in and doing a VIEW-SOURCE.
Well, still not really sure what you want, but, good luck with it…
Oh, one more thing… If it is a SSL domain, you might be able to use this way to connect to it an pull files:
[url=http://php.net/manual/en/function.fsockopen.php]http://php.net/manual/en/function.fsockopen.php[/url]