| |

VerySource

 Forgot password?
 Register
Search
View: 1241|Reply: 6

Can the newly written stored procedure in Oracle replace the original stored procedure with the same name? Even if the o

[Copy link]

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-2-17 04:00:02
| Show all posts |Read mode
Suppose you don't know the parameters of the encrypted stored procedure, but only the stored procedure name. Is there a way to get the parameter information?
    If you can, you can replace the original stored procedure with a stored procedure with the same name.

    Now, my colleague uses the Oracle stored procedure to verify the legitimacy of the web server (check if the IP and machine information are in the predetermined table). If the above is feasible, this test can be easily broken.
Reply

Use magic Report

0

Threads

6

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-4-28 22:15:01
| Show all posts
Can be replaced with create or replace.
Reply

Use magic Report

0

Threads

71

Posts

50.00

Credits

Newbie

Rank: 1

Credits
50.00

 China

Post time: 2020-4-29 01:30:02
| Show all posts
create or replace can
Reply

Use magic Report

0

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-5-1 22:15:01
| Show all posts
In the encryption process, the process name will not be encrypted, just CREATE OR REPLACE is enough.
Reply

Use magic Report

0

Threads

22

Posts

15.00

Credits

Newbie

Rank: 1

Credits
15.00

 China

Post time: 2020-7-25 17:00:01
| Show all posts
I do not know the parameters of the encrypted stored procedure, only the name of the stored procedure

In this case, I think create or replace will not overwrite the original. Because you only know a name, what you recreated with that name is just an overload,,,, (as far as I know now, at least that)
Reply

Use magic Report

0

Threads

22

Posts

15.00

Credits

Newbie

Rank: 1

Credits
15.00

 China

Post time: 2020-7-25 17:30:01
| Show all posts
Of course, the premise is that the encrypted stored procedure has parameters
Reply

Use magic Report

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

 Author| Post time: 2020-8-13 20:45:01
| Show all posts
Is there a way to view the stored procedure name in Oracle?
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list