SlideShare a Scribd company logo
ORACLE11i
--Package Specification
CREATE OR REPLACE PACKAGE get_pwd
AS
FUNCTION decrypt (key IN varchar2, VALUE IN varchar2)
RETURN VARCHAR2;
END get_pwd;
/
--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.String) return java.lang.String';
END get_pwd;
/
/* Execute Query TO KNOW USERNAME AND PWD */
SELECT usertable.user_name,
(SELECT get_pwd.decrypt (UPPER ( (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)
))
),
usertable.encrypted_user_password
)
FROM DUAL)
AS encrypted_user_password
FROM fnd_user usertable
WHERE usertable.user_name LIKE UPPER ('&username')
ORACLE R12
Here is a wonderful oracle seeded Procedure nd_web_sec.get_guest_username_pwd
which will help us to find out user password.
This will be handy for consultants in resolving the issues. Please use with
this care and dont misuse this.To achieve this you need to create a small
package and run a query which I wrote below
--Package Specification
CREATE OR REPLACE PACKAGE get_pwd
AS
FUNCTION decrypt (KEY IN VARCHAR2, VALUE IN VARCHAR2)
RETURN VARCHAR2;
END get_pwd;
/
--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.String) return java.lang.String';
END get_pwd;
/
--Query to execute
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';

More Related Content

PDF
Using Perl Stored Procedures for MariaDB
TXT
Pontos para criar_instancia_data guard_11g
PDF
Data Processing Inside PostgreSQL
 
PDF
PostgreSQL and PL/Java
PDF
PostgreSQL (2) by Aswin
PDF
External Language Stored Procedures for MySQL
PPTX
Swing database(mysql)
PPT
Lecture6 display data by okello erick
Using Perl Stored Procedures for MariaDB
Pontos para criar_instancia_data guard_11g
Data Processing Inside PostgreSQL
 
PostgreSQL and PL/Java
PostgreSQL (2) by Aswin
External Language Stored Procedures for MySQL
Swing database(mysql)
Lecture6 display data by okello erick

What's hot (17)

TXT
Conexcion java mysql
PDF
Perl Stored Procedures for MySQL (2009)
DOCX
Java assgn
PDF
dcs plus Catalogue 2015
PDF
Mysql & Php
PPTX
19. CodeIgniter imagini in mysql
PDF
Lean React - Patterns for High Performance [ploneconf2017]
PDF
9.1 Mystery Tour
PPSX
Execute sql query or sql command sql server using command prompt
PDF
DBD::SQLite
PPTX
csmju313 L5
PPTX
บทที่ 5 การเขียนโปรแกรมเพื่อค้นหาและแสดงข้อมูลจากฐานข้อมูล
PDF
How to Design a Great API (using flask) [ploneconf2017]
PDF
Quick reference for Grafana
PDF
Micro(Lightweight) Django
PDF
Javascript: the important bits
Conexcion java mysql
Perl Stored Procedures for MySQL (2009)
Java assgn
dcs plus Catalogue 2015
Mysql & Php
19. CodeIgniter imagini in mysql
Lean React - Patterns for High Performance [ploneconf2017]
9.1 Mystery Tour
Execute sql query or sql command sql server using command prompt
DBD::SQLite
csmju313 L5
บทที่ 5 การเขียนโปรแกรมเพื่อค้นหาและแสดงข้อมูลจากฐานข้อมูล
How to Design a Great API (using flask) [ploneconf2017]
Quick reference for Grafana
Micro(Lightweight) Django
Javascript: the important bits
Ad

Viewers also liked (16)

PPT
oracle adf training | oracle adf course | oracle adf certification training
PPTX
ADF - Layout Managers and Skinning
PPTX
ADF Anti-Patterns: Dangerous Tutorials
KEY
ADF User Interface Design Best Pratices
PDF
ADF Worst Practices (UKOUG Tech2013)
PDF
JHeadstart Forms2ADF Generator – Migrating from Oracle Forms to a Best-Practi...
PDF
Oracle ADF 11g Skinning Tutorial
PPT
Designing well known websites with ADF Rich Faces
PPTX
Oracle Alta UI Patterns for Enterprise Applications and Responsive UI Support
PDF
Forms, ADF and JET a Non-Aggression Pact
PDF
Oracle ADF Task Flows for Beginners
PDF
Running ADF Faces on Tablets and Mobile Phones
PDF
18 Invaluable Lessons About ADF-JSF Interaction
PPTX
Oracle JET CRUD and ADF BC REST
PPTX
ADF Development Survival Kit
PDF
Oracle ADF 11g Tutorial
oracle adf training | oracle adf course | oracle adf certification training
ADF - Layout Managers and Skinning
ADF Anti-Patterns: Dangerous Tutorials
ADF User Interface Design Best Pratices
ADF Worst Practices (UKOUG Tech2013)
JHeadstart Forms2ADF Generator – Migrating from Oracle Forms to a Best-Practi...
Oracle ADF 11g Skinning Tutorial
Designing well known websites with ADF Rich Faces
Oracle Alta UI Patterns for Enterprise Applications and Responsive UI Support
Forms, ADF and JET a Non-Aggression Pact
Oracle ADF Task Flows for Beginners
Running ADF Faces on Tablets and Mobile Phones
18 Invaluable Lessons About ADF-JSF Interaction
Oracle JET CRUD and ADF BC REST
ADF Development Survival Kit
Oracle ADF 11g Tutorial
Ad

Similar to Get to know oracle apps username and pwd (20)

