-
-
Save jonathanagustin/7445fc89593683fae8f0b35397a79112 to your computer and use it in GitHub Desktop.
Attempting to feed ATAK a Cursor on Target message
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const dgram = require('dgram'); | |
const socket = dgram.createSocket('udp4'); | |
//var port = 4242 | |
//var port = 8087 | |
var port = 18999 | |
var address = "192.168.14.151" | |
var msg = '<?xml version="1.0" standalone="yes"?><event version="2.0" uid="J-01334" type="a-h-A-M-F-U-M" time="2005-04-05T11:43:38.07Z" start="2005-04-05T11:43:38.07Z" stale="2005-04-05T11:45:38.07Z"><detail></detail><point lat="30.0090027" lon="-85.9578735" ce="45.3" hae="-42.6" le="99.5"/></event>' | |
socket.send(msg, 0, msg.length, port, address, function cb(err) { | |
console.log(err); | |
}); | |
console.log("Done."); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment