Exploit database

GH-f5641ca1b42dedcebd3f800e71cd6f7c

09ria09/ftc-2020-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/Global.java

Suggested starting fileJava · 624 bytes
package org.firstinspires.ftc.teamcode;

public class Global
{

    public static void setTimeout(Runnable runnable, int delay)
    {
        new Thread(() ->
        {
            try
            {
                Thread.sleep(delay);
                runnable.run();
            } catch (InterruptedException e)
            {
                e.printStackTrace();
            }
        }).start();
    }

    public static double GetAngleOfLineBetweenTwoPoints(double x1, double y1, double x2, double y2)
    {
        double xDiff = x2 - x1;
        double yDiff = y2 - y1;
        return Math.atan2(yDiff, xDiff);
    }
}