{"id":13826954,"url":"https://github.com/zxsecurity/nmeadesync","last_synced_at":"2026-01-17T18:02:33.323Z","repository":{"id":216003512,"uuid":"84149379","full_name":"zxsecurity/NMEAdesync","owner":"zxsecurity","description":"A tool which allows an attacker to change the time on a GPS-enabled NTP server by using spoofed NEMA sentences","archived":false,"fork":false,"pushed_at":"2017-06-24T03:17:50.000Z","size":5,"stargazers_count":24,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-08-04T09:06:03.242Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zxsecurity.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-03-07T03:19:09.000Z","updated_at":"2023-02-21T11:21:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"419c9d9b-f9ee-4ac2-91e3-6e3a366c5d46","html_url":"https://github.com/zxsecurity/NMEAdesync","commit_stats":null,"previous_names":["zxsecurity/nmeadesync"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxsecurity%2FNMEAdesync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxsecurity%2FNMEAdesync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxsecurity%2FNMEAdesync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxsecurity%2FNMEAdesync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zxsecurity","download_url":"https://codeload.github.com/zxsecurity/NMEAdesync/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225481098,"owners_count":17481151,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T09:01:47.369Z","updated_at":"2026-01-17T18:02:33.299Z","avatar_url":"https://github.com/zxsecurity.png","language":"Python","funding_links":[],"categories":["\u003ca id=\"295e14c39bf33cd5136be8ced9383746\"\u003e\u003c/a\u003e工具"],"sub_categories":["\u003ca id=\"f855508acfc870b1f0d90ff316f1dd75\"\u003e\u003c/a\u003e伪造\u0026\u0026Spoof"],"readme":"# NMEAdesync\nNMEAdesync is a tool which will output NMEA sentences to stdout. Using [socat](http://www.dest-unreach.org/socat/) you can redirect this output to NTPd and move time. NMEAdesync will be first prensented during a conference talk at [BSidesCBR 2017](http://www.bsidesau.com.au/speakers.html#david).\n\nNMEAdesync will send NMEA senetences with a spoof time to NTPd and also a spoofed PPS \n\n## Requirements\nNTPd using NMEA data over serial as the time, with PPS for accuarete timing. I set up a Pi using this [guide](https://frillip.com/raspberry-pi-stratum-1-ntp-server/).\n\n## Running\n1. Configure the options in NMEAdesync.cfg\n1. Connect to the PPS wire to GPIO pint 25\n1. sudo rm /dev/gps0 \n1. socat -d -d pty,raw,echo=0 \"exec:/home/pi/NMEAdesync.py,pty,raw,echo=0\"\n1. Note the pts number as will need to use it in the next step\n1. sudo ln -s /dev/pts/1 /dev/gps0\n1. Notice the time has changed\n1. Check pps sudo ppstest /dev/pps0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzxsecurity%2Fnmeadesync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzxsecurity%2Fnmeadesync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzxsecurity%2Fnmeadesync/lists"}