Jump to content

cbox


Logging into a site


yungbol

Recommended Posts

Posted

I usually use a webbrowser then do the element id to input the username and password. The more efficient way of doing it is HttpWebRequest. Anyone know how I can log into this site using the HttpWebRequest method? The site has no Element ID's for the textboxes like I am used to. I want to retrieve my grades without going to and logging in the site every time. I will just store my username and password in the registry or a text file or something, but here is the site. All I need to know is how to log in, xbox.com is way easier :/

 

https://adphila.gradeconnect.com/front/slogin.php

 

Also, here is the http version:

 

http://adphila.gradeconnect.com/front/slogin.php?secure=no

Posted

HttpWebRequest uses credentials, and is only good if it has a .htaccess login. I know you can use WebRequest, using the POST method to post data the website and get a response, but that's it. The webbrowser would be the easiest way.

 

PS: Just by looking at the source, I can already tell it won't pass a validation check lol...

 

 

Edit: They use a direct script to POST the data to. Ask peaches, or get someone to host a script that takes post data and post it to that page.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...