Categories > Coding > C# >
C# HWID LOGIN
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
Replied
Wow guys he disposed the webclient :clap:
Cancel
Post
Replied
@63568Yea 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
Cancel
Post
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
Replied
@63568lmaoooooooooooo
Cancel
Post
kyxo in development
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
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")
Cancel
Post
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
Cancel
Post
fka as delta
Replied
@ecstacy_lxnny i'm pretty sure he was using that as an example, people could host their own sites and change the pastebin to their website
Cancel
Post
Discord:
Xën#1337
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?
Cancel
Post
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
Replied
@60526https://cdn.discordapp.com/attachments/852403506677547048/859968121834438656/unknown.png :/
No worries tho i found this : https://www.codeproject.com/Questions/554482/C-23plusWhyplususeplustheplus-27using-27plusstatem
Cancel
Post
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
Replied
@Beastsploits TERIHAX is retarded bro don't listen to that guy who can't provide actual support.
Cancel
Post
Added
@Beastsploits TERIHAX is retarded bro don't listen to that guy who can't provide actual support.
Cancel
Post
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post