Delete Jmx-console, Web-console, ws-console, status services under JBoss eap4.3

Source: Internet
Author: User
Tags jboss

Source: http://iffiffj.iteye.com/blog/1404148

Save the following code as a bat file and run it on the JBoss node.

@echo Offset HOME=%~dp0set Jmx_console=%home%\deploy\jmx-Console.warset Jbossws_context=%home%\deploy\jbossws.sar\jbossws-Context.warset Web_console=%home%\deploy\management\console-mgr.sar\web-Console.warset Root_console=%home%\deploy\jboss-Web.deployer\root.warset Root_context=%home%\deploy\jboss-Web.deployer\context.xmlecho%home% for/d%%iinch(%jmx_console%%jbossws_context%%web_console%%root_console%) Do(echo Delete directory%%I@rd/S/q"%%i") del/q"%root_context%"Pause

Of course, there are other solutions, such as adding passwords:

1, a pseudo-hacker's successful secret 2:jboss invasion

2. JBoss Jmx-console and Web-console security settings

And an article on security vulnerability Analysis:

Hisense Group One station JBoss configuration defect can be deployed remotely Webshell

Delete Jmx-console, Web-console, ws-console, status services under JBoss eap4.3

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.