[FilterScript] Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta]
#19

Quote:
Originally Posted by Misiur
View Post
If query doesn't contain a single parameter, you can simply pass it to mysql_query. Think of format + SendClientMessage (just with additional %e).
Weird that i haven't done it like that (You can check other queries on which I did). Also even weirder that I haven't used IN() instead of just writing that two times.. I guess just a slip :P

Quote:
Originally Posted by Misiur
View Post
/remaction is vunerable to sqli
I really thought I escaped that... fixed; either way it's a RCON admin CMD meant only for development. If the admin is dumb enough to delete all of his actions then.. well.. i've got no words.
I just also noticed other vulnerabilities in the script, I guess I just forgot to escape the data.
EDIT: Even more vulnerabilities. I'm the dumb one.

Quote:
Originally Posted by Misiur
View Post
Code:
if(sscanf(params,"s[32]", id))
Using sscanf to fetch single string is unnecessary, use
Code:
if(isnull(params))
Then params instead id.
As I said it's not really a script breaking thing, and very very minor. I just got used to sscanf when checking parameters. Either ways I would need an additional check to limit the string input to 32.

Quote:
Originally Posted by Misiur
View Post
I did test all the queries before adding them and I got the expected results without problems, since I've got the expected results I had no reason not to use the inner join, I believe this is not completely useful when selecting exact data from two tables as there will be no difference if doing an inner join or a left join.


Quote:
Originally Posted by Misiur
View Post
Overall nice system, I like it.

P.S. I hate you forever and ever for raven's rp.
Why does everyone tell me that?
Reply


Messages In This Thread
Advanced Inventory/Object Management Script (New Version!) [SQL;Dynamic] - by CuervO - 24.02.2014, 13:51
Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by DarkZeroX - 24.02.2014, 13:56
Respuesta: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by CuervO - 24.02.2014, 13:58
Re : Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by anou1 - 24.02.2014, 14:06
Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by DoKAtemar - 24.02.2014, 14:19
Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by DarkZeroX - 24.02.2014, 14:22
Respuesta: Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by CuervO - 24.02.2014, 14:23
Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by PT - 24.02.2014, 14:42
Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by iBots - 24.02.2014, 15:00
Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by Pottus - 24.02.2014, 15:00
Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by theomanking - 24.02.2014, 16:04
Respuesta: Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by CuervO - 24.02.2014, 16:11
Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by Naruto_Emilio - 24.02.2014, 16:36
Respuesta: Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by CuervO - 24.02.2014, 16:38
Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by Pottus - 24.02.2014, 17:08
Re : Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by samp_boy - 24.02.2014, 17:13
Respuesta: Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by CuervO - 24.02.2014, 17:20
Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by Misiur - 24.02.2014, 19:51
Respuesta: Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by CuervO - 24.02.2014, 20:16
Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by iBots - 24.02.2014, 20:19
Respuesta: Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by CuervO - 12.03.2015, 01:54
AW: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by Madretsma - 12.03.2015, 02:13
Respuesta: AW: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by CuervO - 12.03.2015, 02:31
AW: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by Madretsma - 12.03.2015, 04:07
Re: Respuesta: AW: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by StarPeens - 12.03.2015, 04:09
Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by Sanady - 12.03.2015, 06:11
Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by Patrik356b - 12.03.2015, 17:57
Respuesta: Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by CuervO - 13.03.2015, 14:58
Re: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by Excel™ - 16.03.2015, 15:28
Respuesta: Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] - by CuervO - 18.03.2015, 17:05

Forum Jump:


Users browsing this thread: 1 Guest(s)