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

Possible SQL Injection #7

Open
fairyhunter13 opened this issue Mar 14, 2019 · 1 comment
Open

Possible SQL Injection #7

fairyhunter13 opened this issue Mar 14, 2019 · 1 comment

Comments

@fairyhunter13
Copy link

I have read your code and it is well-structured code. I learn a lot from reading your code. I see a possible bug cause of error in your GetPlayerByName method in your repository. Why don't you use a variable in SQL query, like '?', '$'? Because in the current context, your code might be injected.

@elmehdiabdi-src
Copy link

he just put exmple fast as possible he will not put this example to production! you can fix it if you want to use GetPlayerByName lol.

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

2 participants