Categories > Coding > C# >
[Help] How to make a raw text checker?
Posted
Hello, so I am currently developing an exploit and would like to know how do I make a version checker. What I mean by that is the exploit should check for a specific text in a github raw text file and if it is correct then continue. - Mark
I play minecraft and sometimes roblox with cheats
Replied
you'd do that with a webclient, then you can get the raw text of a github raw or a pastebin link using a downloadstring
Cancel
Post
Mail me at sirweebdev@protonmail.com if you have any questions or you want to say anything to me, I'll reply (maybe).
Replied
@SirWeeb
Do you mean like this?
WebClient webClient = new WebClient();
string mainUrl= myWebClient.DownloadString("https://pastebin.com/raw/vgnAskpa");
if (mainUrl.Contains("1.2"))
{
// continue
}
else
{
// give update message
}
Cancel
Post
I play minecraft and sometimes roblox with cheats
Replied
@OwlGuru that would work but a better way of doing it would be like this, using makes it so the WC auto disposes
using (var wc = new WebClient())
{
if(wc.DownloadString("https://pastebin.com/raw/vgnAskpa") != "1.2")
{
// code here idk
}
}
Cancel
Post
Mail me at sirweebdev@protonmail.com if you have any questions or you want to say anything to me, I'll reply (maybe).
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post