Forums > C# >

C# HWID LOGIN


Beastsploits

Beast aka Kappaladi

Posts: 86

Threads: 23

Joined: Dec, 2019

Reputation: 3

Posted

Hey So this is a crappy HWID login system with pastebin and pretty darn simple but if you are looking to learn more c# or you are learning c# this is a pretty good example on how to use some things 

ALSO IM PRETTY NEW TO C# SO IF YOU SEE ANY ERRORS PLEASE CORRECT AND YOU COULD POSSIBLY TEACH ME A THING OR 2 :D 

using System;
using System.Collections.Generic;
using System.Linq;
using System.Management;
using System.Net;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp3
{
    class Program
    {
        static void Main(string[] args)
        {

            #region  HWIDGRAB
            var mbs = new ManagementObjectSearcher("Select ProcessorId From Win32_processor");
            ManagementObjectCollection mbsList = mbs.Get();
            string id = "";
            foreach (ManagementObject mo in mbsList)
            {
                id = mo["ProcessorId"].ToString();
                break;
            }
            // copied pasted the HWIDGRAB from stackoverflow omegalul dont judge
            #endregion

            Console.ForegroundColor = ConsoleColor.Yellow;
            Console.WriteLine(id);
            Console.Title = "Hwid Login ";
            
            WebClient wc = new WebClient();
            string HWIDLIST = wc.DownloadString("https://pastebin.com/raw/");

            #region Auth

            if (HWIDLIST.Contains(id))
            {
                Console.ForegroundColor = ConsoleColor.Green;
                Console.WriteLine("Authed");
            }
            else
            {
                Console.ForegroundColor = ConsoleColor.Red;
                Console.WriteLine("Not Authed");
                Console.ReadLine();
                Environment.Exit(-1);
            }
            #endregion


            wc.Dispose();
            Console.ReadLine();

        }

        

    }
}



Know c# and trying to expand my knowledge in it.


Rep Goal [1,2,3,4,5,6,7,8,9,10]


Rickrolled Talan2016 : https://cdn.discordapp.com/attachments/852018376368979974/852033650593497128/unknown.png

deadlocust

dead lotion

vip

Posts: 1744

Threads: 55

Joined: Dec, 2020

Reputation: 26

Replied

Wow guys he disposed the webclient :clap:

C# Developer [GITHUB]

platform invokes wooooooo

Beastsploits

Beast aka Kappaladi

Posts: 86

Threads: 23

Joined: Dec, 2019

Reputation: 3

Replied

@deadlocustYea I asked people and they said It could leak memory if i didint dispose so I just added that line lmao I know I suck at c# no bully plis

Know c# and trying to expand my knowledge in it.


Rep Goal [1,2,3,4,5,6,7,8,9,10]


Rickrolled Talan2016 : https://cdn.discordapp.com/attachments/852018376368979974/852033650593497128/unknown.png

Fadh

Fadhツ#1107

Posts: 90

Threads: 4

Joined: Mar, 2021

Reputation: 7

Replied

@deadlocustlmaoooooooooooo

Beastsploits

Beast aka Kappaladi

Posts: 86

Threads: 23

Joined: Dec, 2019

Reputation: 3

Replied

@Fadh :/

 

 

 

 

 

 

 

Content length must be 10-5000 chars

 

Know c# and trying to expand my knowledge in it.


Rep Goal [1,2,3,4,5,6,7,8,9,10]


Rickrolled Talan2016 : https://cdn.discordapp.com/attachments/852018376368979974/852033650593497128/unknown.png

deadlocust

dead lotion

vip

Posts: 1744

Threads: 55

Joined: Dec, 2020

Reputation: 26

Replied

@Beastsploits It's supposed to be a good thing I'm not being sarcastic

C# Developer [GITHUB]

platform invokes wooooooo

MaximusExploit

Maximus

Posts: 891

Threads: 33

Joined: Aug, 2020

Reputation: 16

Replied

this is so bad holy crap no offence this is as$ don't even use this.

using (var Client = new WebClient())
        List = Client.DownloadString("lmao.dev/69?=bruh-whitelist")

Posts: 287

Threads: 14

Joined: May, 2021

Reputation: 10

Replied

Dont u think storing all HWIDs on a pastebin link can

1) Easily get the data leaked

2)Make the exploit unusable in countries like Turkey where Pastebin is banned

Download Delta :Gun:

Cool UI, Custom DLL and much more  Download

Road to +15 Rep

Xen80

Xen

vip

Posts: 145

Threads: 12

Joined: Nov, 2020

Reputation: 4

Replied

@Delta i'm pretty sure he was using that as an example, people could host their own sites and change the pastebin to their website

i don't make exploits anymore

Discord:

tw4t#0032

Beastsploits

Beast aka Kappaladi

Posts: 86

Threads: 23

Joined: Dec, 2019

Reputation: 3

Replied

@MaximusExploit Just an example bro chill out lol If you want to use this dont actually use it through pastebin lol also someone told me that when you are doing using webclient u still need to dispose idk do you?

Know c# and trying to expand my knowledge in it.


Rep Goal [1,2,3,4,5,6,7,8,9,10]


Rickrolled Talan2016 : https://cdn.discordapp.com/attachments/852018376368979974/852033650593497128/unknown.png

MaximusExploit

Maximus

Posts: 891

Threads: 33

Joined: Aug, 2020

Reputation: 16

Replied

@Beastsploits "using" automatically dispose it. you dum dum

Beastsploits

Beast aka Kappaladi

Posts: 86

Threads: 23

Joined: Dec, 2019

Reputation: 3

Replied

@MaximusExploit :/ 


No worries tho i found this : https://www.codeproject.com/Questions/554482/C-23plusWhyplususeplustheplus-27using-27plusstatem

Know c# and trying to expand my knowledge in it.


Rep Goal [1,2,3,4,5,6,7,8,9,10]


Rickrolled Talan2016 : https://cdn.discordapp.com/attachments/852018376368979974/852033650593497128/unknown.png

MaximusExploit

Maximus

Posts: 891

Threads: 33

Joined: Aug, 2020

Reputation: 16

Replied

@Beastsploits TERIHAX is retarded bro don't listen to that guy who can't provide actual support.

Added

@Beastsploits TERIHAX is retarded bro don't listen to that guy who can't provide actual support.