Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
thinkycx opened this issue May 29, 2024 · 0 comments
Open

Comments

@thinkycx
Copy link

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)



# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant