| View previous topic :: View next topic |
| Author |
Message |
CrossBreed Cheater
Reputation: 0
Joined: 30 Oct 2007 Posts: 37
|
Posted: Fri Aug 01, 2008 7:36 pm Post subject: Read this one carefully folks. webbrowser/flash [C#] |
|
|
| What i wish to do is navigate to a page using a webbrowser and have flash content load in a flash control rather than in the webbrowser window. that way i can login through the web browser, and then hack my flash games.
|
|
| Back to top |
|
 |
Fredd Expert Cheater
Reputation: 0
Joined: 18 Mar 2008 Posts: 240 Location: Somewhere past the rainbow, past the gold.....
|
Posted: Fri Aug 01, 2008 10:20 pm Post subject: |
|
|
What would help is to know how much you know already about c#.
If you can make a browser already, and you can make a program that finds variables and such, then go ahead and find somebody who knows how to combine em.
If you're starting from scratch, try something easier first.
_________________
|
|
| Back to top |
|
 |
CrossBreed Cheater
Reputation: 0
Joined: 30 Oct 2007 Posts: 37
|
Posted: Fri Aug 01, 2008 10:31 pm Post subject: |
|
|
| Fredd wrote: | What would help is to know how much you know already about c#.
If you can make a browser already, and you can make a program that finds variables and such, then go ahead and find somebody who knows how to combine em.
If you're starting from scratch, try something easier first. |
I dont know much about C#. But i am using a webbrowser component, which is very easy to setup.
|
|
| Back to top |
|
 |
killersamurai Expert Cheater
Reputation: 0
Joined: 10 Sep 2007 Posts: 197 Location: Colorado
|
Posted: Sat Aug 02, 2008 12:15 am Post subject: |
|
|
It's a simple task. You just need to make a web request then get the web response. After that, put it into a stream and put the stream into a string.
| Code: |
WebRequest request = WebRequest.Create(webBrowser.Url.ToString());
WebResponse response = request.GetResponse();
StreamReader sr = new StreamReader(response.GetResponseStream(), Encoding.GetEncoding(0));
String temp = String.Empty;
while ((temp = sr.ReadLine()) != null)
{
<Do whatever needs to be done>
}
response.Close();
sr.Close();
|
Now you just have to search the string for the link to the game. Once you find it, load it into your control.
|
|
| Back to top |
|
 |
samuri25404 Grandmaster Cheater
Reputation: 7
Joined: 04 May 2007 Posts: 955 Location: Why do you care?
|
Posted: Sat Aug 02, 2008 8:32 am Post subject: |
|
|
Why not..?
| Code: |
Temp = sr.ReadToEnd();
//parse
|
Only one call to the stream. =)
_________________
|
|
| Back to top |
|
 |
|