I've been coding some more useful things on my wrapper, also i converted Chad's C# gasb function from his String Extensions to VB.Net.
Main Info:
Ill post usage info on my other functions if anyone really needs it.Code:'***************************************************************************************************** 'Coded by Kitsune 'Current Version v3 ** Added MD5, GaiaMD5, ReadFile, and Between Functions. '***** ADDED CHAD's gasb function, converted from C# -----> VB.Net 'v1.0.2 ** Added Response String (HTML AS RESPONSE, URL, METHOD, POSTdata, Referer) 'v1.01 ** Added Cookie Container for Logins '***************************************************************************************************** 'Uses 'GET, Webrequest(String, URL, "GET", "", "Refferer") 'If no post data and/or refferer then use ""
Download: http://s000.tinyupload.com/index.php...49862037778146
VB.Net Gaia Login Example
Results 1 to 10 of 10
- 30 Mar. 2013 08:48am #1
VB.Net Kitsune's Wrapper with Addons V3
Last edited by Kitsune; 30 Mar. 2013 at 08:58am.
There's nothing ideal about being real, there's so many flaws to cover and conceal.
- 26 Apr. 2013 08:18pm #2
Looks good. Maybe think about adding more customization?
-Add a ClearCookies()
-Add a Timeout/User-agent property to class
-Why does WebRequest return the same value as ByRef HTML?
-Checkout the Using keyword for IDisposable objects (IO.Stream, Net.HTTPWebResponse, etc)
-No need for a ReadFile function, there is already System.IO.File.ReadAllText and System.IO.File.ReadAllLines
Nice wrapper, something to be proud of.
- 26 Apr. 2013 10:24pm #3
I have the readfile function for ease of access.
(Wrapper.ReadFile(X, X2, XSquared)) Reason it's in a class is so i don't have to re-code it every time i have a project with loads info from a txt.
ByRef HTML <--- this is used to return html from a webpage (so dim html as string, and insert it in said place and you will get the html code in a string, used to get other strings from html, should not return the same as WebRequest >.>)
Might add ClearCookies soon.There's nothing ideal about being real, there's so many flaws to cover and conceal.
- 26 Apr. 2013 10:52pm #4Code:
Dim returnValue, HTML As String With New Wrapper returnValue = .WebRequest(HTML, "http://www.gaiaonline.com/", "GET", String.Empty, String.Empty) End With System.IO.File.WriteAllText("returnValue.html", returnValue) System.IO.File.WriteAllText("HTML.html", HTML)
It'd be pretty useful to have .WebRequest return true if it successfully executed or false if it timed out or there was an exception/etc
- 27 Apr. 2013 12:37am #5
- Join Date
- Apr. 2013
- Location
- Minnesota
- Posts
- 1,325
- Reputation
- 114
- LCash
- 0.74
This could be useful if I wanted to write more .net stuff.
I've been really loving python though.https://discord.gg/TvN6xUb ~ chat on discord pls.
- 27 Apr. 2013 02:06am #6
I actually might use python for some things, im looking into running scripts online right now though.
Was wondering if i can code a bot out of ASP.NET that way you wont have to download anything. Of course though it will have it's limits.There's nothing ideal about being real, there's so many flaws to cover and conceal.
- 27 Apr. 2013 02:20am #7
- Join Date
- Apr. 2013
- Location
- Minnesota
- Posts
- 1,325
- Reputation
- 114
- LCash
- 1.31
What about java applets?
Don't know much about asp.net, but other ideas that come to mind are working with django/flask for added functionality online.
I've released a good base for scripts in python already.https://discord.gg/TvN6xUb ~ chat on discord pls.
- 27 Apr. 2013 03:13am #8
If you build and deploy an application on a server (so no client download), the main issue is all requests come from the server. i.e. all requests originate from the one IP = not a fun time.
- 27 Apr. 2013 05:10am #9There's nothing ideal about being real, there's so many flaws to cover and conceal.
- 27 Apr. 2013 05:35am #10
It wouldn't be hard to ban all users who've logged in from the one IP.