RESTful API for java-exploit in ruby