Research Article

Automatic Reverse Engineering of Private Flight Control Protocols of UAVs

Algorithm 1

The meaning of commands reverse analysis algorithm.
Input: Action Γ beginnning time ()
Timestamp of command
Output: Commands in which the cluster control target UAV to do action Γ,
Initiation: , all ,  
(1) for  all    except    do
(2) =
(3) end for
(4) for  all    do
(5) for  all    except    do
(6)
(7) end for
(8) end for
(9) for  all    do
(10)for    to    do
(11)temp = 0
(12)for    to    do
(13)add    to  temp
(14)end for
(15)add  temp  to  
(16)end for
(17) end for
(18) print  Commands in cluster min control the target UAV to do action Γ