Exploit database

GH-a7d91f4e65016b0de1de914212012759

24carterj/smhrobotics23_24

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 files25

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

TeamCode/src/main/java/org/firstinspires/ftc/teamcode/commands/DropPixel.java

Java · 745 bytes
package org.firstinspires.ftc.teamcode.commands;

import com.arcrobotics.ftclib.command.CommandBase;

import org.firstinspires.ftc.teamcode.subsystems.ClawSubsystem;
import org.firstinspires.ftc.teamcode.subsystems.RotatorSubsystem;

public class DropPixel extends CommandBase {
    private final RotatorSubsystem rotate;
    private final ClawSubsystem claw;

    public DropPixel(RotatorSubsystem r, ClawSubsystem c) {
        rotate = r;
        claw = c;
        addRequirements(rotate);
        addRequirements(claw);
    }

    @Override
    public void initialize() {
        claw.release();
        rotate.drop();
    }

    @Override
    public boolean isFinished() {
        // need a way to time movement
        return true;
    }
}