Exploit databaseDownload repository ZIP
GH-e3790e1ac5bbbb729d1d46403a100643
6-bennyli-9/fzxlftc2024-2025
Sources for CVE-2019-11358
1,181 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files9
6-bennyli-9/fzxlftc2024-2025Revision 1ee3fd3b88fc
- ↑..Parent directory
- builder/
- render/
- utils/
- AbstractActionImplement.java
- Action.java
- ActionPolicies.java
- ActionRunnerMeta.java
- Actions.java
- PriorityAction.java
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
TeamCode/src/main/java/org/betastudio/ftc/action/ActionRunnerMeta.java
Java · 1,793 bytespackage org.betastudio.ftc.action;
import static org.betastudio.ftc.Interfaces.Nameable;
import static org.betastudio.ftc.Interfaces.ProgressMarker;
import static org.betastudio.ftc.Interfaces.ProgressRender;
import static org.betastudio.ftc.Interfaces.ProgressedTask;
import static org.betastudio.ftc.util.ExceptionsUtil.getOriginException;
import androidx.annotation.NonNull;
import org.betastudio.ftc.util.Labeler;
import org.betastudio.ftc.util.ProgressMarkerImplement;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicReference;
public final class ActionRunnerMeta implements Action {
private final Action metaRunner;
public ActionRunnerMeta(@NonNull final Action action, final ProgressRender render) {
final AtomicReference <ProgressMarker> marker = new AtomicReference <>(new ProgressMarkerImplement(action.getCount()));
final AtomicReference <String> name = new AtomicReference <>(Labeler.summon(action));
if (action instanceof Nameable) {
name.set(((Nameable) action).getName());
}
final AtomicBoolean res = new AtomicBoolean(false);
final Runnable workerProgressOverride = action instanceof ProgressedTask ? (() -> marker.set(((ProgressedTask) action).getWorkerProgress())) : (() -> marker.get().tick());
metaRunner = () -> {
try {
workerProgressOverride.run();
render.render(name.get(), marker.get());
res.set(action.activate());
if (! res.get()) {
workerProgressOverride.run();
render.render(name.get(), marker.get());
}
return res.get();
} catch (Exception e) {
Throwable cause = getOriginException(e);
throw new RuntimeException(cause);
}
};
}
@Override
public boolean activate() {
return metaRunner.activate();
}
}