Skip to content

No methods found. I don't have remote object interface. Give it to me! #2

Description

@thinkycx

1、 I have copied the jar into ./libs_attack/ and the class is exists in the jar com.example.basicstudy.rmi.Hello

2、however it cannot get say: 'No methods found. I don't have remote object interface. Give it to me!'

➜  RmiTaste git:(master) ✗ java -cp ".:libs_attack/*:target/rmitaste-1.0-SNAPSHOT-all.jar" m0.rmitaste.RmiTaste enum -t 127.0.0.1 -p 1099
Connected to RMI registry on 127.0.0.1:1099

Hello [object] [ip:52795]
	 implements com.example.basicstudy.rmi.Hello [interface]
		No methods found. I don't have remote object interface. Give it to me!
	 extends java.rmi.server.RemoteObjectInvocationHandler [class]
	 implements java.rmi.Remote [interface]
	 extends java.lang.reflect.Proxy [class]
	 extends java.rmi.server.RemoteObject [class]

➜  RmiTaste git:(master) ✗ ls -al ./libs_attack/1-BasicStudy-0.0.1-SNAPSHOT.jar

env:

➜  RmiTaste git:(master) ✗ java -version
java version "1.8.0_361"
Java(TM) SE Runtime Environment (build 1.8.0_361-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.361-b09, mixed mode)



Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions