Exploit database

GH-89786c7d19f1094f9762e90b692942e5

25wangj/ftcintothedeep16460

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 files9

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

TeamCode/src/main/java/org/firstinspires/ftc/teamcode/hardware/Robot.java

Java · 960 bytes
package org.firstinspires.ftc.teamcode.hardware;
import static org.firstinspires.ftc.teamcode.hardware.RobotStateMachine.RobotStates.*;
import static org.firstinspires.ftc.teamcode.hardware.ValueStorage.*;
import org.firstinspires.ftc.teamcode.command.CommandOpMode;
import org.firstinspires.ftc.teamcode.command.StateMachine;
public class Robot {
    public final MecanumDrive drive;
    public final Lift lift;
    public final Arm arm;
    public final Vision vision;
    public StateMachine<RobotStateMachine.RobotStates> stateMachine;
    public Robot(CommandOpMode opMode, boolean auto, Side side) {
        voltage = opMode.hardwareMap.voltageSensor.iterator().next().getVoltage();
        drive = new MecanumDrive(opMode, auto);
        lift = new Lift(this, opMode, auto);
        arm = new Arm(opMode, auto);
        vision = new Vision(this, opMode, side);
        stateMachine = RobotStateMachine.get(opMode, this, auto ? GRABBED : EXTEND);
    }
}