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 condition.
How can I generate the below numbers through sequence in oracleAnd so on. I can generate 1,2,1,2,1,2 through cycle but above I am not able to use logic.
In my procedure I write this Let's say sequence's last value equals to 1. In this case I expect this result:
Usually we are sending requests from the browser, however I'm wondering if a database can also do the same thing. Let say I have a servlet on my server and an Oracle database.