File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,23 +29,27 @@ g = generate_mac.generate_mac
2929
3030Procedurely generated Vendor and Host bytes. Checks for broadcast bit
3131
32+ ```
3233`g.total_random()`
3334
3435'12:7E:C4:B5:F1:8E'
36+ ```
3537
3638Read Vendor bytes from random line in a file. This has to be formated the same
3739as wireshark's manuf file.
38- ` g.vid_file_random('/usr/share/wireshark/manuf' `
39-
40+ `` `
41+ g.vid_file_random('/usr/share/wireshark/manuf')
4042'00:55:DA:10:FB:D8'
43+ ```
4144
4245Read from a manuf file like above, but find Vendor bytes belonging to a specific
4346vendor, by name.
44- ` g.vid_file_vendor('/usr/share/wireshark/manuf', 'Apple') `
45-
47+ `` `
48+ g.vid_file_vendor('/usr/share/wireshark/manuf', 'Apple')
4649'94:0C:98:BC:74:1C'
50+ ```
4751
4852Provide the vendor bytes in a string. Generate Host bytes only
49- ` g.vid_provided('AA:BB:CC') `
50-
53+ ``` g.vid_provided('AA:BB:CC')
5154'AA:BB:CC:B8:B3:01'
55+ ```
You can’t perform that action at this time.
0 commit comments