Skip to content

Commit 5b006fb

Browse files
authored
Update README.md
1 parent 46ffebb commit 5b006fb

File tree

1 file changed

+89
-4
lines changed

1 file changed

+89
-4
lines changed

README.md

Lines changed: 89 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,92 @@
1-
I've been playing with this, and making some big improvements to it. One of the bugs in the old version was that 50% of the time, it worked every time. Now it's working 100% of the time.
2-
3-
Also new features, to be documented soon.
4-
1+
I've been playing with this, and making some big improvements to it. One of the bugs in the old version was that 50% of the time, it worked every time. **Now it's working 100% of every time.**
2+
3+
The big new feature is a new mode for assigning MAC addresses to SSIDs. The old mode is "0" ("macMode = 0"), and it works as expected, and can be seen in this start-up message:
4+
```
5+
//// Atom Smasher's Beacon Spammer v1.0 ////
6+
7+
// MACs: SSIDs:
8+
be:5d:3b:00:53:01 The Password is...
9+
be:5d:3b:00:53:02 Untrusted Network
10+
be:5d:3b:00:53:03 404 Network Unavailable
11+
be:5d:3b:00:53:04 The Internet
12+
be:5d:3b:00:53:05 Click Here for Wifi
13+
be:5d:3b:00:53:06 No Internet Access
14+
be:5d:3b:00:53:07 FBI Channel 90210
15+
be:5d:3b:00:53:08 Click Here to Download
16+
be:5d:3b:00:53:09 The Promised LAN
17+
be:5d:3b:00:53:0a Free Public Wifi
18+
be:5d:3b:00:53:0b $1 per hour
19+
be:5d:3b:00:53:0c Russian Hackers
20+
be:5d:3b:00:53:0d The LAN of the Free
21+
be:5d:3b:00:53:0e No Connections Available
22+
be:5d:3b:00:53:0f No More Mister Wifi
23+
be:5d:3b:00:53:10 Router? I Hardly Knew Her
24+
be:5d:3b:00:53:11 Connected, Secured
25+
be:5d:3b:00:53:12 The LAN Before Time
26+
be:5d:3b:00:53:13 Get off my LAN
27+
be:5d:3b:00:53:14 Silence of the LAN
28+
29+
// randomMacSeed: SSIDs: Started in:
30+
0x1234abcd 20 615ms
31+
32+
Packets/s: 199.501
33+
Packets/s: 200.000
34+
Packets/s: 199.960
35+
Packets/s: 199.960
36+
Packets/s: 199.960
37+
[...]
38+
```
39+
40+
As expected, a random MAC is set, and (up to 255) SSIDs can sequentially increment the MAC address. The new mode "1" ("macMode = 1") sets the MAC addresses "randomly", as can be seen in this start-up message:
41+
```
42+
//// Atom Smasher's Beacon Spammer v1.0 ////
43+
44+
// MACs: SSIDs:
45+
be:5d:3b:00:53:9e The Password is...
46+
ea:ff:b2:e4:2d:4e Untrusted Network
47+
16:a1:29:c8:07:fe 404 Network Unavailable
48+
46:43:a0:ab:e2:ae The Internet
49+
72:e5:17:8f:bc:5e Click Here for Wifi
50+
9e:87:8e:72:97:0e No Internet Access
51+
ce:29:05:56:71:be FBI Channel 90210
52+
fa:cb:7c:39:4b:6e Click Here to Download
53+
26:6d:f3:1d:26:1e The Promised LAN
54+
56:0f:6a:01:00:ce Free Public Wifi
55+
82:b1:e1:e4:da:7e $1 per hour
56+
ae:53:57:c8:b5:2e Russian Hackers
57+
de:f5:ce:ab:8f:df The LAN of the Free
58+
0a:97:45:8f:69:8f No Connections Available
59+
36:39:bc:72:44:3f No More Mister Wifi
60+
66:db:33:56:1e:ef Router? I Hardly Knew Her
61+
92:7d:aa:3a:f8:9f Connected, Secured
62+
be:1f:21:1d:d3:4f The LAN Before Time
63+
ee:c1:98:01:ad:ff Get off my LAN
64+
1a:63:0f:e4:87:af Silence of the LAN
65+
66+
// randomMacSeed: SSIDs: Started in:
67+
0x1234abcd 20 615ms
68+
69+
Packets/s: 199.501
70+
Packets/s: 199.900
71+
Packets/s: 199.980
72+
Packets/s: 199.920
73+
Packets/s: 199.940
74+
[...]
75+
```
76+
77+
Note that the "randomMacSeed" is the same in both of those, and the first MAC address in the second start-up message resembles all of the MAC addresses in the first start-up message.
78+
79+
The "randomMacSeed" can be set randomly, giving different MAC addresses (per list of SSIDs names) every time it's re-started, or it can be set manually for consistency, or to "synchronise" two or more devices to have the same MAC addresses.
80+
81+
The code is also written to make it easy to manually set any parts of the MAC address, eg "set" the first three octets, or set the last four octets to "deadbeef", or whatever. The range of each octet's random assignment can also be set, and bitmasking can be used to exclude or set certain digits to certain values.
82+
83+
The start-up messages sent to the serial port seem useful, at least to me.
84+
85+
The biggest bug-fix was dealing with the "I/G bit"; now it works 100% of the time, every time.
86+
87+
The throttle function prevents it from sending more than 10 beacons per second, per SSID, per channel. As can be seen in the start-up messages, 20 SSIDs, on one channel, and it's being throttled to 200 packets/second. In my testing, it tops out at about 930 packets/second, so just by 100 SSDIS per channel, it will start to go slower than 10 beacons per second.
88+
89+
Some bug-fixes, some new features, some code clean-up. I'm keeping with the spirit of the original author, and not releasing any binaries. The project BEGS to be customised. Using the default SSID names is fine for testing, but lame for anything else. This was my first Arduino project and my first non-trivial programming in C, or whatever variant of C this is. Hopefully other will continue to build on it, and to learn from it.
590

691
By the pevious author:
792

0 commit comments

Comments
 (0)