Forum > Coding >

Random Link Opener

OwlGuru

Gaming LV

Posts: 24

Threads: 14

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: 540

Threads: 39

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: 0

Threads: 0

Joined: ?

Reputation:

Replied

@WRD that is javascript and not cs?

  • 0

WRD

Owner

admin

Posts: 990

Threads: 33

Joined: Dec, 2016

Reputation: 106

Replied

@68804 Whoops

  • 0

I'm just a chill guy fr 🤙

davidTube

not inactive

noticed

Posts: 1628

Threads: 83

Joined: Dec, 2018

Reputation: 54

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: 177

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: 1012

Threads: 73

Joined: Mar, 2021

Reputation: 37

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 )