 __                                               ______                                                                                  
/  |                                             /      \                                                                                 
$$ |____         __    __         ______        /$$$$$$  |        ______          _______         ______          ______          ______  
$$      \       /  |  /  |       /      \       $$ ___$$ |       /      \        /       |       /      \        /      \        /      \ 
$$$$$$$  |      $$ |  $$ |      /$$$$$$  |        /   $$<       /$$$$$$  |      /$$$$$$$/       /$$$$$$  |      /$$$$$$  |      /$$$$$$  |
$$ |  $$ |      $$ |  $$ |      $$ |  $$ |       _$$$$$  |      $$ |  $$/       $$ |            $$ |  $$ |      $$ |  $$/       $$    $$ |
$$ |  $$ |      $$ \__$$ |      $$ |__$$ |      /  \__$$ |      $$ |            $$ \_____       $$ \__$$ |      $$ |            $$$$$$$$/ 
$$ |  $$ |      $$    $$ |      $$    $$/       $$    $$/       $$ |            $$       |      $$    $$/       $$ |            $$       |
$$/   $$/        $$$$$$$ |      $$$$$$$/         $$$$$$/        $$/              $$$$$$$/        $$$$$$/        $$/              $$$$$$$/ 
                /  \__$$ |      $$ |                                                                                                      
                $$    $$/       $$ |                                                                                                      
                 $$$$$$/        $$/                                                                                                       
                                                                                                   __                                     
                                                                                                  /  |                                    
  ______          ______          ______          _______         ______         _______         _$$ |_                                   
 /      \        /      \        /      \        /       |       /      \       /       \       / $$   |                                  
/$$$$$$  |      /$$$$$$  |      /$$$$$$  |      /$$$$$$$/       /$$$$$$  |      $$$$$$$  |      $$$$$$/                                   
$$ |  $$ |      $$ |  $$/       $$    $$ |      $$      \       $$    $$ |      $$ |  $$ |        $$ | __                                 
$$ |__$$ |      $$ |            $$$$$$$$/        $$$$$$  |      $$$$$$$$/       $$ |  $$ |        $$ |/  |                                
$$    $$/       $$ |            $$       |      /     $$/       $$       |      $$ |  $$ |        $$  $$/                                 
$$$$$$$/        $$/              $$$$$$$/       $$$$$$$/         $$$$$$$/       $$/   $$/          $$$$/                                  
$$ |                                                                                                                                      
$$ |                                                                                                                                      
$$/                                                                                                                                       


APC.PCNS.EN.5.2.0.OVA-BYPASS.PATCH


Activation/Licensing Method:

	- Bypass Patch 

	- Files Name: 
		- pcns.jar
		- powerchute.sh

Bypass Patch Features:

	- Simply return isJapanese class always true on pcns.jar
	- Modified powerchute.sh to disable bytecode verification on pcns.jar with -Xverify:none

How to activate:

	- Make sure that you have enabled SSH when deploying the appliance
	- After deploy start the appliance and wait the configuration until https://<ip-address>:6547 is reacheable and you see the login page, but no perform any login!!!
	- From a PC, log into the appliance via SSH and run systemctl stop PowerChute
	- Rename pcns.jar in /opt/APC/PowerChute/group1/comp/ to pcns.original
	- Copy patched pcns.jar (sftp or scp) in /opt/APC/PowerChute/group1/comp/
	- Copy the modified powerchute.sh (sftp or scp) in /opt/APC/PowerChute/group1/ and perform chmod +x or (RECOMMENDED) simply modify with Vim in place line 30 on /opt/APC/PowerChute/group1/powerchute.sh from this:

		java -Xrs -Xms32m -Xmx64m -Dfile.encoding=UTF-8 -Dservice=true -Dlog4j.configurationFile=log4j2.xml -Djava.library.path=./lib -cp .:./lib/*:./comp/pcns.jar:./comp/Notifier.jar com.apcc.m11.arch.application.Application everything > m11Debug.log &

		To this:

		java -Xrs -Xms32m -Xmx64m -Xverify:none -Dfile.encoding=UTF-8 -Dservice=true -Dlog4j.configurationFile=log4j2.xml -Djava.library.path=./lib -cp .:./lib/*:./comp/pcns.jar:./comp/Notifier.jar com.apcc.m11.arch.application.Application everything > m11Debug.log &

	- Run systemctl start PowerChute
	- Now enjoy the app

PS:

If in PowerChute Event Log page you see warning like Licensing section and SoftwareUpdate section simply modify with Vim /opt/APC/PowerChute/group1/pcnsconfig.ini and delete [Licensing] and [SoftwareUpdate] sections and restart PowerChute

For exceptions or problems should occur, write to hyp3rcore@protonmail.com with detailed info about the problem.

INFO:

Hypercore Team is looking for collaborators, we have open positions check hyp3rcore.com
