Cold Fusion Fuse to the max
HomePortalCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 

 Adding a login system to your hacks!

Go down 

Posts : 217
Join date : 2010-07-03

PostSubject: Adding a login system to your hacks!   Tue Jul 06, 2010 12:25 am

There's a couple ways you can use this. I'm giving you the C# source, so if your hacks are in C# you can just C+P the source into your program.

If not you'd have to use the binary and read the memory for the activation code *which you'd have to define yourself*

Well here it is, a way to make users use a DP login for your page.

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Net;
using System.IO;
using System.Windows.Forms;

namespace Digital_Prodigy_Validator
    public partial class Form1 : Form
        public Form1()

        private void button1_Click(object sender, EventArgs e)
            string password = passTxt.Text;
            string username = userTxt.Text;
            HttpWebRequest req = (HttpWebRequest)WebRequest.Create("");
            string values = "vb_login_username=" + username + "&vb_login_password=" + password
                                + "&securitytoken=guest&"
                                + "cookieuser=checked&"
                                + "do=login";

            req.Method = "POST";
            req.ContentType = "application/x-www-form-urlencoded";
            req.ContentLength = values.Length;
            byte[] byteArray = Encoding.UTF8.GetBytes(values);
            CookieContainer a = new CookieContainer();
            req.CookieContainer = a;
            ServicePointManager.Expect100Continue = false; // prevents 417 error
            Stream dataStream = req.GetRequestStream();
            dataStream.Write(byteArray, 0, byteArray.Length);
            HttpWebResponse response = (HttpWebResponse)req.GetResponse();
            dataStream = response.GetResponseStream();
            StreamReader reader = new StreamReader(dataStream);
            string responseFromServer = reader.ReadToEnd();
            bool activated;
            if (!responseFromServer.Contains("You have entered an invalid username or password")&&!responseFromServer.Contains("Quota"))
                MessageBox.Show("WOOT YOU DID IT!");
                label3.Text = "Authorized";
                label3.ForeColor = Color.LimeGreen;
                button1.Enabled = false;
                activated = true;
                activated = false;

        private void Form1_Load(object sender, EventArgs e)

}That's the complete source for the Binary. Since I didn't want to make it a function. Should be easy enough for you to figure out.

Binary Download here: ?acmhwunzmju
Virus Scan:

Credits to Howeii on releasing sources awhile back that taught me how to use the WebRequest class. And C4Vendetta when he fixes his GUI so I can use it xD.
Back to top Go down
View user profile

Posts : 40
Join date : 2010-07-14

PostSubject: Re: Adding a login system to your hacks!   Sat Jul 17, 2010 5:24 am

wow hacking is confusing
Back to top Go down
View user profile

Posts : 80
Join date : 2010-07-12
Location : On /

PostSubject: Re: Adding a login system to your hacks!   Sat Jul 17, 2010 1:18 pm

xMissy wrote:
wow hacking is confusing

ya mean codin rite

Ever wanted to be awesome? you can be awesome today for free! (no you cant) Press the Thanx button!

Made by Me =P ^.^
Back to top Go down
View user profile
Sponsored content

PostSubject: Re: Adding a login system to your hacks!   

Back to top Go down
Adding a login system to your hacks!
Back to top 
Page 1 of 1
 Similar topics
» Discovery of a very cool brown dwarf amongst the ten nearest stars to the Solar System
» Powerflushing a BoilerMateIII system
» Gravitational Anomalies in the Solar System
» Black Hole system with planets?
» Orbital Evolution of a Saturn-Jupiter configuration within a disk

Permissions in this forum:You cannot reply to topics in this forum
ColdFusion :: Coding :: C#-
Jump to: