| 1 | /******************************************************************************* | |
| 2 | * Copyhacked (H) 2012-2025. | |
| 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.model.injection.strategy.AbstractStrategy; | |
| 14 | import com.jsql.view.interaction.InteractionCommand; | |
| 15 | import com.jsql.view.swing.util.MediatorHelper; | |
| 16 | ||
| 17 | /** | |
| 18 | * Mark the injection as vulnerable to a time based injection. | |
| 19 | */ | |
| 20 | public class MarkTimeVulnerable implements InteractionCommand { | |
| 21 | | |
| 22 | public MarkTimeVulnerable(Object[] interactionParams) { | |
| 23 | // Do nothing | |
| 24 | } | |
| 25 | ||
| 26 | @Override | |
| 27 | public void execute() { | |
| 28 | AbstractStrategy strategy = MediatorHelper.model().getMediatorStrategy().getTime(); | |
| 29 |
1
1. execute : removed call to com/jsql/view/swing/panel/address/PanelTrailingAddress::markStrategyVulnerable → NO_COVERAGE |
MediatorHelper.panelAddressBar().getPanelTrailingAddress().markStrategyVulnerable(strategy); |
| 30 | } | |
| 31 | } | |
Mutations | ||
| 29 |
1.1 |