Exploit database

GH-543245c9a789cf0701d8058269007301

22817-knotbot/ftc-rc-2025

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 files8

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

TeamCode/src/main/java/org/firstinspires/ftc/teamcode/subsystems/Light.java

Java · 744 bytes
package org.firstinspires.ftc.teamcode.subsystems;

import com.acmerobotics.dashboard.config.Config;
import com.bylazar.configurables.annotations.Configurable;
import com.qualcomm.robotcore.hardware.HardwareMap;
import com.qualcomm.robotcore.hardware.Servo;

@Config
@Configurable
public class Light {
	public static double RED = 0.28;
	public static double GREEN = 0.5;
	public static double BLUE = 0.6;

	private Servo light;

	public Light(HardwareMap hardwareMap) {
		light = hardwareMap.get(Servo.class, "light");
	}

	public void setRed() {
		light.setPosition(RED);
	}

	public void setGreen() {
		light.setPosition(GREEN);
	}

	public void setBlue() {
		light.setPosition(BLUE);
	}

	public void setOff() {
		light.setPosition(0);
	}
}