Exploit database

GH-0d7fb6ed0f7693c7623b7aaf7d464bd5

13019platinumpanthers/centerstage

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 files4

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

TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Sensors/Limit_Switch.java

Java · 759 bytes
package org.firstinspires.ftc.teamcode.Sensors;

import com.qualcomm.robotcore.hardware.DistanceSensor;
import com.qualcomm.robotcore.hardware.HardwareMap;
import com.qualcomm.robotcore.hardware.TouchSensor;

import org.firstinspires.ftc.robotcore.external.Telemetry;

public class Limit_Switch {
    Telemetry telemetry;
    TouchSensor limit1;

    public Limit_Switch(HardwareMap hardwareMap, String limitSwitchName, Telemetry telemetry ) {
        this.telemetry = telemetry;
        setup( hardwareMap, limitSwitchName);
    }

    public void setup( HardwareMap hardwareMap, String limitSwitchName ) {
        limit1 = hardwareMap.get(TouchSensor.class, limitSwitchName );
    }

   public boolean isPressed(){
        return limit1.isPressed();
   }
}