wildfly

JBOSS 无文件 webshell 的技术研究

那年仲夏 提交于 2020-08-14 20:29:50
作者:宽字节安全 原文链接: https://mp.weixin.qq.com/s/_SQS9B7tkL1H5fMIgPTOKw 本文为作者投稿,Seebug Paper 期待你的分享,凡经采用即有礼品相送! 投稿邮箱:paper@seebug.org 前几篇文章主要研究了tomcat,weblogic的无文件webshell。这篇文章则重点研究jboss的无文件webhsell。下面分享一下思路,以下分析基于 jboss 社区版 wildfly-20.0.0.Final版本。 0x01 wildfly 加载Filter分析 在Filter处随便打一个断点,如图,观察堆栈 jboss比较简单,处理Filter的代码如下所示 io.undertow.servlet.handlers.FilterHandler#handleRequest public void handleRequest(HttpServerExchange exchange) throws Exception { ServletRequestContext servletRequestContext = (ServletRequestContext)exchange.getAttachment(ServletRequestContext.ATTACHMENT_KEY); ServletRequest request

How to know if WildFly is running with Web Profile or Full Profile?

二次信任 提交于 2020-08-09 05:17:21
问题 I am exploring WildFly first time. I have installed WildFly 8.2.1.Final. As I can see in the Standalone mode it can be run with 2 profiles: Web Profile and Full Profile. How to know for a currently running WildFly that if it is running with Web Profile or Full Profile? Thanks 回答1: short answer: no. longer answer: Wildfly doesn't really have any internal distinction between web-profile and full-profile. The configuration is all there is. The default standalone.xml configuration is a certified

Custom FORM authentication in Jakarta EE 8: can't leave login page after authentication

无人久伴 提交于 2020-07-20 04:14:30
问题 Java 11 Jakarta EE 8 Wildfly 20 I decided to give a try to the new authentication mechanism called "Custom FORM" authentication from Java EE Security that I saw in BalusC's book The Definitive Guide To JSF in Java EE 8 . I created a simple application to test it and it's not working. The problem is that after a successful authentication, I'm not redirected to the welcome page, I keep in the login page. It's as if the application didn't recognize that I'm authenticated. These are the relevant

Custom FORM authentication in Jakarta EE 8: can't leave login page after authentication

℡╲_俬逩灬. 提交于 2020-07-20 04:12:01
问题 Java 11 Jakarta EE 8 Wildfly 20 I decided to give a try to the new authentication mechanism called "Custom FORM" authentication from Java EE Security that I saw in BalusC's book The Definitive Guide To JSF in Java EE 8 . I created a simple application to test it and it's not working. The problem is that after a successful authentication, I'm not redirected to the welcome page, I keep in the login page. It's as if the application didn't recognize that I'm authenticated. These are the relevant

Run into error when deploy .ear file into JBoss EAP 7.2

余生长醉 提交于 2020-07-09 11:52:24
问题 Can anyone tell me what did it happen? I just cannot deploy my .ear file due to this error :(( Error log in JBoss console {"WFLYCTL0080: Failed services" => {"jboss.deployment.subunit.\"tpfx.ear\".\"tpfx.war\".undertow-deployment" => "java.lang.RuntimeException: java.lang.RuntimeException: com.tesla.cmb.tpfx.business.UnavailableException: com.tesla.cmb.tpfx.business.ServiceLocatorException: javax.naming.NamingException: WFLYNAM0062: Failed to lookup env/ejb/DataLocal [Root exception is java

Camunda deploy Delegate with global visibility

允我心安 提交于 2020-07-06 04:24:53
问题 I'm working on a Camunda BPM project and my goal is to create a java project (either a .jar or .war) that contains several Delegates to be called from the various processes. What I want ultimately is for the users to be able to create a process using the modeler call the delegates supplied by the uploaded project. In order to achieve this I think I might need to somehow wire the project to the camunda-engine, but I'm not sure how, I tried to upload the project in the modules folder and add a