1 | /******************************************************************************* | |
2 | * Copyhacked (H) 2012-2020. | |
3 | * This program and the accompanying materials | |
4 | * are made available under no term at all, use it like | |
5 | * you want, but share and discuss it | |
6 | * every time possible with every body. | |
7 | * | |
8 | * Contributors: | |
9 | * ron190 at ymail dot com - initial implementation | |
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 | /** | |
17 | * Mark the injection as vulnerable to a blind injection. | |
18 | */ | |
19 | public class CreateAnalysisReport extends CreateTabHelper implements InteractionCommand { | |
20 | ||
21 | private final String content; | |
22 | ||
23 | public CreateAnalysisReport(Object[] interactionParams) { | |
24 | this.content = (String) interactionParams[0]; | |
25 | } | |
26 | ||
27 | @Override | |
28 | public void execute() { | |
29 |
1
1. execute : removed call to com/jsql/view/swing/tab/TabResults::createReportTab → NO_COVERAGE |
MediatorHelper.tabResults().createReportTab( |
30 | "Vulnerability report", | |
31 | this.content.trim(), | |
32 | "Analysis report with all payloads detected" | |
33 | ); | |
34 | } | |
35 | } | |
Mutations | ||
29 |
1.1 |