Guide to VB.Net: Wrappers
In Logicalgamers and many other exploitation websites for simple web games, wrappers are commonly used. Wrappers are just dumbed down methods for GETTING and POSTING data. They're very simple and pretty much all work the same way, for this tutorial we will be using my wrapper which can be found here and I suggest running the wrapper on a separate thread (which will be explained in another tutorial).

Part 1: Required Materials
In order for us to post data, we will need to know what to post, and where to post it. Fortunately, there's a quite convenient firefox add-on called firebug which you can get here. Using this, you can monitor all outgoing and incoming web data transfer. That's all we will need aside from the obvious.

Part 2: Using Firebug


When you first use firebug, this should be what the window or mini tab looks like. If not, you're gay. Keep the same settings and tabs open as I have, Net>Persist|All.


Login to your Gaia account and keep firebug open and some data will appear of which looks like what you see above. As you can see, there is one that says POST in front of it as opposed to GET. This means that data was sent to the server instead of simply requested from the server. Click the expand (+) button.


You should see this after you select the post tab inside of the expanded view. As you can see, there are parameters and a source. The parameters look like this:
Code:
password	abc123naruto
redirect	http://www.gaiaonline.com/?logout_success=1283987065
sid	
token	1335108377.1283987066.1046895481
username	naruto_killer01
And the source should look like so:
Code:
username=naruto_killer01&password=abc123naruto&token=1335108377.1283987066.1046895481&sid=&redirect=http%3A%2F%2Fwww.gaiaonline.com%2F%3Flogout_success%3D1283987065
If you examine the parameters and the source, you can see that each parameter is somehow placed into the source. The source is what's being sent to the server. All of the data inside the source can be found on the page source of the page posting from. You can use the getstringbetween function to get these parameters in the page source. It should be quite self explanatory at this point.

Part 3: The Wrapper
Once you create the post data programatically using VB.Net, you can start on actually using the wrapper. In order for us to use it to post data (assuming you've already declared it) you would do:
Code:
strHTML = Wrapper.PostWrapper("http://www.gaiaonline.com/auth/login/", postdata)
In this code, postdata is the string (source) that we found on firebug. Now, if everything came out correctly, if we used Wrapper.GetWrapper to get the Gaia home page, it will have the source of being logged in.

This is quite simple but if you have any questions, post it below.