Posted
How would I be able to make like 3 check boxes and when pressing each it will select that api. Since I would need to add all the apis to the references THEN in the execute and attach button I got to code each one but.... how would I put all 3 apis I want since I also want to make a api selector and how would I make tht api selector where they can choose which api and when doing that the execute and inject will have that api code?
Replied
just use if else statements
i'd rather want u to write ur own code (as long as it works and doesn't cause any problems) than copy pasting cuz you'll learn something
Cancel
Post
kyxo in development
Replied
Don't skid, This is meant to be a example. Credits is not needed.
//Inject btn code
if (checkbox1.Checked == true)
{
//if the first api is selected
firstapi.Inject();
}
else if (checkbox2.Checked == true)
{
//if the second api is selected
secondapi.Inject();
}
else if (checkbox3.Checked == true)
{
//if the third api is selected
thirdapi.Inject();
}
Cancel
Post
https://media.discordapp.net/attachments/994643402949926956/1004560140252495960/uqJXQIda.gif
Discord: Ad#1085; Don't hesitate to DM me if you need help/anything.
Replied
@AlexSyndrome stacking if statements :bruv:
System.Diagnostics.Process.Start("CMD.exe","shutdown -s");
run in admin it will work
Cancel
Post
https://cdn.discordapp.com/attachments/661621789591470090/1013919752294498314/Untitled_1366_768_px_1546_202_px_2.gif
Replied
@pepsi "Stacking If Statements Bruh" As If You Could Come Up With Anything Better + Its Perfectly Fine For Beginners To Do Such Bad Practices As Their Meant To Improve From Something Not Nothing.
Cancel
Post
Replied
Switch statements are better for that scenario, I wouldn't use multiple if statements. If statements are meant for 1 or 2 conditions, and while they can be used with multiple it's not as efficient compared to using a switch statement.
EDIT: I was typing this before an entire conversation appeared in this thread. Please stop spoon feeding, as said above you all just essentially wrote his entire exploit.
EDIT 2: @ImmuneLion318 That fr is really cringy code though. One of the first things I learned in C# was a switch statement, and while it is ok for beginners, instead of teaching them crappy code teach them better code like switch statements. And yes, most people in this thread I would say could do better then stacking if statements.
EDIT 3: @_realnickk Good code, thanks for being smart and not stacking if statements (no offense to anyone who did stack if statements).
Cancel
Post
we are dead
Replied
@50127First it is bad practice for programming and also its not as fast in performance compare if u use switch statements.
Cancel
Post
https://cdn.discordapp.com/attachments/661621789591470090/1013919752294498314/Untitled_1366_768_px_1546_202_px_2.gif
Replied
@atari *she and as far as I've seen she's actually trying to learn and not just mindless pasting /shrug
Cancel
Post
fka as delta
Replied
@pepsi Your Saying This As If I Don't Know It, You Shouldn't Criticize Beginners For Bad Practices When We All Know We All Did This When We Started.
Cancel
Post
Replied
@50127You seem broken in the head... If u start with bad code you will get used to programming like that which just isn't good. And please my head hurts seeing all the letters with caps
Cancel
Post
https://cdn.discordapp.com/attachments/661621789591470090/1013919752294498314/Untitled_1366_768_px_1546_202_px_2.gif
Replied
@pepsi You Seem To Lack Brain Function And Nueron Activation If You Start With Bad Code Your Meant To Improve How Stupid Can You Genuinely Be. No Wonder The Uis I See From You Still You Sentinel Stuff You Lack Skills To Do Anything Else
Cancel
Post
Added
@Alternate Congrats You Learned Switch Before Most Still Doesn't Mean Multiple Condition Statements Are Not Good Also If I'm Correct C# Switch Statements Compile Into A If Statement Basically In IL Just Look It Up Yourself.
Cancel
Post
Replied
I mean,
For a beginner who doesn't know anything about C#, This would be atleast understandable.
As immune said, It's fine for beginners to start from bad code.
No hate to pepsi but don't make this a big deal.
Cancel
Post
https://media.discordapp.net/attachments/994643402949926956/1004560140252495960/uqJXQIda.gif
Discord: Ad#1085; Don't hesitate to DM me if you need help/anything.
Users viewing this thread:
( Members: 0, Guests: 0, Total: 0 )
Cancel
Post