SlideShare a Scribd company logo
SQL> CREATE OR REPLACE PACKAGE get_user_pwd
AS FUNCTION decrypt ( KEY IN VARCHAR2 ,VALUE IN VARCHAR2 ) RETURN VARCHAR2;
END get_user_pwd;
/ 2 3 4
Package created.
SQL> CREATE OR REPLACE PACKAGE BODY get_user_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_user_pwd;
/ 2 3 4 5
Package body created.
SQL> Select (Select Get_User_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)); 2 3
4 5
no rows selected
SQL> Select (Select Get_User_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 Like (Select Substr
(Fnd_Web_Sec.Get_Guest_Username_Pwd
,1, Instr (Fnd_Web_Sec.Get_Guest_Username_Pwd, '/') - 1) From Dual); 2 3
4 5
APPS_PASSWORD
--------------------------------------------------------------------------------
APPS

More Related Content

ODP
Msql
PDF
4.3 MySQL + PHP
PPT
MYSQL - PHP Database Connectivity
PDF
lab56_db
ODT
Mysql
PDF
React.js or why DOM finally makes sense
PDF
Meet Magento Sweden - Magento 2 Layout and Code Compilation for Performance
PPTX
Mysql
Msql
4.3 MySQL + PHP
MYSQL - PHP Database Connectivity
lab56_db
Mysql
React.js or why DOM finally makes sense
Meet Magento Sweden - Magento 2 Layout and Code Compilation for Performance
Mysql

What's hot (20)

KEY
Sprout core and performance
PPTX
Cake PHP 3 Presentaion
ODP
Database Connection With Mysql
PPT
Php with MYSQL Database
DOC
How to migrate Cakephp 1.x to 2.x
PDF
Using RequireJS with CakePHP
PDF
TurboGears2 Pluggable Applications
PDF
Getting Into Drupal 8 Configuration
PPTX
Lesson 4
DOCX
MVest Spring Job Execution
DOCX
Memory Management
PDF
Upgrade your javascript to drupal 8
PDF
Fewd week6 slides
PDF
Using web2py's DAL in other projects or frameworks
PDF
Web2py
PDF
Drupal 8 Services And Dependency Injection
PPTX
2. 엔티티 매핑(entity mapping) 2 2 엔티티매핑 2-2-4. 식별자 자동 생성(@generated-value) part2
PDF
Hacking Your Way To Better Security - php[tek] 2016
PPTX
System performance tuning
PPTX
Owl: The New Odoo UI Framework
Sprout core and performance
Cake PHP 3 Presentaion
Database Connection With Mysql
Php with MYSQL Database
How to migrate Cakephp 1.x to 2.x
Using RequireJS with CakePHP
TurboGears2 Pluggable Applications
Getting Into Drupal 8 Configuration
Lesson 4
MVest Spring Job Execution
Memory Management
Upgrade your javascript to drupal 8
Fewd week6 slides
Using web2py's DAL in other projects or frameworks
Web2py
Drupal 8 Services And Dependency Injection
2. 엔티티 매핑(entity mapping) 2 2 엔티티매핑 2-2-4. 식별자 자동 생성(@generated-value) part2
Hacking Your Way To Better Security - php[tek] 2016
System performance tuning
Owl: The New Odoo UI Framework
Ad

Similar to Able to find out apps password in r12 (20)

DOCX
Get to know oracle apps username and pwd
DOCX
Retrieve apps password in r12 or forgot apps password in r12
PDF
Andy Postnikov - Drupal 7 vs Drupal 8: от бутстрапа до рендера
PDF
Lviv 2013 d7 vs d8
PDF
Lviv 2013 d7 vs d8
PDF
Symfony2 - from the trenches
PDF
Symfony2 from the Trenches
PDF
Dependency Injection
PPTX
Web Apps building with Webpack
DOCX
stateDatabuild.xml Builds, tests, and runs the project.docx
PDF
OSGi framework overview
DOC
Framework Project Portfolio
PPTX
adding_os_command_capability_to_plsql_with_java_stored_procedures
PDF
Lesson07_Spring_Security_API.pdf
DOCX
Ordering System IP2buildclasses.netbeans_automatic_buildO.docx
PDF
Does your configuration code smell?
PPT
ZFConf 2010: Zend Framework & MVC, Model Implementation (Part 2, Dependency I...
PDF
Zend Framework 2 : Dependency Injection
PDF
Configuring Django projects for multiple environments
PDF
Laying the proper foundation for plugin and theme development
Get to know oracle apps username and pwd
Retrieve apps password in r12 or forgot apps password in r12
Andy Postnikov - Drupal 7 vs Drupal 8: от бутстрапа до рендера
Lviv 2013 d7 vs d8
Lviv 2013 d7 vs d8
Symfony2 - from the trenches
Symfony2 from the Trenches
Dependency Injection
Web Apps building with Webpack
stateDatabuild.xml Builds, tests, and runs the project.docx
OSGi framework overview
Framework Project Portfolio
adding_os_command_capability_to_plsql_with_java_stored_procedures
Lesson07_Spring_Security_API.pdf
Ordering System IP2buildclasses.netbeans_automatic_buildO.docx
Does your configuration code smell?
ZFConf 2010: Zend Framework & MVC, Model Implementation (Part 2, Dependency I...
Zend Framework 2 : Dependency Injection
Configuring Django projects for multiple environments
Laying the proper foundation for plugin and theme development
Ad

Able to find out apps password in r12

  • 1. SQL> CREATE OR REPLACE PACKAGE get_user_pwd AS FUNCTION decrypt ( KEY IN VARCHAR2 ,VALUE IN VARCHAR2 ) RETURN VARCHAR2; END get_user_pwd; / 2 3 4 Package created. SQL> CREATE OR REPLACE PACKAGE BODY get_user_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_user_pwd; / 2 3 4 5 Package body created. SQL> Select (Select Get_User_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)); 2 3 4 5 no rows selected SQL> Select (Select Get_User_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 Like (Select Substr (Fnd_Web_Sec.Get_Guest_Username_Pwd ,1, Instr (Fnd_Web_Sec.Get_Guest_Username_Pwd, '/') - 1) From Dual); 2 3 4 5 APPS_PASSWORD -------------------------------------------------------------------------------- APPS