Help someone hacks my server and goes, and warning me to hack my server forums
#19

Forums, if not kept up-to-date are easily exploitable because all the information you will need is available on the Internet. SA-MP servers being "hacked" is usually caused by poor coding. Forgetting to (re)set a variable, not sanitizing user input, etc.

Very simple SQL exploit example:
PHP Code:
select from player where name '%s' and password sha1('%s'
If the password isn't escaped and I write this in the password box:
Code:
bla') union select * from player where id = 1 order by id --
The query would become:
PHP Code:
select from player where name 'Me' and password sha1('bla'union select from player where id 1 order by id --') 
Then the data of that user would probably get assigned to me and I'd have full admin rights.
Reply


Messages In This Thread
Help someone hacks my server and goes, and warning me to hack my server forums - by Aadi - 06.07.2016, 07:28
Re: Help someone hacks my server and goes, and warning me to hack my server forums - by itsCody - 06.07.2016, 07:45
Re: Help someone hacks my server and goes, and warning me to hack my server forums - by elhanan - 06.07.2016, 07:47
Re: Help someone hacks my server and goes, and warning me to hack my server forums - by Aadi - 06.07.2016, 13:30
Re: Help someone hacks my server and goes, and warning me to hack my server forums - by SickAttack - 06.07.2016, 13:36
Re: Help someone hacks my server and goes, and warning me to hack my server forums - by GhostHacker - 06.07.2016, 13:40
Re: Help someone hacks my server and goes, and warning me to hack my server forums - by Parallex - 06.07.2016, 13:42
Re: Help someone hacks my server and goes, and warning me to hack my server forums - by Aadi - 06.07.2016, 13:49
Re: Help someone hacks my server and goes, and warning me to hack my server forums - by Quinncell - 06.07.2016, 13:57
Re: Help someone hacks my server and goes, and warning me to hack my server forums - by GhostHacker - 06.07.2016, 13:57
Re: Help someone hacks my server and goes, and warning me to hack my server forums - by Mark™ - 06.07.2016, 14:05
Re: Help someone hacks my server and goes, and warning me to hack my server forums - by SickAttack - 06.07.2016, 14:08
Re: Help someone hacks my server and goes, and warning me to hack my server forums - by Eymeric69 - 06.07.2016, 14:08
Re: Help someone hacks my server and goes, and warning me to hack my server forums - by Krest - 06.07.2016, 14:18
Re: Help someone hacks my server and goes, and warning me to hack my server forums - by Quinncell - 06.07.2016, 15:42
Re: Help someone hacks my server and goes, and warning me to hack my server forums - by SubRyder - 06.07.2016, 16:00
Re: Help someone hacks my server and goes, and warning me to hack my server forums - by Krest - 06.07.2016, 16:16
Re: Help someone hacks my server and goes, and warning me to hack my server forums - by K0P - 06.07.2016, 16:20
Re: Help someone hacks my server and goes, and warning me to hack my server forums - by Vince - 06.07.2016, 17:21
Re: Help someone hacks my server and goes, and warning me to hack my server forums - by DavidGravelli - 09.07.2016, 15:03

Forum Jump:


Users browsing this thread: 1 Guest(s)