I started this earlier today, because I was bored.
All it has is a login so far, if you guys wanna work on it feel free.
Just a note:
Roliana has no captcha, so we can make a cracker for it
I already have one made, I am saving it for later, when the auth comes out.
Note Number 2 :
Header for message sending is :
You can find the SID on the page in which you compose a message.Code:http://www.roliana.com/forums/privmsg.php username=Asydix&subject=Test&ft=Font+type&fs=Font+Size&fc=Font+Color&helpbox=Font+Type%3A+%5Bfont%3DTahoma%5Dtext%5B%2Ffont%5D&message=Testing&folder=inbox&mode=post&sid=08797283152b0f01b3bc5e24309e2db5&post=Submit
ANYWAYS, here is the class :
Code:using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Roliana { class Roliana { HTTPWrapper wrapper = new HTTPWrapper(); // Urls : private static String Rol_Url_Norm = "http://www.roliana.com/"; private static String Rol_Url_Forum = "forums/"; private static String Rol_Url_Login = "forums/login.php"; private static String Rol_Url_PM = "forums/privmsg.php"; // Method Links : private static String Rol_Meth_Postpm = "?mode=post"; #region Login public Boolean Login(String Username, String Password) { if (wrapper.post(Rol_Url_Norm + Rol_Url_Login, "username=" + Username + "&password=" + Password + "&redirect=..%2Findex.php&login=").IndexOf("Gold</li>") > -1) { return true; } else { return false; } } #endregion } }
Results 1 to 2 of 2
Thread: [C#] Roliana Class
- 29 Jun. 2010 08:01pm #1
[C#] Roliana Class
Shh, I'm watching My little pony.
- 29 Jun. 2010 08:18pm #2Code:
/// <summary> /// Takes argument data of the format: "username:password", where the delimiter is ':' or /// specified. /// </summary> public bool Login(string data, char delimiter = ':') { string[] tmp = data.Split(delimiter); return Login(tmp[0],tmp[1]); }