Jump to content
MakeWebGames

Recommended Posts

Posted

I found out that the other brothel that people were releasing was exploitable. You could edit the source and pay 1 to get how much will. Well here is a new version of mine. Non exploitable as far as i know.

Replace or create brothel.php and put this inside it:

 

You're unable to view this code.

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

 

Now to add the link to your game:

 

You're unable to view this code.

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

 

You can actualy name this file as you want.

Posted

Re: [MCC V2] - Brothel Non exploitable

 

There must be at least 30 topics about brothel now, lol. I personally think its a pointless script but hey, that's just me, good work :wink:

I kinda agree with you on this one. I have never found the use for a brothel before.

Posted

Re: [MCC V2] - Brothel Non exploitable

 

There must be at least 30 topics about brothel now, lol. I personally think its a pointless script but hey, that's just me, good work :wink:

I kinda agree with you on this one. I have never found the use for a brothel before.

I'll third that, but nether the less good coding from Kyle.

Posted

Re: [MCC V2] - Brothel Non exploitable

 

I was thinking about the count function while i was making this. But ey. it's free so shut up ;)

Lmao this must be your catchphrase killah. You use it every time another programmer gives you the advice.

Just shut up, take the advice and admit you could of done it better but didn't know how too, your never learn otherwise.

Guest Sniko`
Posted

Re: [MCC V2] - Brothel Non exploitable

Ill +1 you killah Thanks for this, although i wont be using it im sure others will

Posted

Re: [mccode v2] Brothel Non exploitable

 

I was thinking about the count function while i was making this. But ey. it's free so shut up ;)

Correct, so the saying "You get what you pay for" comes to mind.

Shit scripting by a supposedly 1337 "coder"

All my paid mod's are way better than my free one's. All my paid mod's are tested one week before i put it up for sale.

 

I was thinking about the count function while i was making this. But ey. it's free so shut up ;)

Lmao this must be your catchphrase killah. You use it every time another programmer gives you the advice.

Just shut up, take the advice and admit you could of done it better but didn't know how too, your never learn otherwise.

Umm. Actualy i was going to use the "count" function. So why not just shut up yourself ;)

Posted

Re: [mccode v2] Brothel Non exploitable

Lol, "But" atleast "Kyle AKA Killah" is posting new stuff on C.E FORUM like some of you aint so "SHUTUP LOL"

He's got a good point

+1 killah

Guest Anonymous
Posted

Re: [mccode v2] Brothel Non exploitable

Delightfully exploitable - Had great fun with this one.

Posted

Re: [mccode v2] Brothel Non exploitable

 

Delightfully exploitable - Had great fun with this one.

Found out how. ;)

Here is a better version and to make the "SomeRandomBastard" AKA "Luke" happy i used count().

 

You're unable to view this code.

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

Guest Anonymous
Posted

Re: [mccode v2] Brothel Non exploitable

Still delightfully exploitable - but at least now you are starting to think.

Guest Anonymous
Posted

Re: [mccode v2] Brothel Non exploitable

 

Still delightfully exploitable - but at least now you are starting to think.

Well have you tried this ... it exhibits a number of simple flaws - all equally simple to prevent.

Try it yourself - **exactly** what happens when you call this with bad parameters? and more importantly, **exactly** what happens when you call it with valid parameters? Don't just run it once or twice. Try running a few hundred iterations. Examine your SQL binary logs - you have got them turned on I assume... -- Examine your httpd access AND error logs...

 

sorry to get off topic kyle but nyna will you marry me 8-)

lmao -- nope sorry, I doubt the gf would approve ;)

Guest Anonymous
Posted

Re: [mccode v2] Brothel Non exploitable

 

Newer update. More security i hope.

...

Nope, still exhibits the same traits as the first version.

Guest Anonymous
Posted

Re: [mccode v2] Brothel Non exploitable

 

Try it yourself - **exactly** what happens when you call this with bad parameters? and more importantly, **exactly** what happens when you call it with valid parameters? Don't just run it once or twice. Try running a few hundred iterations. Examine your SQL binary logs - you have got them turned on I assume... -- Examine your httpd access AND error logs...

I'm not spoonfeeding you -- do the work yourself. If you follow those instructions, you will see that there might be a problem. If you run sufficient tests, then you will discover the exploit.

Learning how to protect systems is indeed that -- about learning, ie, experimentation. A few "does it look okay", or "does it work for me" is fine ... up to a point. Understanding the principal here is important and will serve you far better than me just giving you a refactored bit of code.

Guest Anonymous
Posted

Re: [mccode v2] Brothel Non exploitable

As yours exhibits a number of similar traits Zero... I wouldn't grin too much ;)

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