ManagerWebShell.java

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 about 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.manager;
12
13
import com.jsql.model.exception.JSqlException;
14
import com.jsql.view.swing.util.MediatorHelper;
15
16
/**
17
 * Manager for uploading PHP webshell to the host and send system commands.
18
 */
19
public class ManagerWebShell extends AbstractManagerShell {
20
    
21
    public ManagerWebShell() {
22 1 1. <init> : removed call to com/jsql/view/swing/manager/util/JButtonStateful::setText → NO_COVERAGE
        this.run.setText("Create Web shell(s)");
23
    }
24
    
25
    @Override
26
    protected void createPayload(String pathShell, String urlShell) throws JSqlException {
27 1 1. createPayload : removed call to com/jsql/model/accessible/ResourceAccess::createWebShell → NO_COVERAGE
        MediatorHelper.model().getResourceAccess().createWebShell(pathShell, urlShell);
28
    }
29
}

Mutations

22

1.1
Location : <init>
Killed by : none
removed call to com/jsql/view/swing/manager/util/JButtonStateful::setText → NO_COVERAGE

27

1.1
Location : createPayload
Killed by : none
removed call to com/jsql/model/accessible/ResourceAccess::createWebShell → NO_COVERAGE

Active mutators

Tests examined


Report generated by PIT 1.16.1