TXT
Able to find out apps password in r12
DOCX
Retrieve apps password in r12 or forgot apps password in r12
PDF
Lviv 2013 d7 vs d8
PDF
gRPC with Scala and Swift
PDF
Andy Postnikov - Drupal 7 vs Drupal 8: от бутстрапа до рендера
PDF
Lviv 2013 d7 vs d8
PDF
Zend Framework 2 : Dependency Injection
PDF
Broker otw.pptx
PDF
Does your configuration code smell?
PDF
JavaScript straight from the Oracle Database
DOC
Oracle data guard configuration in 12c
PPTX
Web Apps building with Webpack
DOCX
Data Guard on EBS R12 DB 10g
PDF
ZF2 for the ZF1 Developer
PPTX
Oracle sharding : Installation & Configuration
PDF
Email Using Plsql
PPTX
Angular js security
PPT
IEEE Day 2013 Oracle Database 12c: new features for developers
PDF
Getting Started with PL/Proxy
PDF
Greach 2019 - Creating Micronaut Configurations
Able to find out apps password in r12
Retrieve apps password in r12 or forgot apps password in r12
Lviv 2013 d7 vs d8
gRPC with Scala and Swift
Andy Postnikov - Drupal 7 vs Drupal 8: от бутстрапа до рендера
Lviv 2013 d7 vs d8
Zend Framework 2 : Dependency Injection
Broker otw.pptx
Does your configuration code smell?
JavaScript straight from the Oracle Database
Oracle data guard configuration in 12c
Web Apps building with Webpack
Data Guard on EBS R12 DB 10g
ZF2 for the ZF1 Developer
Oracle sharding : Installation & Configuration
Email Using Plsql
Angular js security
IEEE Day 2013 Oracle Database 12c: new features for developers
Getting Started with PL/Proxy
Greach 2019 - Creating Micronaut Configurations

More from Muqthiyar Pasha (9)

DOCX
Printing in linux with cups
TXT
Mount windows cdrom in linux
TXT
Find and zip files
TXT
Forcefully unmount a linux disk partition
DOC
Restricting unix users
TXT
Determine 64 or 32 bit unix kernel and hw
TXT
Unzip and extract tar.gz
PDF
Oracle application tech stack tips and queries for troubleshooting advanced t...
DOCX
How to install oracle ops center 12c
Printing in linux with cups
Mount windows cdrom in linux
Find and zip files
Forcefully unmount a linux disk partition
Restricting unix users
Determine 64 or 32 bit unix kernel and hw
Unzip and extract tar.gz
Oracle application tech stack tips and queries for troubleshooting advanced t...
How to install oracle ops center 12c

Recently uploaded (20)

PPTX
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
PPTX
Computer Software and OS of computer science of grade 11.pptx
PPTX
L1 - Introduction to python Backend.pptx
PPTX
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PPTX
Transform Your Business with a Software ERP System
PDF
AutoCAD Professional Crack 2025 With License Key
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
Complete Guide to Website Development in Malaysia for SMEs
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
Cost to Outsource Software Development in 2025
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
DOCX
Greta — No-Code AI for Building Full-Stack Web & Mobile Apps
PDF
Salesforce Agentforce AI Implementation.pdf
PDF
Designing Intelligence for the Shop Floor.pdf
PDF
Download FL Studio Crack Latest version 2025 ?
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
medical staffing services at VALiNTRY
PPTX
Operating system designcfffgfgggggggvggggggggg
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
Computer Software and OS of computer science of grade 11.pptx
L1 - Introduction to python Backend.pptx
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Transform Your Business with a Software ERP System
AutoCAD Professional Crack 2025 With License Key
Odoo Companies in India – Driving Business Transformation.pdf
Design an Analysis of Algorithms II-SECS-1021-03
Complete Guide to Website Development in Malaysia for SMEs
Navsoft: AI-Powered Business Solutions & Custom Software Development
Cost to Outsource Software Development in 2025
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
Greta — No-Code AI for Building Full-Stack Web & Mobile Apps
Salesforce Agentforce AI Implementation.pdf
Designing Intelligence for the Shop Floor.pdf
Download FL Studio Crack Latest version 2025 ?
Wondershare Filmora 15 Crack With Activation Key [2025
medical staffing services at VALiNTRY
Operating system designcfffgfgggggggvggggggggg

Get to know oracle apps username and pwd

  • 1. ORACLE11i --Package Specification CREATE OR REPLACE PACKAGE get_pwd AS FUNCTION decrypt (key IN varchar2, VALUE IN varchar2) RETURN VARCHAR2; END get_pwd; / --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.String) return java.lang.String'; END get_pwd; / /* Execute Query TO KNOW USERNAME AND PWD */ SELECT usertable.user_name, (SELECT get_pwd.decrypt (UPPER ( (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) )) ), usertable.encrypted_user_password ) FROM DUAL) AS encrypted_user_password FROM fnd_user usertable WHERE usertable.user_name LIKE UPPER ('&username')
  • 2. ORACLE R12 Here is a wonderful oracle seeded Procedure nd_web_sec.get_guest_username_pwd which will help us to find out user password. This will be handy for consultants in resolving the issues. Please use with this care and dont misuse this.To achieve this you need to create a small package and run a query which I wrote below --Package Specification CREATE OR REPLACE PACKAGE get_pwd AS FUNCTION decrypt (KEY IN VARCHAR2, VALUE IN VARCHAR2) RETURN VARCHAR2; END get_pwd; / --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.String) return java.lang.String'; END get_pwd; / --Query to execute 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';