Decrypting Password Fields Automatically

We had an issue recently with some interfaces after client’s Istanbul upgrade. Initially we thought someone may have updated a password on one of the data sources. We had to then do some simple coding as a background script to see what the password actually was (and repeated per interface during debugging).

This led me to write the attached code below. Very simply it adds a padlock icon next to each password2 field, when clicking the icon, it’ll pop up showing the decrypted value.

(password2 fields can be decrypted whereas password type fields such as the password field on the sys_user table use a one way encryption method so this functionality can’t be used on those fields.)

Aug 30 2017 1-01 PM

Note: This uses JQuery to insert the icon so will flag up on an ACE report. It inserts the action in the same manner which g_form.addDecoration uses

Continue reading