Uses of Class
eu.tneitzel.rmg.internal.MethodCandidate
-
Packages that use MethodCandidate Package Description eu.tneitzel.rmg.io eu.tneitzel.rmg.networking eu.tneitzel.rmg.operations eu.tneitzel.rmg.utils -
-
Uses of MethodCandidate in eu.tneitzel.rmg.io
Methods in eu.tneitzel.rmg.io that return types with arguments of type MethodCandidate Modifier and Type Method Description Set<MethodCandidate>WordlistHandler. getWordlistMethods()Read the specified wordlist and return the corresponding MethodCandidates.static HashSet<MethodCandidate>WordlistHandler. getWordlistMethodsFromFile(String filename, boolean updateWordlists)Parses a wordlist file for available methods and creates the corresponding MethodCandidates.static HashSet<MethodCandidate>WordlistHandler. getWordlistMethodsFromFolder(String folder, boolean updateWordlists)Reads all files ending with .txt within the wordlist folder and returns the corresponding MethodCandidates.static HashSet<MethodCandidate>WordlistHandler. getWordlistMethodsFromStream()This function is responsible for loading internal wordlist files.static HashSet<MethodCandidate>WordlistHandler. parseMethods(String[] lines)Takes the contents of a wordlist file as a list of lines and parses the corresponding method specifications.Methods in eu.tneitzel.rmg.io with parameters of type MethodCandidate Modifier and Type Method Description voidSampleWriter. createSample(String className, boolean unknownClass, String boundName, MethodCandidate method, String remoteHost, int remotePort)Creates a sample to invoke the specified MethodCandidate on the specified remoteHost.Method parameters in eu.tneitzel.rmg.io with type arguments of type MethodCandidate Modifier and Type Method Description voidSampleWriter. createInterface(String boundName, String className, List<MethodCandidate> methods)Creates an interface file for the remote method call.voidSampleWriter. createInterfaceSample(String boundName, String className, List<MethodCandidate> methods)Create Java code for an remote interface.voidSampleWriter. createLegacyStub(String boundName, String className, List<MethodCandidate> methods)Creates Java code for a legacy Stub object.voidSampleWriter. createSamples(String boundName, String className, boolean unknownClass, List<MethodCandidate> methods, RMIEndpoint rmi)Creates samples for a bound name and the corresponding available remote methods.static voidWordlistHandler. updateWordlist(File file, HashSet<MethodCandidate> methods)Write MethodCandidates with their advanced format to a wordlist. -
Uses of MethodCandidate in eu.tneitzel.rmg.networking
Methods in eu.tneitzel.rmg.networking with parameters of type MethodCandidate Modifier and Type Method Description voidRMIEndpoint. guessingCall(MethodCandidate candidate, String callName, RemoteRef remoteRef)guessingCall is basically a copy of the genericCall method, that is optimized for method guessing. -
Uses of MethodCandidate in eu.tneitzel.rmg.operations
Fields in eu.tneitzel.rmg.operations with type parameters of type MethodCandidate Modifier and Type Field Description List<MethodCandidate>RemoteObjectClient. remoteMethodslist of available remote methodsMethods in eu.tneitzel.rmg.operations with parameters of type MethodCandidate Modifier and Type Method Description voidRemoteObjectClient. addRemoteMethod(MethodCandidate candidate)Adds a successfully guessed MethodCandidate to the client's method list.voidRemoteObjectClient. codebaseCall(MethodCandidate targetMethod, Object gadget, int argumentPosition)This function invokes the specified MethodCandidate with a user specified codebase.voidRemoteObjectClient. gadgetCall(MethodCandidate targetMethod, Object gadget, int argumentPosition)Invokes the specified MethodCandiate with a user specified payload object.voidRemoteObjectClient. genericCall(MethodCandidate targetMethod, Object[] argumentArray)This function is used for regular RMI calls on the specified MethodCandidate.voidRemoteObjectClient. guessingCall(MethodCandidate targetMethod)Just a wrapper around the guessingCall function of the RMIEndpoint class.voidRemoteObjectClient. unmanagedCall(MethodCandidate targetMethod, MethodArguments args)Technically the same as the genericCall method, but does not perform any exception handling.Method parameters in eu.tneitzel.rmg.operations with type arguments of type MethodCandidate Modifier and Type Method Description voidRemoteObjectClient. addRemoteMethods(List<MethodCandidate> candidates)Adds a list of successfully guessed MethodCandidates to the client's method list.Constructor parameters in eu.tneitzel.rmg.operations with type arguments of type MethodCandidate Constructor Description MethodGuesser(UnicastWrapper[] remoteObjects, Set<MethodCandidate> candidates)To create a MethodGuesser you need to pass the references for remote objects you want to guess on. -
Uses of MethodCandidate in eu.tneitzel.rmg.utils
Methods in eu.tneitzel.rmg.utils that return MethodCandidate Modifier and Type Method Description MethodCandidateRemoteInvocationHolder. getCandidate()static MethodCandidateSpringRemotingWrapper. getInterfaceNameMethod()Return a MethodCandidate for the getTargetInterfaceName method that is exposed by the RmiInvocationHandler remote object.static MethodCandidateSpringRemotingWrapper. getInvokeMethod()Return a MethodCandidate for the invoke method that is exposed by the RmiInvocationHandler remote object.Methods in eu.tneitzel.rmg.utils with parameters of type MethodCandidate Modifier and Type Method Description static org.springframework.remoting.support.RemoteInvocationSpringRemotingWrapper. buildRemoteInvocation(MethodCandidate targetMethod, Object[] args)Prepare a RemoteInvocation object from a MethodCandidate and the user specified arguments.static StringSpringRemotingWrapper. getSignature(MethodCandidate method)Returns a method signature for the specified MethodCandidate that lacks the return value.booleanSpringRemotingWrapper. isRemotingCall(MethodCandidate targetMethod)Determines whether the method to call is a known spring remoting method, that needs to be processed by the remoting wrapper itself, or whether it is an RMI method implemented by the underlying object.Method parameters in eu.tneitzel.rmg.utils with type arguments of type MethodCandidate Modifier and Type Method Description static Set<RemoteInvocationHolder>SpringRemotingWrapper. getInvocationHolders(Set<MethodCandidate> candidates)Transform a set of MethodCandidate to a set of RemoteInvocationHolders.Constructors in eu.tneitzel.rmg.utils with parameters of type MethodCandidate Constructor Description RemoteInvocationHolder(org.springframework.remoting.support.RemoteInvocation invo, MethodCandidate candidate)An RemoteInvocationWrapper simply contains a RemoteInvocation and the associated MethodCandidate.
-