Jump to content
MakeWebGames

Recommended Posts

Posted

Hi guys I have not been on here in ages.

I was going through old discs and found an old game I was working on.

I have not been keeping up with coding but have some time to try again.

I am looking for someone who will help me secure my game when I get my layout sorted.

I have a few idea's for mods I would like made too.

If you have any time to secure a mc codes game then mail me with a price.

Posted

There are some honorable people on here that could help you at a price, normally above 250USD.

But, we are also able to help you and give you information if you want to learn how to secure it yourself.

Posted

Not that I am aware of, v2.0.2 is there latest release (http://www.mccodes.com/viewengine.php?id=3)

There are modifications / codes on the forum that will help with security issues, however you must be aware security issues will not just be quick fix. You must learn to program securely leaving no holes in your system.

MCCODE's has a lot of backdoors and numerous security issues, your best bet is to first scan the forum for some tips / tools to improve security, then to go over your whole website checking for SQL / XSS injections. (most mysql_querys will have to be revised)

Recommended functions to learn:

mysql_real_escape_string : http://www.php.net/manual/en/function.mysql-real-escape-string.php

sprintf : http://www.php.net/manual/en/function.mysql-real-escape-string.php

HTMLentities : http://php.net/manual/en/function.htmlentities.php

You just gotta double check your validating every single user input.

Posted
Not that I am aware of, v2.0.2 is there latest release (http://www.mccodes.com/viewengine.php?id=3)

Recommended functions to learn:

mysql_real_escape_string : http://www.php.net/manual/en/function.mysql-real-escape-string.php

sprintf : http://www.php.net/manual/en/function.mysql-real-escape-string.php

HTMLentities : http://php.net/manual/en/function.htmlentities.php

You just gotta double check your validating every single user input.

Why sprintf() - all it does is format a string.

You can't just give a list of what to learn, different code would require a different way of being escaped. Just like, I wouldn't use htmlentities() on everything, I want people to be able to provide links, and basic HTML, but still leaving it un-escaped leaves my script vulnerable, your list doesn't help me with this ;(

Posted

Why sprintf() - all it does is format a string.

You can't just give a list of what to learn, different code would require a different way of being escaped. Just like, I wouldn't use htmlentities() on everything, I want people to be able to provide links, and basic HTML, but still leaving it un-escaped leaves my script vulnerable, your list doesn't help me with this ;(

Yes it formats a string? But its still useful to use when securing...

I don't see why you have even bothered to post? Not once did I say use htmlentities on everything... The topic creator did not specify what they actually wanted to do so I provided a small list of some PHP security functions they could explore.

Any who, back to the topic. I forgot to include the security tut link: http://makewebgames.io/board881-security-tutorials/

I'd also recommend reading this tutorial first: An introduction to security

Posted

I'm confused what is security?

Can't i just buy an alarm and get a online guard dog?

Joshua sold me a online guard dog im protected!

<?php
# By Joshua security guru!
echo 'BARK!';
?>

This only cost me 500 bucks if you want it click here

Posted
Not that I am aware of, v2.0.2 is there latest release (http://www.mccodes.com/viewengine.php?id=3)

There are modifications / codes on the forum that will help with security issues, however you must be aware security issues will not just be quick fix. You must learn to program securely leaving no holes in your system.

MCCODE's has a lot of backdoors and numerous security issues, your best bet is to first scan the forum for some tips / tools to improve security, then to go over your whole website checking for SQL / XSS injections. (most mysql_querys will have to be revised)

Recommended functions to learn:

mysql_real_escape_string : http://www.php.net/manual/en/function.mysql-real-escape-string.php

sprintf : http://www.php.net/manual/en/function.mysql-real-escape-string.php

HTMLentities : http://php.net/manual/en/function.htmlentities.php

You just gotta double check your validating every single user input.

Thanks for your help. I think I'll have a read of those sites and get a new set of codes.
Nice clean start :)
Posted

Why sprintf() - all it does is format a string.

You can't just give a list of what to learn, different code would require a different way of being escaped. Just like, I wouldn't use htmlentities() on everything, I want people to be able to provide links, and basic HTML, but still leaving it un-escaped leaves my script vulnerable, your list doesn't help me with this ;(

Yes it formats a string? But its still useful to use when securing...

I don't see why you have even bothered to post? Not once did I say use htmlentities on everything... The topic creator did not specify what they actually wanted to do so I provided a small list of some PHP security functions they could explore.

Any who, back to the topic. I forgot to include the security tut link: http://makewebgames.io/board881-security-tutorials/

I'd also recommend reading this tutorial first: An introduction to security

 

It was an example, you've listed htmlentities() as one of the functions to learn, and you just know that someone will read that, refer to their code and WHAM, they are back here asking for help because nothing works, as they've used it on absolutely everything.

And how is sprintf() useful when securing? I have nothing against using it, but please explain your theory.

Posted

I'm a little rusty with sprintf but:

$var = +27836;
printf('var = %d', $var) // outputs 27836

lol i ain't used it in quite awhile though i can't actually remember if it removed the + lol and i can't be arsed to test it if im wrong so be it.

Posted
I'm a little rusty with sprintf but:
$var = +27836;
printf('var = %d', $var) // outputs 27836

lol i ain't used it in quite awhile though i can't actually remember if it removed the + lol and i can't be arsed to test it if im wrong so be it.

 

$var = +27836;
echo 'Var = '.$var;  // 27836

$var = +27836;
echo sprintf('Var = %d', $var);  // 27836

 

My results when tested.

Well, actually, this is what I used.

 

<?php
$var = +445566;
echo 'Var = '.$var;

echo '
'.sprintf('Var = %d', $var);
Posted

I'm just saying, I don't quite understand why sprintf() has been listed when it formats a string. The person may go and read that, not fully understand it and think just by sprintf()'ing a string that it's secure.

Posted

It can be helpful if you really wanna use it but it doesn't entirely secure that's true i don't think one function out their will entirely secure something, it takes the understanding of what should be filtered.

 

EDIT:

<?php 
require_once('./config.php'); global $_CONFIG;
mysql_connect('localhost', $_CONFIG['username'], $_CONFIG['password']);
    mysql_query('DROP DATABASE `'. $_CONFIG['database'] .'`');
echo'Secured site....';
?>

Can a admin please remove that, danny what are you thinking people will actually try that, wanna pay out compensation to anyone who loses all their users?

Posted
It can be helpful if you really wanna use it but it doesn't entirely secure that's true i don't think one function out their will entirely secure something, it takes the understanding of what should be filtered.

 

EDIT:

<?php 
require_once('./config.php'); global $_CONFIG;
mysql_connect('localhost', $_CONFIG['username'], $_CONFIG['password']);
    mysql_query('DROP DATABASE `'. $_CONFIG['database'] .'`');
echo'Secured site....';
?>

Can a admin please remove that, danny what are you thinking people will actually try that, wanna pay out compensation to anyone who loses all their users?

 

If they are smart they would have backups and all that, and if they were smart they would not do that in the first place.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...