Jump to content
MakeWebGames

Recommended Posts

Posted

Re: [REQUEST] PHP Help

Well I was looking around the internet and I found this code:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

That seems alot easier, by the term "includes".

Posted

Re: [REQUEST] PHP Help

 

Well I was looking around the internet and I found this code:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

That seems alot easier, by the term "includes".

Ya, but everytime you want to include a page there your making the code a lot bigger than it needs to be, using functions and cases, and the switch method.

Like shedh said.

http://www.sebastiansulinski.co.uk/web_ ... ameter.php

Will just work as good as the one you have.

Posted

Re: [REQUEST] PHP Help

 

All I can do at that link is laugh!!

page.php?include=../../../.htpassword_file - wow!

Just took a minute to try use this injection method on my game and like I feared it worked.

Pretty simple to block it, filter out ../ or just allow letters/numbers... and maybe a char restriction...

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Posted

Re: [REQUEST] PHP Help

I've just worked out another new code.

You don't need case or any of that, just small things.

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Now that's alot easier.

With my last codes I found, i noticed that they dont just come up on ?page=contact, they come up on the index page aswell, and the code now doesn't.

And that code is alot easier I'm using now.

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...