1
2
3
4
5
6
7
8
9
10
11 package com.jsql.view.swing.interaction;
12
13 import com.jsql.view.interaction.InteractionCommand;
14 import com.jsql.view.swing.util.MediatorHelper;
15
16 import javax.swing.*;
17 import java.util.UUID;
18
19
20
21
22 public class AddTabExploitRceWalPostgres extends CreateTabHelper implements InteractionCommand {
23
24
25
26
27 public AddTabExploitRceWalPostgres(Object[] interactionParams) {
28
29 }
30
31 @Override
32 public void execute() {
33 SwingUtilities.invokeLater(() -> MediatorHelper.tabResults().addTabExploitRce(
34 (String command, UUID terminalID) -> MediatorHelper.model().getResourceAccess().getExploitPostgres().runRceArchiveCmd(command, terminalID)
35 ));
36 }
37 }