Questions tagged [indirect-objects]
9 questions
9
votes
2 answers
perl constructor keyword 'new'
I am new to Perl and currently learning Perl object oriented and came across writing a constructor.
It looks like when using new for the name of the subroutine the first parameter will be the package name.
Must the constructor be using the keyword…

user2763829
- 793
- 3
- 10
- 20
1
vote
2 answers
Resolving IDOR in Asp.net MVC and Knockout js application
We have an application which is already in production where an IDOR vulnerability was detected in an endpoint "CustomerKey". This contains customer ID which when used brute force allowed for session take over in our app.
Now we can't encrypt this as…

IntelligentCancer
- 59
- 1
- 1
- 15
1
vote
2 answers
Indirectly defined objects to a list
I have a variable whose name and value are both determined dynamically. I want to append that variable to a list, so I need to express it in the form list(x). My difficulty is defining what x should be.
So, for example, if the value of the name is…

JeremyC
- 445
- 2
- 14
1
vote
1 answer
EJB serve PDF, cause re-request object belongs to other PDF exception
I am using EJB to serve a pdf that created by iTextPdf 7.0.4 over Internet by call remote business interface.
My EJB server side implement as:
@Override
public byte[] renderBillById(String billId) {
logger.info("rendering bill pdf called in EJB…

cidy.long
- 417
- 12
- 35
0
votes
1 answer
Javascript - variable for method name?
How can you reference a javascript object indirectly?
Suppose:
FooBar