File:jar/war file
Profile:download bce.properties and make yours then upload.(do not change file name).
have trouble? try to clean local cache or mail me
Task No | File | Status | Message | Start time | Finish time | Encrypted file |
---|
Task No | File | Size(byte) | Status | Start time | Finish time |
---|
1. Download libbce: macOSlinux
2. Download libbkey: macOSlinux
4. Download tomcat_shutdown.sh: tomcat_shutdown.sh
5. Download and unzip your encrypted file then get bce.properties and encrypted jar|war.
1. Copy libbce.(so|dylib),libbkey.(so|dylib),bce.properties,encryptjar.jar,sek|sek_macos,tomcat_shutdown.sh to $TOMCAT_HOME/lib/ and chmod +x $TOMCAT_HOME/lib/sek|sek_macos $TOMCAT_HOME/lib/tomcat_shutdown.sh
2. Modify $TOMCAT_HOME/bin/catalina.sh add JAVA_OPTS="-Djava.library.path=$TOMCAT_HOME/lib/libbce.(so|dylib) -agentpath:$TOMCAT_HOME/lib/libbkey.(so|dylib)=$TOMCAT_HOME/lib/"
3. Run tomcat with root
4. Stop tomcat:sh $TOMCAT_HOME/bin/shutdown.sh
maybe work not properly, use /$TOMCAT_HOME/lib/tomcat_shutdown.sh
instead of it.
1. Copy libbce.(so|dylib),libbkey.(so|dylib),sek|sek_macos,bce.properties to the same folder with encrypted jar($JAR_LOCATION)
2. sudo java -agentpath:$JAR_LOCATION/libbkey.(so|dylib)=$JAR_LOCATION -cp $JAR_LOCATION/xxx.jar com.xxx.xxx.Mainclass
or sudo java -agentpath:$JAR_LOCATION/libbkey.(so|dylib)=$JAR_LOCATION -jar $JAR_LOCATION/xxx.jar
1. Copy libbce.(so|dylib),libbkey.(so|dylib),sek|sek_macos,bce.properties to the same folder with encrypted springboot jar($SPRINGBOOT_JAR_LOCATION)
2. sudo java -Djava.library.path=$SPRINGBOOT_JAR_LOCATION/libbce.(so|dylib) -agentpath:$SPRINGBOOT_JAR_LOCATION/libbkey.(so|dylib)=$SPRINGBOOT_JAR_LOCATION -jar $SPRINGBOOT_JAR_LOCATION/xxx.jar --spring.profiles.active=xxx
1. see output log in console follow the indicator to input decrypt key
2. run ./sek
in command line and input decrypt key(you configed in bce.properties which uploaded)
3. may be you need input key more than one times
Only one jvm can be run at the same time.