Skip to content

Commit

Permalink
Added support for Mavic Pro RC on latest firmware.
Browse files Browse the repository at this point in the history
Updated libraries.
  • Loading branch information
validev committed Apr 15, 2021
1 parent b21a414 commit c108e0e
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 0 deletions.
14 changes: 14 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/sh
JAVAC=`which javac`
if [ $JAVAC ]; then
echo Building classes ...
$JAVAC -cp libs/commons-net-3.8.0.jar:libs/jSerialComm-2.7.0.jar:src src/com/cunninglogic/ubersploits/CRC.java
RESULT1=$?
$JAVAC -cp libs/commons-net-3.8.0.jar:libs/jSerialComm-2.7.0.jar:src src/com/cunninglogic/ubersploits/Main.java
RESULT2=$?
if [ $RESULT1 = 0 ] && [ $RESULT2 = 0 ]; then
echo OK
fi
else
echo Error: No javac. Please install javac/jdk.
fi
Binary file removed libs/commons-net-3.6.jar
Binary file not shown.
Binary file added libs/commons-net-3.8.0.jar
Binary file not shown.
Binary file removed libs/jSerialComm-1.3.11.jar
Binary file not shown.
Binary file added libs/jSerialComm-2.7.0.jar
Binary file not shown.
7 changes: 7 additions & 0 deletions run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh
JAVA=`which java`
if [ $JAVA ]; then
$JAVA -cp libs/commons-net-3.8.0.jar:libs/jSerialComm-2.7.0.jar:src com/cunninglogic/ubersploits/Main
else
echo Error: No java. Please install java/jdk.
fi
Binary file added src/com/cunninglogic/ubersploits/CRC.class
Binary file not shown.
Binary file added src/com/cunninglogic/ubersploits/Main.class
Binary file not shown.
Binary file added src/resources/payloadRC.bin
Binary file not shown.

0 comments on commit c108e0e

Please sign in to comment.