Categories > Coding > C# >

Random Link Opener


New Reply

Posts: 5

Threads: 3

Joined: Sep, 2021

Reputation: 0

  • 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

Haxim

NonSkid

patron Mention

Posts: 681

Threads: 46

Joined: Feb, 2021

Reputation: 21

  • 0

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")

SirWeeb

ty Immune 4 prem

patron Mention

Posts: 521

Threads: 23

Joined: Jul, 2021

Reputation: 27

  • 0

Replied

@Xero that is javascript and not cs?

Xero

CEO of Bugged Code Inc.

admin Mention

Posts: 786

Threads: 31

Joined: Dec, 2016

Reputation: 63

  • 0

Replied

@SirWeeb Whoops

davidTube

david77#3909

Mention

Posts: 1930

Threads: 79

Joined: Dec, 2018

Reputation: 34

  • 2

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]);

Posts: 134

Threads: 14

Joined: Jul, 2021

Reputation: 4

  • 0

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

dm me on wrd for discord bot :sungl:

am super cool because i am super cool

languages : python, and barely js

SeizureSalad

femboys are hot

Mention

Posts: 85

Threads: 6

Joined: Mar, 2021

Reputation: 2

  • 0

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


New Reply

Users viewing this thread:


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