Cuberite Forum
Random Chitchat 2017 - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Off Topic (https://forum.cuberite.org/forum-9.html)
+--- Forum: Off Topic Discussion (https://forum.cuberite.org/forum-10.html)
+--- Thread: Random Chitchat 2017 (/thread-2727.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34


RE: Random Chitchat 2017 - xoft - 09-18-2017

Someone seems to have hacked my hosting account and filled it with spam-generating PHP scripts Sad


RE: Random Chitchat 2017 - NiLSPACE - 09-19-2017

I hope you were using a different password for all your other accounts and services :|


RE: Random Chitchat 2017 - xoft - 09-19-2017

The leftovers seem to indicate that they used some kind of a vulnerability to upload an uploader PHP code and then uploaded whatever they needed using that. Anyway, I use SSH / SCP with cert-based access, passwords are disabled there.


RE: Random Chitchat 2017 - bearbin - 09-19-2017

That's terrible! Was it your hosting provider that let them in or one of your sites? I hope none of your data is gone.


RE: Random Chitchat 2017 - xoft - 09-19-2017

I think it was a genuine attack, since the provider then shut the site down until I removed the offending scripts. No idea how they got through, I have a feeling they could have found some kind of a weakness in Apache's fancy directory listing, because everywhere where the directory was listed by Apache itself, there was a malicious script there, and nowhere else.


RE: Random Chitchat 2017 - Seadragon91 - 09-22-2017

The APIDoc contains functions that have params with the option IsOptional = true. I see that it's not used in main_APIDump.lua. Want to add a check for it and format the param. What do you think? Underlined, show title or in brackets?

For example the function cWorld:SpawnItemPickup has 9 params, but the last 5 are optional. This should be visible.


RE: Random Chitchat 2017 - xoft - 09-22-2017

How about prefixing the type with "optional "? So that the types spell "optional number", "optional bool" etc. Perhaps a subtle change in the styling as well - the param name in italic or something like that.


RE: Random Chitchat 2017 - LogicParrot - 09-23-2017

I've reverted Github to my previous name. SafwatHalaby.


RE: Random Chitchat 2017 - xoft - 09-23-2017

Ah, the eternal confusist has added more confusion Smile


RE: Random Chitchat 2017 - xoft - 09-27-2017

A colleague of mine found out, through his extensive contacts, that there's a drone race next Friday two streets from where we work. Now I can't decide if I want to go there as a spectator, or whether I should just give it a try and enter the race myself. It's a terrible dilemma, am I good enough, and brave enough, to do this?