Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[C#]Log in to a website

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Ihmekoodi
How do I cheat?
Reputation: 0

Joined: 23 Dec 2010
Posts: 1

PostPosted: Thu Dec 23, 2010 3:27 pm    Post subject: [C#]Log in to a website Reply with quote

Hello,

I'm trying to log in to a website through my C# windows application so i could read data that can be seen only when logged in.

The website is: speed.travian.nl/login.php
which is a game and I'm trying to get the amount how much wood i have left.

My problem is how to do that and how to check that I've succesfully logged in. I've tried to follow some examples i found from the internet without any luck.

Thanks.
Back to top
View user's profile Send private message
matx132
How do I cheat?
Reputation: 0

Joined: 22 Dec 2010
Posts: 5

PostPosted: Thu Dec 23, 2010 4:18 pm    Post subject: Reply with quote

When you write wrong nick or passowrd you had subtitle 'Naam bestaat niet'
You can try search this subtitle, but more i can say when i register in site and check all Smile
Back to top
View user's profile Send private message
Jorg hi
I post too much
Reputation: 7

Joined: 24 Dec 2007
Posts: 2276
Location: Minnesota

PostPosted: Thu Dec 23, 2010 5:01 pm    Post subject: Reply with quote

Its really easy if you use the WebBrowser Control.

Just use that, then for logging into the webpage just find the element ID, and set the value. Then you can just submit the form.

_________________
CEF will always stay alive.
Back to top
View user's profile Send private message
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Thu Dec 23, 2010 5:58 pm    Post subject: Reply with quote

When I logged into a website using sockets and Java, I just opened a socket to the website, and posted the form (was trickier in my case as the password is encrypted to MD5 from the form so i had to do that in my program). Once in you can navigate to the right page, download the text of the page, and use string parsing to get the gold.
_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites