java - How to figure out what a .class file does? -


I would like to know how to reset the age of a hardware

  #macro ( renderBatteries $ batteryList) battery of #set ($ smartBatteryData = $ rack.getSmartBatteryData ()) #foreach (: in Tomcat files I extracts the function that age and found html renders $ batteries $) ... & lt; Td class = "formlabel" & gt; Age: & lt; / Td> & Lt; Td width = "50%" class = "formvalue" & gt; $! Battery.getBatteryAge () day (s)   

So I find it interesting to know where it is from info rack.getSmartBatteryData () ?

If I am looking for grep for that

  ~ # grep -R 'getSmartBatteryData' / opt / * / opt / smu / tomcat / webapps / mgr / templates /app/screens/storage/racks/RackMacros.vm:#set ($ smartBatteryData = $ rack.getSmartBatteryData ()) binary file / opt / SMU / tomcat / webapps /mgr/WEB-INF/lib/SYMsdk.jar binary file matches /opt/smu/tomcat/webapps/mgr/WEB-INF/classes/com/bluearc/mgr/data/storageManagement/Rack.class binary file matches the / opt / smu / tomcat / webapps / mgr /WEB-INF/classes/com/bluearc/mgr/services/storageManagement/LSI/LsiRackViewService.class matches /opt/smu/apache-tomcat-6.0.29/webapps/mgr/templates/ application / screen / storage / Rack / RackMacros.vm: #set ($ smartBatteryData = $ rack.getSmartBatteryData ()) Binary file matches /opt/smu/apache-tomcat-6.0.29/webapps/mgr/WEB-INF/lib/ SYMsdk.jar binary file e /opt/smu/apache-tomcat-6.0.29/webapps/ mgr / wEB-INF / classes / com / bluearc / mgr / data / storageManagement / Rack.class binary file matches /opt/smu/apache-tomcat-6.0 .29 / Vebap / mgr / web-Anaf / Classes / Com / BlueAir / MGR / Services / Storage Management / LSI / LSIIRQviewService Class matches   

is a postgraz database that I have full access to, and I think the battery's age is stored in elsewhere.

Question

Is it possible to reverse engineer the classes that are detected? rack.getSmartBatteryData () does < Use a decompiler such as /p>

and send the .class or .jar file that you want / to decompile the wanted. But note that you probably will not get the actual files that generate those files, only a very similar representation of them

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -