× Phone loading: 2FA IS ENABLED ON THE HACKED PHONE, BYPASS WITH ALIEN SOFTWARE TO VIEW ALL FILES.............
#!/usr/bin/python..2fa must be disabled on the hacked phone to view all hacked files.. Alien software needed to fix error code... from __future__ import print_function import pymavlink.mavutil as mavutil import sys import time mav = mavutil.mavlink_connection('tcp:127.0.0.1:5760') mav.wait_heartbeat() mav.mav.command_long_send(mav.target_system, mav.target_component, mavutil.mavlink.MAV_CMD_COMPONENT_ARM_DISARM, 0, 1, 0, 0, 0, 0, 0, 0) time.sleep(3) mav.mav.command_long_send(mav.target_system, mav.target_component, mavutil.mavlink.MAV_CMD_COMPONENT_ARM_DISARM, 0, 0, 0, 0, 0, 0, 0, 0) from dronekit import connect, VehicleMode, LocationGlobalRelative import time vehicle = connect('tcp:127.0.0.1:5760', wait_ready=False) print "Arming motors:" vehicle.mode = VehicleMode("GUIDED") vehicle.armed = True while not vehicle.armed: print " Waiting for arming to be finished" time.sleep(1) print "Keeping motors armed for 5s" time.sleep(5) print "Disarming" vehicle.armed = False mport logging logging.basicConfig(level = logging.INFO) ## import the package import pyrealsense as pyrs ## start the service - also available as context manager serv = pyrs.Service() ## create a device from device id and streams of interest cam = serv.Device(device_id = 0, streams = [pyrs.stream.ColorStream(fps = 60)]) ## retrieve 60 frames of data for _ in range(60): cam.wait_for_frames() print(cam.color) ## stop camera and service cam.stop() serv.stop() rom sys import argv import zbar proc = zbar.Processor() proc.parse_config('enable') # set the correct device number for your system device = '/dev/video13' if len(argv) > 1: device = argv[1] proc.init(device) proc.process_one() for symbol in proc.results: print 'barcode type=', symbol.type, ' data=', '"%s"' % symbol.data from websocket_server import WebsocketServer import re from dronekit import connect, VehicleMode, LocationGlobalRelative import time vehicle = connect('tcp:127.0.0.1:5760', wait_ready=False) vehicle.mode = VehicleMode("GUIDED") print("Flight Controller Connected") def new_client(client, server): print("Client connected") server.send_message_to_all("Client connected") def message_received(client, server, message): if len(message) > 200: message = message[:200]+'..' print("Arming motors") vehicle.armed = True while not vehicle.armed: time.sleep(1) time.sleep(5) print("Disarming") vehicle.armed = False server = WebsocketServer(8080, '0.0.0.0') server.set_fn_new_client(new_client) server.set_fn_message_received(message_received) server.run_forever() from websocket import create_connection ws = create_connection("ws://192.168.0.100:8080") ws.send("Alert, send drone") result = ws.recv() print("Received '%s'" % result) ws.close() import paho.mqtt.client as mqtt from dronekit import connect, VehicleMode, LocationGlobalRelative import time vehicle = connect('tcp:127.0.0.1:5760', wait_ready=False) vehicle.mode = VehicleMode("GUIDED") print("Flight Controller Connected") def on_connect(client, userdata, rc): print("Client connected ") client.subscribe("aero-paul") def on_message(client, userdata, msg): print("Arming motors ("+msg.topic+"/"+str(msg.payload)+")") vehicle.armed = True while not vehicle.armed: time.sleep(1) time.sleep(5) print("Disarming") vehicle.armed = False client = mqtt.Client() client.on_connect = on_connect client.on_message = on_message client.connect("test.mosquitto.org", 1883, 60) client.loop_forever() from periphery import GPIO print "Top LED Blue" gpio = GPIO(403, "out") gpio.write(bool(1)) time.sleep(1) gpio.write(bool(0)) gpio.close() print "Top LED Green" gpio = GPIO(397, "out") gpio.write(bool(1)) time.sleep(1) gpio.write(bool(0)) gpio.close() print "Top LED Red" gpio = GPIO(437, "out") gpio.write(bool(1)) time.sleep(1) gpio.write(bool(0)) gpio.close() print "Bottom LED Orange" gpio = GPIO(507, "out") gpio.write(bool(1)) time.sleep(1) gpio.write(bool(0)) gpio.close() AC_PREREQ(2.64) AC_INIT([dronecode-camera-manager], [1], [], [dronecode-camera-manager], []) PKG_CHECK_MODULES(GLIB, [glib-2.0]) PKG_CHECK_MODULES(GST, [gstreamer-rtsp-1.0, gstreamer-1.0, gstreamer-rtsp-server-1.0 gstreamer-app-1.0]) AC_CONFIG_SRCDIR([src/main.cpp]) AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_HEADERS(config.h) AC_CONFIG_AUX_DIR([build-aux]) AC_ARG_ENABLE([realsense], AS_HELP_STRING([--enable-realsense], [Enable Realsense Support]), [ AC_SEARCH_LIBS([rs_create_context], [realsense], [ enable_realsense=yes AM_CONDITIONAL([ENABLE_REALSENSE], true) ], [ AC_MSG_ERROR([librealsense not installed, cannot enable realsense support]) enable_realsense=no AM_CONDITIONAL([ENABLE_REALSENSE], false) ]) ], [ enable_realsense=no AM_CONDITIONAL([ENABLE_REALSENSE], false) ]) AC_ARG_ENABLE([aero], AS_HELP_STRING([--enable-aero], [Include streams specific for Intel Aero drone]), [ enable_aero=yes AM_CONDITIONAL([ENABLE_AERO], true) ], [ enable_aero=no AM_CONDITIONAL([ENABLE_AERO], false) ]) AC_ARG_ENABLE([custom], AS_HELP_STRING([--enable-custom], [Include custom camera device]), [ enable_custom=yes AM_CONDITIONAL([ENABLE_CUSTOM], true) ], [ enable_custom=no AM_CONDITIONAL([ENABLE_CUSTOM], false) ]) AC_ARG_ENABLE([mavlink], AS_HELP_STRING([--enable-mavlink], [Enable MAVLink advertisement]), [ enable_mavlink=yes AM_CONDITIONAL([ENABLE_MAVLINK], true) AC_DEFINE(ENABLE_MAVLINK, 1, [Enable MAVLink advertisement]) ], [ enable_mavlink=no AM_CONDITIONAL([ENABLE_MAVLINK], false) ]) AC_ARG_ENABLE([avahi], AS_HELP_STRING([--enable-avahi], [Enable avahi advertisement]), [ PKG_CHECK_MODULES(AVAHI, [avahi-client, avahi-core, avahi-glib]) enable_avahi=yes AM_CONDITIONAL([ENABLE_AVAHI], true) AC_DEFINE(ENABLE_AVAHI, 1, [Enable avahi advertisement]) ], [ enable_avahi=no AM_CONDITIONAL([ENABLE_AVAHI], false) ]) AC_ARG_ENABLE([gazebo], AS_HELP_STRING([--enable-gazebo], [Enable Gazebo Simulator Mode]), [ PKG_CHECK_MODULES(GZB, [gazebo]) enable_gazebo=yes AM_CONDITIONAL([ENABLE_GAZEBO], true) AC_DEFINE(ENABLE_GAZEBO, 1, [Enable Gazebo Simulator Mode]) ], [ enable_gazebo=no AM_CONDITIONAL([ENABLE_GAZEBO], false) ]) AC_USE_SYSTEM_EXTENSIONS AC_SYS_LARGEFILE AC_PREFIX_DEFAULT([/usr]) PKG_PROG_PKG_CONFIG AM_MAINTAINER_MODE([enable]) AM_INIT_AUTOMAKE([check-news foreign 1.11 silent-rules tar-pax no-dist-gzip dist-xz subdir-objects color-tests parallel-tests]) AM_SILENT_RULES([yes]) ##################################################################### # Program checks and configurations ##################################################################### AC_PROG_CC_C99 AX_CXX_COMPILE_STDCXX([11], [ext], [mandatory]) AM_PATH_PYTHON([2.7]) ##################################################################### LT_INIT([disable-static pic-only]) ##################################################################### # Function and structure checks ##################################################################### AC_MSG_CHECKING([whether _Static_assert() is supported]) AC_COMPILE_IFELSE( [AC_LANG_SOURCE([[_Static_assert(1, "Test");]])], [AC_DEFINE([HAVE_STATIC_ASSERT], [1], [Define if _Static_assert() is available]) AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no])]) AC_MSG_CHECKING([whether _Noreturn is supported]) AC_COMPILE_IFELSE( [AC_LANG_SOURCE([[_Noreturn int foo(void) { exit(0); }]])], [AC_DEFINE([HAVE_NORETURN], [1], [Define if _Noreturn is available]) AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no])]) ##################################################################### # --with- ##################################################################### AC_ARG_WITH([rootlibdir], AS_HELP_STRING([--with-rootlibdir=DIR], [rootfs directory to install shared libraries]), [], [with_rootlibdir=$libdir]) AC_ARG_WITH([systemdsystemunitdir], AC_HELP_STRING([--with-systemdsystemunitdir=DIR], [path to systemd system unit directory]), [path_systemunitdir=${withval}]) if (test "${enable_systemd}" != "no" && test -z "${path_systemunitdir}"); then AC_MSG_CHECKING([systemd system unit dir]) path_systemunitdir="`$PKG_CONFIG --variable=systemdsystemunitdir systemd`" if (test -z "${path_systemunitdir}"); then AC_MSG_ERROR([systemd system unit directory is required]) fi AC_MSG_RESULT([${path_systemunitdir}]) fi AC_SUBST([rootlibdir], [$with_rootlibdir]) ##################################################################### # --enable- ##################################################################### AC_ARG_ENABLE(systemd, AC_HELP_STRING([--disable-systemd], [disable systemd integration]), [enable_systemd=${enableval}]) AM_CONDITIONAL(SYSTEMD, test "${enable_systemd}" != "no") ##################################################################### # Default CFLAGS and LDFLAGS ##################################################################### DEFAULT_FLAGS=" -fstack-protector-all -fPIE -fPIC -O2 -D_FORTIFY_SOURCE=2 -pthread -Wformat -Wformat-security" CFLAGS+=$DEFAULT_FLAGS CXXFLAGS+=$DEFAULT_FLAGS LDFLAGS+=" -z noexecstack -z relro -z now" ##################################################################### # Generate files from *.in ##################################################################### AC_CONFIG_FILES([ Makefile ]) ##################################################################### AC_SUBST(SYSTEMD_SYSTEMUNITDIR, [${path_systemunitdir}]) AC_OUTPUT AC_MSG_RESULT([ $PACKAGE $VERSION ========================== prefix: ${prefix} sysconfdir: ${sysconfdir} libdir: ${libdir} rootlibdir: ${rootlibdir} includedir: ${includedir} bindir: ${bindir} C compiler: ${CC} C++ compiler: ${CXX} CFLAGS: ${CFLAGS} CXXFLAGS: ${CXXFLAGS} LDFLAGS: ${LDFLAGS} RealSense support: $enable_realsense MAVLink support: $enable_mavlink AVAHI support: $enable_avahi Intel Aero support: $enable_aero Gazebo support: $enable_gazebo Custom support: $enable_custom ])