Categories > Coding > C# >

Random Link Opener

OwlGuru

Gaming LV

Posts: 25

Threads: 15

Joined: Sep, 2021

Reputation: 0

Posted

Hello, I am making a Key System and I want to know how to make it so when I press a button "Get Key" it will select and open 1/5 (randomly selected) link and open it. Is there a way to make it? - Mark 

 

PS. Heres an image for more info https://prnt.sc/26dobxr

  • 0

I play minecraft and sometimes roblox with cheats

Posts: 709

Threads: 55

Joined: Feb, 2021

Reputation: 32

Replied

^ you would then host the js file somewhere and make your exploit redirect to your thing

using System.Diagnostics;

Process.Start("your js file");
System.Diagnostics.Process.Start("your js file")
  • 0

Why are you here

Posts: 1316

Threads: 54

Joined: Jul, 2021

Reputation: 64

Replied

@Xero that is javascript and not cs?

  • 0

Mail me at sirweebdev@protonmail.com if you have any questions or you want to say anything to me, I'll reply (maybe).

Posts: 975

Threads: 34

Joined: Dec, 2016

Reputation: 108

Replied

@SirWeeb Whoops

  • 0

davidTube

not inactive

noticed

Posts: 1849

Threads: 88

Joined: Dec, 2018

Reputation: 56

Replied

if u want it in c#:

string[] urls = {"link1", "link2", "link3", "link4", "link5"};
System.Diagnostics.Process.Start(urls[new Random().Next(urls.Length)]);

 

more readable: (both do the same thing)

string[] urls = {"link1", "link2", "link3", "link4", "link5"};
Random random = new Random();
int randnum = random.Next(urls.Length);
System.Diagnostics.Process.Start(urls[randnum]);

  • 2

Posts: 190

Threads: 19

Joined: Jul, 2021

Reputation: 6

Replied

your best bet is to get a certain link and a db(and have some decent knowledge in CS) (like https://example.com/keysystem) and have params as HWID (so basically https://example.com/keysystem?HWID=) get the hwid from CS and then put the value of the parameter as the hwid, next make a random string and hwid and store it in a db with an extra value called "isUsed" if the hwid uses the key, it will change the value of isUsed to True (but if you want temporary key sys you need to do some more extra steps) if you want five make some extra steps, like checkpoints if you want income or somethign else

  • 0

10 years ago

SeizureSalad

i love femboys

Posts: 1159

Threads: 79

Joined: Mar, 2021

Reputation: 40

Replied

i know for a fact the urls you're trying to go to are random linkvertises and each one just goes to a pastebin file

  • 0

"Questionable intellegence, but I like the mystery" - CubeFaces

https://cdn.discordapp.com/attachments/1136067487847415848/1138948596679589898/sig.png

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )