Exploit database

GH-2adfaeecad917f650fe46a6c164ff0a6

24pparikh/techintel2020-2021

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 files11

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

TeamCode/src/main/java/org/firstinspires/ftc/teamcode/teamcode/mainops/MainTeleOp.java

Java · 1,827 bytes
package org.firstinspires.ftc.teamcode.teamcode.mainops;

import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import com.qualcomm.robotcore.eventloop.opmode.TeleOp;

import org.firstinspires.ftc.teamcode.teamcode.libraries.TeleLib;


/*
 * Title: MainTeleOp
 * Date Created: 10/14/2018
 * Date Modified: 2/27/2019
 * Author: Poorvi, Sachin
 * Type: Main
 * Description: This is the main teleop program we will use
 */

@TeleOp(group = "Main")
public class MainTeleOp extends LinearOpMode {
    private TeleLib teleLib;

    @SuppressWarnings("RedundantThrows")
    @Override
    public void runOpMode() throws InterruptedException {


        initialize();

        while (opModeIsActive()) {
            // Gamepad 1
            teleLib.processDrive();
//            teleLib.processIntakeStone();
//            teleLib.processStopIntake();
//            teleLib.processOutakeStone();
//            teleLib.processFoundation();
//            teleLib.processTapeMeasure();
//            teleLib.processAutonomousArm();


            // Gamepad 2
//            teleLib.processMoveArm();
//            teleLib.processGrabStone();
//            teleLib.processScoreStone();
//            teleLib.processExtendArm();
//            teleLib.processRetractArm();
//            teleLib.processDropCapstone();
            idle();
        }
    }

    private void initialize() {
        telemetry.addData("Status", "Initializing...");
        telemetry.update();

        teleLib = new TeleLib(this);

//        teleLib.autonomousArmUp();
//        teleLib.autonomousArmGrab();
//        sleep(2000);
//        teleLib.restServoStopper();
//        teleLib.holdCapstone();

        telemetry.addData("Status", "Ready");
        telemetry.update();
        waitForStart();

        telemetry.addData("Status", "Running");
    }
}