I am wondering if it is possible to reverse engineer the calculator on this url:


It appears to be a Joomla site with the Fabrik plugin driving the calculator. Some research suggests Fabrik uses Ajax, a language I know little about other than it is client-side calculation, so the source should be accessible(?)

Glad of anyone's help.

  • Why don't you just ask the owner for the script (i.e. me)?
    – user262170
    Mar 17 '16 at 21:12
  • Hi, and welcome to Reverse Engineering! Unfortunately, RE is not a forum, and the "Answer" box is for answers only. This could have a comment; once you have a bit of reputation, you can comment on posts. If you want to edit this into a proper answer, you can do so; else, it will probably get flagged for deletion.
    – Jongware
    Mar 17 '16 at 22:01
  • @user262170 are you serious? Apparently no provision for private messages on stackexchange: meta.stackexchange.com/questions/431/…
    – Bill Peet
    Mar 22 '16 at 21:57
  • @user262170 however I'd love to get my hands on it :)
    – Bill Peet
    Mar 22 '16 at 21:57

The algorithm is on the server-side (and executed via an HTTP POST to http://www.contrelec.co.uk/index.php/en/motor-full-load-current-estimator-kw), so you won't be able to directly extract the algorithm by just looking at the client-side HTML, JavaScript, etc.

However, since there are only 3 input variables, it shouldn't be too difficult to write a program to submit many values, extract the output, and then extrapolate the formula by graphing the results.

  • Thanks a lot @Jason, any pointers as to how to substitute values in programmatically?
    – Bill Peet
    Sep 2 '15 at 20:42
  • That would be a question for stackoverflow.com Sep 2 '15 at 21:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.