Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prestashop sql statements / verify escaping or type cast #69

Open
ghost opened this issue Jan 25, 2021 · 0 comments
Open

Prestashop sql statements / verify escaping or type cast #69

ghost opened this issue Jan 25, 2021 · 0 comments

Comments

@ghost
Copy link

ghost commented Jan 25, 2021

Hi,

Hope you are all well !

I wanted to use phpgrep to check if my prestashop code is missing some escaping function for any sql statement.

For eg, in this commit PrestaShop/PrestaShop@3fa0dfa, you can see that the pSQL and (int) functions are missing.

Is it possible to grep a list of all "Db::getInstance()" and check if the variables are escaped or cast ?

Thanks for any insights or inputs on that :-)

Cheers,
Luc Michalski

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants