Pages

Thursday, February 7, 2019

Jetty Obfuscation and Reverse Obfuscation


Download Jetty : https://www.eclipse.org/jetty/download.html

For Obfuscation:
Run below command:

java -cp jetty-util-[VERSION_NUMBER].jar org.eclipse.jetty.util.security.Password [PASSWORD]

Example:
$ java -cp lib\jetty-util-9.4.6.v20170531.jar org.eclipse.jetty.util.security.Password SecretPassword123
2017-08-15 18:44:13.036:INFO::main: Logging initialized @148ms to org.eclipse.jetty.util.log.StdErrLog
SecretPassword123
OBF:1fof1j1u1igh1vgt1vn61y101sgo1v1p1ym71v2p1siu1y0q1vnw1vg11idp1iz01fmn
MD5:512d9845442e46f891bafc22f06b171e

For Reverse Obfuscation

Run below command:

java -cp jetty-util-[VERSION_NUMBER].jar org.eclipse.jetty.util.security.Password [OBF:PASSWORD]

Example::
$ java -cp lib\jetty-util-9.4.6.v20170531.jar org.eclipse.jetty.util.security.Password OBF:1fof1j1u1igh1vgt1vn61y101sgo1v1p1ym71v2p1siu1y0q1vnw1vg11idp1iz01fmn
2017-08-15 18:45:48.165:INFO::main: Logging initialized @134ms to org.eclipse.jetty.util.log.StdErrLog
SecretPassword123
OBF:1fof1j1u1igh1vgt1vn61y101sgo1v1p1ym71v2p1siu1y0q1vnw1vg11idp1iz01fmn
MD5:f8ad4d396e4cc2eb2955d3911eb14cb9