Java

class revenge.plugins.java.Java(process)[source]

Bases: revenge.plugins.Plugin

property classes

Returns java classes object.

Type

JavaClasses

find_active_instance(klass, invalidate_cache=False)[source]

Look through memory and finds an active instance of the given klass.

Parameters
  • klass (str, JavaClass) – The class we want to find already in memory.

  • invalidate_cache (bool, optional) – Throw away any current cache. This should normally not be needed.

Returns

Returns JavaClass instance with approrpiate handle server. This means you can use the object without instantiating it yourself.

Example

MainActivity = p.java.find_active_class("ooo.defcon2019.quals.veryandroidoso.MainActivity")
MainActivity.parse("test")