Exploit database

GH-5fbbd02ef8781becfaa9bbb24c21a7fd

25wangj/ftccenterstage16460

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2019-11358

1,181 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files19

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

TeamCode/src/main/java/org/firstinspires/ftc/teamcode/command/RepeatCommand.java

Java · 735 bytes
package org.firstinspires.ftc.teamcode.command;
public class RepeatCommand extends Command {
    private Command repeat;
    public RepeatCommand(Command repeat) {
        this.repeat = repeat;
        subsystems.addAll(repeat.getSubsystems());
    }
    @Override
    public void init(double time) {
        repeat.init(time);
    }
    @Override
    public void run(double time) {
        if (repeat.done(time)) {
            repeat.end(time, false);
            repeat.init(time);
        } else {
            repeat.run(time);
        }
    }
    @Override
    public void end(double time, boolean canceled) {
        repeat.end(time, true);
    }
    @Override
    public boolean done(double time) {
        return false;
    }
}