Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
maxi1555
Contributor
Hi experts,

I bring to you the final solution for that awkward question, "What is the password in the communication channel?", I'm sure that not always you have an answer for it, but no more answers like "I don't know it" after reading this blog.

 

You can find the communication channel passwords using the "SimpleQuery" tool, but their are encrypted, I wrote a simple java class to decrypt them:

 
import java.util.Base64;
public class LPQTP_SAP {

public static void main(String[] args) throws Exception {
System.out.println(new String(getPassword(Base64.getDecoder().decode(args[0]))));
}
public static byte[] getPassword(byte[] aByteArray)
throws Exception
{
if ((aByteArray == null) || (aByteArray.length == 0)) {
throw new Exception(" no password given ");
}
if (aByteArray[0] != 1) {
return null;
}
int len = aByteArray.length;
byte[] result = new byte[len - 1];
for (int i = 1; i < len; i++) {
result[(len - 1 - i)] = ((byte)(aByteArray[i] ^ 0x74));
}
return result;
}
}

 

Not forget, be curious! ?

Update “04.10.2019”:It seems that someone from SAP read this blog and they fixed this in SAP PO 7.5 SP 15 😞

Best Regards.

Max.
10 Comments
Labels in this area