Cryoma Member of the Year
Reputation: 198
Joined: 14 Jan 2009 Posts: 1819
|
Posted: Tue Dec 13, 2011 8:47 pm Post subject: |
|
|
stealin source codes and removing login fields so people can use shit without buying accounts
here is the login form, it would be great if I could make it forward to the working shit without checking the username and password
| Code: | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using System.Drawing.Drawing2D;
using System.Diagnostics;
using System.Threading;
using System.IO;
using System.Net;
using System.Security.Cryptography;
using System.Web;
namespace Lots_Of_Dicks
{
public partial class Login : Form
{
String username;
String password;
public Login()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
if (username == "" || password == "")
{
MessageBox.Show("Invalid password or niggar tits");
}
username = HttpUtility.UrlEncodeUnicode(textBox1.Text);
password = HttpUtility.UrlEncodeUnicode(bCrypt(textBox2.Text));
String returnStr = getText("gay" + username + "&p=" + password);
if (returnStr == MD5("true"))
{
this.Hide();
frmMain fM = new frmMain();
fM.Show();
}
else
{
MessageBox.Show("Invalid password or niggar tits");
}
}
static string getText(string URL)
{
WebClient client = new WebClient();
client.Headers.Add("user-agent", "balls");
try
{
String code = client.DownloadString(URL);
return code;
}
catch
{
return "";
}
}
static string MD5(string Value)
{
System.Security.Cryptography.MD5CryptoServiceProvider x = new System.Security.Cryptography.MD5CryptoServiceProvider();
byte[] data = System.Text.Encoding.ASCII.GetBytes(Value);
data = x.ComputeHash(data);
string ret = "";
for (int i = 0; i < data.Length; i++)
ret += data[i].ToString("x2").ToLower();
return ret;
}
private String bCrypt(String toCrypt)
{
String cryptText = "";
int a = 3;
for (int i = 0; i < toCrypt.Length; i++)
{
cryptText += "" + ((char)(a++ ^ toCrypt[i]));
}
return cryptText;
}
private void linkLabel1_LinkClicked(object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e)
{
// Process.Start("balls");
}
}
}
|
|
|