code-injection Questions
1
After setting up eslint-plugin-security, I went on to attempt to address nearly 400 uses of square brackets in our JavaScript codebase (flagged by the rule security/detect-object-injection). Althou...
Lampkin asked 16/9, 2019 at 16:13
2
Solved
Probably my question is a trivial one, but I never used an application scope bean before. I need the application bean because I have to do time consuming transactions on the database.
my search did...
Ennius asked 5/1, 2013 at 14:32
1
I'm working on paying back some technical debt this week, and it hit me that I have no idea how to make multi-value inserts safe from accidental or malicious SQL injections. We're on Postgres...
Jezabelle asked 15/8, 2019 at 10:4
3
I'm using gwt 2.3.0 in my project.
I need to change my css source:
<link type="text/css" rel="stylesheet" href="gxt/css/gxt-all.css">
during run time (i want to decide which file to use on...
Pepito asked 5/2, 2012 at 7:3
1
Solved
I'm building an Elasticsearch query using QueryBuilders in my backend. The cluster is not directly exposed to the internet, and only accessed through the backend.
I've noticed that I am providing...
Gallman asked 19/2, 2019 at 15:16
1
I am trying to restore mails using soap messages using office api's but it is giving 'header value appears to contain an embedded header' error for some mails.
eg.
msg = MIMEMultipart()
msg['From...
Sift asked 15/10, 2018 at 8:51
3
Solved
I am trying to hack my PL/SQL code. We create the PL/SQL procedure that opens and fetch the cursor. By our standard we did create a dynamic SQL statement, but we are unable to inject the OR 1=1 con...
Footstone asked 29/8, 2018 at 11:45
12
Solved
If yes, why are there still so many successful SQL injections? Just because some developers do not use parameterized statements?
Josefajosefina asked 22/7, 2011 at 5:31
0
This has been asked before but the answers are out-dated and I would like to know what the modern approach is.
I have some C# code to search Active Directory for an employee with employeeid id whi...
Rumilly asked 1/8, 2018 at 18:57
7
Solved
Using Guice, is it a good practice to get a new injector in each JUnit test class, as each test class should be independant?
Shaun asked 12/4, 2011 at 10:39
1
I posted a question on a similar topic a couple days ago (and one a couple years ago), but I decided to go ahead and get started. I am trying to inject C++ code into C++ code (in a somewhat portabl...
Analysand asked 4/5, 2018 at 1:14
4
Solved
I want to write such a function:
function doGoodJob(someId, callBackfunction){
// some stuff with someId
// todo: RUN callBackFunction here
}
They say eval is 'dangerous' in terms of code inj...
Fulmination asked 8/4, 2011 at 11:44
5
I got the veracode report for my javaEE app. It had a flaw at any logging (using log4j), so I add the StringEscapeUtils.escapeJava(log) to all of them, but veracode keeps reporting them as security...
Catchings asked 25/4, 2013 at 22:41
2
Solved
I am trying to code a page that is intentionally vulnerable to command injection. This is for a training environment. This is the code I have so far:
public ActionResult CommandInjection()
{
str...
Zone asked 10/4, 2018 at 5:57
2
Here is my task:
Inject custom managed code into
running managed WPF application (i.e. my code should run in other AppDomain)
Injected code must be executed on UI
thread
When I say 'best' I mean ...
Hartshorn asked 25/1, 2009 at 9:47
4
Solved
I have a problem injecting resolve parameters from the routing into the controller. I'm setting the resolve value to an object {name: 'Banner', slug: 'banner'}, but I get an error.
App.js
var app...
Mauk asked 11/3, 2015 at 21:12
3
Solved
i created generic service to crud task, the service use the HttpClient by DI (Dependency Injection), but i need to inform another value in the constructor of the service, how to make this?
because...
Octahedron asked 2/1, 2018 at 16:58
2
Solved
I want to use the parameter place holder - e.g. ?1 - with the % wild cards. that is, something like: "u.name LIKE %?1%" (though this throws an error). The docs have the following two examples:
1.
...
Angadresma asked 20/9, 2010 at 21:38
4
Solved
I've got one easy question: say there is a site with a query like:
SELECT id, name, message FROM messages WHERE id = $_GET['q'].
Is there any way to get something updated/deleted in the databas...
Shaina asked 22/4, 2011 at 20:10
2
I have some doubts about anti dll injection in C++.
I have a game C++ based, Im having problems with hackers with dll injection.
Then i need to prevent it.
I find notify hook there from there:
MSDN...
Molliemollify asked 26/2, 2012 at 3:46
8
Solved
I am a bit confused, there are so many functions in PHP, and some using this, some using that. Some people use: htmlspecialchars(), htmlentities(), strip_tags() etc
Which is the correct one and wh...
Jointed asked 30/7, 2009 at 11:4
1
Solved
My project is not finding the service reference endpoint in runtime. I believe it's due to incorrect injection in my Startup.cs. I'm new to the appsettings.json and Startup.cs method of configurati...
Eight asked 9/6, 2017 at 15:55
2
Solved
I am working with a few .Net 4.0 webforms controls such as the Menu control and while I think it's great that I can now declare the way in which controls are rendered (i.e. as either tables or divs...
Animalcule asked 16/7, 2010 at 10:57
2
Solved
I'm using Sequelize with Node.js/Express and I'm not sure how to escape with Sequelize in the where part.
var sequelize = ...;
var productId = 5; var productName = "test";
var product = sequelize....
Fourcycle asked 30/5, 2017 at 21:58
7
Solved
I am saving user-submitted HTML (in a database). I must prevent JavaScript injection attacks. The most pernicious I have seen is JavaScript in a style="expression(...)".
In addition to th...
Superpatriot asked 2/6, 2009 at 21:29
© 2022 - 2025 — McMap. All rights reserved.