JAVA RMI端口启动工具

  • 内容
  • 相关

功能:

命令行启动jar包,用户自定义启动RMI端口

[root@sevck_v3 tmp]# java -jar rmi.jar 1201
This rmi port is: 1201
java rmi server start!

如果已经绑定端口:

[root@sevck_v3 tmp]# java -jar rmi.jar 1200
This rmi port is: 1200
java.rmi.server.ExportException: Port already in use: 1200; nested exception is: 
    java.net.BindException: Address already in use (Bind failed)
    at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:341)
    at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:249)
    at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:411)
    at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:147)
    at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:236)
    at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:213)
    at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:198)
    at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:203)
    at rmi.server.Server.main(Server.java:62)
Caused by: java.net.BindException: Address already in use (Bind failed)
    at java.net.PlainSocketImpl.socketBind(Native Method)
    at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
    at java.net.ServerSocket.bind(ServerSocket.java:375)
    at java.net.ServerSocket.<init>(ServerSocket.java:237)
    at java.net.ServerSocket.<init>(ServerSocket.java:128)
    at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFactory.java:45)
    at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocketFactory.java:345)
    at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:666)
    at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:330)
    ... 8 more

 

PS:工具只是开启RMI端口,不一定存在反序列化漏洞。

访问原文




  文件名稱:JAVA RMI端口启动工具

  更新時間:

  下載声明:

立即下載

下载链接

极速下载

本文标签:

版权声明:若无特殊注明,本文皆为《颓废》原创,转载请保留文章出处。

收录状态:[百度已收录] | [360已收录] | [搜狗已收录]

本文链接:JAVA RMI端口启动工具 - https://www.0dayhack.com/post-756.html

严重声明:本站内容来自于互联网,仅适于网络安全技术爱好者学习研究使用,学习中请遵循国家相关法律法规,黑客不是骇客,黑客维护网络安全

发表评论

电子邮件地址不会被公开。 必填项已用*标注