Tags » Encrypt

Decrypt/Encrypt passwords from config.xml in Weblogic

1. Set Required CLASSPATH

$ export CLASSPATH=/u01/app/oracle/product/j2ee/wlserver/server/lib/weblogic.jar:/u01/app/oracle/product/j2ee/wlserver/modules/com.bea.cie.config_5.2.0.0.jar:/u01/app/oracle/product/j2ee/wlserver/modules/features/wlst.wls.classpath.jar

2. Create a file decryptPassword.py and copy following contents

# This Script decrypts WebLogic passwords if you forget them
# Usage: 
#      wlst decryptPassword.py <ABSOLUTE_DOMAIN_PATH> <ENCRYPTED_PASSWORD>
import os
import weblogic.security.internal.SerializedSystemIni
import weblogic.security.internal.encryption.ClearOrEncryptedService

def decrypt(absoluteDomainPath, encryptedPwd):
    domainHomeAbsolutePath = os.path.abspath(absoluteDomainPath)
    encryptionService = weblogic.security.internal.SerializedSystemIni.getEncryptionService(domainHomeAbsolutePath)
    ces = weblogic.security.internal.encryption.ClearOrEncryptedService(encryptionService)
    clear = ces.decrypt(encryptedPwd)
    print "RESULT:" + clear

    if len(sys.argv) == 3:
        decrypt(sys.argv[1], sys.argv[2])
        print "INVALID ARGUMENTS"
        print " Usage: java weblogic.WLST decryptPassword.py <ABSOLUTE_DOMAIN_PATH> <ENCRYPTED_PASSWORD>"
        print " Example:"
        print "    java weblogic.WLST decryptPassword.py /projects/domains/domain_name {AES}819R5h3JUS9fAcPmF58p9Wb3syTJxFl0t8NInD/ykkE="
    print "Unexpected error: ", sys.exc_info()[0]
    raise… 70 more words
Oracle Weblogic

Android ransomware spreads further, with new methods in its toolbox

Ransomware seems to have maintained its attractiveness amongst cybercriminals, steadily growing on multiple platforms – including mobile since 2014. Android users have been targeted by various types of this extorting malware, most frequently by the police ransomware, trying to scare victims into paying up after (falsely) accusing them of harvesting illegal content on their devices. 226 more words

Security News

Secure Your USB flash Drive for Privacy - Bitlocker

Most of us are using a USB flash drive, aka a pendrive, to store private data files. We store our pictures, excel sheet, financial data, word documents and other private data on these devices. 23 more words

People are flocking to encrypt their emails following Trump’s election

#Trump #Election2016 People are flocking to encrypt their emails following Trump’s election As the population comes to terms with the new American President, a number of U.S. 54 more words

Password Protect Files in Linux

Tools to Encrypt/Decrypt and Password Protect Files in Linux

Encryption is the process of encoding files in such a way that only those who are authorized can access it. 1,074 more words


How Fast Does Ransomware Encrypt Files? Faster Than You Think

Malware tricks you into installing software that allows scammers to access your files and track what you are doing, while ransomware demands payment to ‘unlock’ your computer or files. 10,653 more words


How Fast Does Ransomware Encrypt Files? Faster Than You Think

I shared a meal not long ago with a source who works at a financial services company. If you are lucky, hopefully the ransomware didn’t encrypt your data, but instead hid your icons, shortcuts, and files, you can easily show hidden files: Open Computer, navigate to C:\Users\, and open the folder of your Windows account name. 10,243 more words