{"id":20217680,"url":"https://github.com/pforret/remac","last_synced_at":"2025-04-10T15:44:02.604Z","repository":{"id":144772946,"uuid":"337019110","full_name":"pforret/remac","owner":"pforret","description":"Change your MAC address to limit your trackability","archived":false,"fork":false,"pushed_at":"2021-02-12T16:03:57.000Z","size":1200,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T13:36:09.606Z","etag":null,"topics":["bashew","ifconfig","ipconfig","mac","network","spoof"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pforret.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-08T09:14:50.000Z","updated_at":"2022-02-25T04:59:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"b8f89626-9cd5-4e7a-82f5-c666369db3e1","html_url":"https://github.com/pforret/remac","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":"pforret/bashew","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforret%2Fremac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforret%2Fremac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforret%2Fremac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforret%2Fremac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pforret","download_url":"https://codeload.github.com/pforret/remac/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248243500,"owners_count":21071054,"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":["bashew","ifconfig","ipconfig","mac","network","spoof"],"created_at":"2024-11-14T06:35:05.912Z","updated_at":"2025-04-10T15:44:02.596Z","avatar_url":"https://github.com/pforret.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"![bash_unit CI](https://github.com/pforret/remac/workflows/bash_unit%20CI/badge.svg)\n![Shellcheck CI](https://github.com/pforret/remac/workflows/Shellcheck%20CI/badge.svg)\n![GH Language](https://img.shields.io/github/languages/top/pforret/remac)\n![GH stars](https://img.shields.io/github/stars/pforret/remac)\n![GH tag](https://img.shields.io/github/v/tag/pforret/remac)\n![GH License](https://img.shields.io/github/license/pforret/remac)\n[![basher install](https://img.shields.io/badge/basher-install-white?logo=gnu-bash\u0026style=flat)](https://basher.gitparade.com/package/)\n\n![remac](assets/remac.jpg)\n\n# remac\n\nchange the MAC address of your computer to avoid traceability\n\n## Installation\n\nwith [basher](https://github.com/basherpm/basher)\n\n\t$ basher install pforret/remac\n\nor with `git`\n\n\t$ git clone https://github.com/pforret/remac.git\n\t$ cd remac\n\n## Usage\n\n```bash\nProgram: remac 1.0.0 by peter@forret.com\nUpdated: Feb 10 12:55:04 2021\nDescription: change the MAC address of your computer to avoid trackability\nUsage: remac [-h] [-q] [-v] [-f] [-l \u003clog_dir\u003e] [-t \u003ctmp_dir\u003e] [-p \u003cprefix\u003e] [-i \u003cinterface\u003e] \u003caction\u003e \u003cinput?\u003e\nFlags, options and parameters:\n-h|--help        : [flag] show usage [default: off]\n-q|--quiet       : [flag] no output [default: off]\n-v|--verbose     : [flag] output more [default: off]\n-f|--force       : [flag] do not ask for confirmation (always yes) [default: off]\n-l|--log_dir \u003c?\u003e : [option] folder for log files   [default: /Users/pforret/log/remac]\n-t|--tmp_dir \u003c?\u003e : [option] folder for temp files  [default: .tmp]\n-p|--prefix \u003c?\u003e  : [option] MAC company prefix: \u003ccompany\u003e/\u003cXX:XX:XX\u003e/copy  [default: copy]\n-i|--interface \u003c?\u003e: [option] name of interface: \u003ceth0\u003e  [default: first]\n\u003caction\u003e         : [parameter] action to perform: get/set/prefix\n\u003cinput\u003e          : [parameter] search text for prefix (optional)\n\n```\n### remac get\n\nget MAC addresses for all active interfaces\n```bash\n\u003e ./remac get\nInterface: en0 | IP address: 192.168.1.47 | MAC: 3c:15:c2:d8:xx:xx (Apple, Inc.)\n```\n\n### remac prefix {search term}\n\nget existing MAC prefixes for different vendors\n\n```bash\n\u003e ./remac prefix cray\n00:00:6D        CrayComm        Cray Communications, Ltd.\n00:00:80        CrayComm        Cray Communications (formerly Dowty Network Services)   # [Also shows as \"Harris (3M) (new)\" and/or \"Imagen(?)\" elsewhere]\n00:0E:AB        Cray    Cray Inc\n00:40:A6        CrayRese        Cray Research Inc. \n```\n\n### remac set\n\nset new MAC address (will require sudo password)\n\n```bash\n\u003e ./remac set \n…  Interface to set: en0\n…  Old MAC address : 3c:15:c2:d8:xx:xx\n…  Using company ID: 3c:15:c2 (Apple, Inc.)\n…  New MAC address : 3c:15:c2:ea:76:34\n…  Changing the network address requires the root password\nPassword:\n\n# explicitly specify manufacturer prefix to use\n\u003e ./remac -p \"cray\" set\n…  Interface to set: en0\n…  Old MAC address : 3c:15:c2:d8:19:ce\n…  Using company ID: 00:00:6D (Cray Communications, Ltd.)\n…  New MAC address : 00:00:6D:1a:49:17\n…  Changing the network address requires the root password\nPassword:\n\n\u003e ./remac -p \"00:00:6B\" set\n…  Interface to set: en0\n…  Old MAC address : 3c:15:c2:d8:xx:xx\n…  Using company ID: 00:00:6B (Silicon Graphics)\n…  New MAC address : 00:00:6B:13:30:f8\n…  Changing the network address requires the root password\nPassword:\n\n# explicitly specify interface to set\n\u003e ./remac -i \"eth1\" set\n…  Interface to set: eth1\n…  Old MAC address : 00:03:FF:00:19:ce\n…  Using company ID: 00:03:FF (Microsoft Corporation)\n…  New MAC address : 00:03:FF:ea:76:34\n…  Changing the network address requires the root password\nPassword:\n\n\n```\n\n## Acknowledgements\n\n* idea by [josh.works](https://josh.works/shell-script-basics-change-mac-address#figure-out-which-adapter-your-machine-is-using-to-connect-to-the-wifi) via [HN](https://news.ycombinator.com/item?id=26060152)\n* script created with [bashew](https://github.com/pforret/bashew)\n\n\u0026copy; 2021 Peter Forret\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpforret%2Fremac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpforret%2Fremac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpforret%2Fremac/lists"}