https://github.com/forestryks/apple-roulette
Count apples in local network with ARP
https://github.com/forestryks/apple-roulette
apple arp arp-scanner
Last synced: 3 months ago
JSON representation
Count apples in local network with ARP
- Host: GitHub
- URL: https://github.com/forestryks/apple-roulette
- Owner: Forestryks
- Created: 2022-12-28T17:56:50.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-01-01T19:23:40.000Z (almost 3 years ago)
- Last Synced: 2025-06-07T09:35:26.359Z (4 months ago)
- Topics: apple, arp, arp-scanner
- Language: Rust
- Homepage:
- Size: 16.6 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🍏 Apple Roulette [](https://crates.io/crates/apple-roulette)
Штрудель?
## Installation
### Mac M1
```
curl -L -o apple-roulette https://github.com/Forestryks/apple-roulette/releases/download/v0.1.0/apple-roulette-aarch64-apple-darwin
chmod +x apple-roulette
sudo mv apple-roulette /usr/local/bin
```
### Linux x86_64
```
curl -L -o apple-roulette https://github.com/Forestryks/apple-roulette/releases/download/v0.1.0/apple-roulette-x86_64-unknown-linux-gnu
chmod +x apple-roulette
sudo mv apple-roulette /usr/local/bin
```## Usage
Just run `sudo apple-roulette` and hope not to be strudelled.
## A bit of explanation
- Discovers MAC addresses of every host in local network by sending ARP packages to every IP address in subnet
- Searches OUI database for Apple owned prefixes and matches found MACs with them
- If MAC address is not Apple's then it can still be IPhone (IPhone uses random MAC every time it connects to network), so checks 62078 port, it is usually open on IPhone
- If there are more than 20 (`apple-roulette -h` to change) apples in your network, then you are strudelled and your laptop halts## Caveats
No, double apple doesn't count even as one apple.