| Mirage Source http://web.miragesource.net/forums/ |
|
| Easy to Make Security System http://web.miragesource.net/forums/viewtopic.php?f=183&t=5234 |
Page 1 of 3 |
| Author: | Ciao [ Mon Mar 09, 2009 12:42 am ] |
| Post subject: | Easy to Make Security System |
This tutorial will basically be explaining to some people who aren't as good at visual basic than others, how to make a pretty good security system, so if they have don't know how to improve their security, or don't know what type of method to use. than they can read this tutorial. :: Client Side :: Make a new form called frmSecurity and make as many text boxes as you like(recommended 4 or more). Make a command button and name it cmdSecure. Go to frmLogin and double click the connect button and before end sub paste this in: Code: If txtUsername.text = [Administrator's Account Username] & txtPassword.text = [Administrators Account Password] Msgbox " You are attempting to login with an administrative account, if you own the account you may proceed, if you do not than do not login because if you do you are bound to be caught and banned." Then frmLogin.hide frmSecurity.show End if End Sub Next get ready for some editing in frmSecurity. Double click the text boxes. If you are using 4 text boxes than paste each of these into the correct box. Rename the first box Sec, the 2nd box Sec2, the third box to Sec3 and the fourth box to Sec4. We will use the numbers 1,2,3, & 4 to pass the Security System and allow you to login with your administrative account. Double click the "Secure" button and paste this in: Code: If Sec.text = 1 & Sec2.text = 2 & Sec3.text = 3 & Sec4.text = 4 Then frmSecurity.hide frmCharacters.show I won't really put any server side tutorial up because you prety much have to go through the same process, but you have to open up the server source and add a frmSecurity form there. I wish you luck if you are just learning to use visual Basic, but if you are already know how to use it than I hope my tutorial helped you. I wrote this tutorial from another family member's computer and he doesn't have visual basic so I tried to write this as error-free as possible, if there are any errors I will fix them when I test this out at home. Thank you |
|
| Author: | Coke [ Mon Mar 09, 2009 1:24 am ] |
| Post subject: | Re: Easy to Make Security System |
Erm. xD |
|
| Author: | Ciao [ Mon Mar 09, 2009 1:55 am ] |
| Post subject: | Re: Easy to Make Security System |
Hello, I hope I didn't do anything wrong. Did I ? |
|
| Author: | Matt [ Mon Mar 09, 2009 2:06 am ] |
| Post subject: | Re: Easy to Make Security System |
Ciao wrote: Hello, I hope I didn't do anything wrong. Did I ? This isn't exactly security.. Not even close. |
|
| Author: | Coke [ Mon Mar 09, 2009 2:20 am ] |
| Post subject: | Re: Easy to Make Security System |
Well, You are compiling an administrators user name and password into the distributable client in order to do a client-side security check? Um. I don't know if someone has removed it from ms4, however there used to be server-side character creation check on "consty" - you should use that for reference. |
|
| Author: | Tony [ Mon Mar 09, 2009 7:57 am ] |
| Post subject: | Re: Easy to Make Security System |
This is bad, I think you should delete it or modify it because client side.. emphasize the word client O___O, you could make a AdminIP.txt, check for the user who logged in matches any of the IP in that text file and set their access to 4. When they log off set it to 0. |
|
| Author: | Ciao [ Mon Mar 09, 2009 10:30 pm ] |
| Post subject: | Re: Easy to Make Security System |
Im new to this stuff so im sorry if it wasn't really that great. |
|
| Author: | Nean [ Mon Mar 09, 2009 11:51 pm ] |
| Post subject: | Re: Easy to Make Security System |
Ciao wrote: Im new to this stuff so im sorry if it wasn't really that great. The tutorial itself is fine, it's just that this offers virtually no security what so ever. Keep working on your skill, and I'm sure you'll be spitting out worthwhile tutorials left and right. |
|
| Author: | Lea [ Tue Mar 10, 2009 12:59 am ] |
| Post subject: | Re: Easy to Make Security System |
Constant strings are stored in the EXE in plain text |
|
| Author: | Ciao [ Wed Mar 11, 2009 1:09 am ] |
| Post subject: | Re: Easy to Make Security System |
Thanks Nean, and Lea im sorry but I don't know what you mean by that :/ I want to take a guess though. Would it mean that when you type something in, its stored and someone might be able to still get in either way? |
|
| Author: | Pbcrazy [ Wed Mar 11, 2009 1:18 am ] |
| Post subject: | Re: Easy to Make Security System |
try opening a .exe from notepad |
|
| Author: | Matt [ Wed Mar 11, 2009 1:46 am ] |
| Post subject: | Re: Easy to Make Security System |
Or a hex editor. |
|
| Author: | JokeofWeek [ Tue Mar 17, 2009 3:15 am ] |
| Post subject: | Re: Easy to Make Security System |
-Cough- Pack your exe's if you don't want your constants to be readable -Cough- |
|
| Author: | Joost [ Sun Mar 22, 2009 10:11 pm ] |
| Post subject: | Re: Easy to Make Security System |
-cough- clients dont need security -cough- |
|
| Author: | Pbcrazy [ Mon Mar 23, 2009 12:45 pm ] |
| Post subject: | Re: Easy to Make Security System |
that entirely depends on what you have going on in your client. some people would rather have everything happen on the server. Robin, being different as usual, has a lot of stuff going on in his client. just a matter of opinion. |
|
| Author: | Coke [ Mon Mar 23, 2009 12:55 pm ] |
| Post subject: | Re: Easy to Make Security System |
Pbcrazy wrote: that entirely depends on what you have going on in your client. some people would rather have everything happen on the server. Robin, being different as usual, has a lot of stuff going on in his client. just a matter of opinion. Your opinion is wrong :3 |
|
| Author: | Nean [ Mon Mar 23, 2009 5:09 pm ] |
| Post subject: | Re: Easy to Make Security System |
Pbcrazy wrote: that entirely depends on what you have going on in your client. some people would rather have everything happen on the server. Robin, being different as usual, has a lot of stuff going on in his client. just a matter of opinion. Uhhh, doesn't matter if they'd rather have things in their client, it's bad security. Clients can be fooled, it's much much harder to fool the server. That's the reasoning behind the server access checks, rather than client access checks. |
|
| Author: | Pbcrazy [ Tue Mar 24, 2009 12:22 am ] |
| Post subject: | Re: Easy to Make Security System |
first off, how the fuck can an opinion be wrong? maybe controversial to yours but not wrong. secondly, sure, you can do stuff on you're client, if you're looking to have a lot of players, and don't want your server to be slowed down, it may (may) be a better choice. And yes, of course, you run into security problems, and will have to find a way to make it more secure. packing them, as jokeofweek suggested would be one way. other wise of course, checks to the server for permission to do stuff, would be another. however a lot of the thinking and "AI" (as dumb as it may be in MS), could be used on the client, to keep down usage on the server. Of course, again, with proper security. |
|
| Author: | Dragoons Master [ Tue Mar 24, 2009 12:44 am ] |
| Post subject: | Re: Easy to Make Security System |
Pbcrazy wrote: ...however a lot of the thinking and "AI" (as dumb as it may be in MS), could be used on the client, to keep down usage on the server. Of course, again, with proper security. Impossible(w/ security)
|
|
| Author: | Pbcrazy [ Tue Mar 24, 2009 1:02 am ] |
| Post subject: | Re: Easy to Make Security System |
please explain. I'd like to know. |
|
| Author: | Nean [ Tue Mar 24, 2009 2:37 am ] |
| Post subject: | Re: Easy to Make Security System |
THE CLIENT CAN BE TRICKED. How fucking dull do you get? The server can't be tricked (It's much much harder), therefore security checks in the client are pointless. The only way anything can be put in the client, is if it holds no threat of abuse, whatsoever. |
|
| Author: | GIAKEN [ Tue Mar 24, 2009 2:40 am ] |
| Post subject: | Re: Easy to Make Security System |
Yeah the AI definitely can't be handled AT ALL in the client...that was just retarded. |
|
| Author: | Pbcrazy [ Tue Mar 24, 2009 12:37 pm ] |
| Post subject: | Re: Easy to Make Security System |
ok sorry, but ya know, i haven't done much programming...in a long time. so by tricked you mean sending a packet to it other than from the server? |
|
| Author: | Matt [ Tue Mar 24, 2009 1:00 pm ] |
| Post subject: | Re: Easy to Make Security System |
Pbcrazy wrote: ok sorry, but ya know, i haven't done much programming...in a long time. so by tricked you mean sending a packet to it other than from the server? Let me paint a picture for you. Say the game you want to hack is MS based. Say they handle everything client side. What's to stop you from picking up a vanilla source, programming your own client and doing whatever the fuck you want? Kinda the same way with packet hacking and hex hacking. |
|
| Author: | Coke [ Tue Mar 24, 2009 1:19 pm ] |
| Post subject: | Re: Easy to Make Security System |
Its got nothing to do with security, how the fuck would the AI be client-side? I mean honestly, tell me, I'd like to know. |
|
| Page 1 of 3 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|