mirror of
https://github.com/bettercap/bettercap
synced 2025-07-15 09:33:40 -07:00
Revert "Make the OUI script use python3"
This commit is contained in:
parent
e753245221
commit
22b0573894
2 changed files with 22884 additions and 22884 deletions
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python3
|
#!/usr/bin/python
|
||||||
import os
|
import os
|
||||||
|
|
||||||
base = os.path.dirname(os.path.realpath(__file__))
|
base = os.path.dirname(os.path.realpath(__file__))
|
||||||
|
@ -25,7 +25,7 @@ for line in lines:
|
||||||
|
|
||||||
code = "map[string]string {\n"
|
code = "map[string]string {\n"
|
||||||
|
|
||||||
for prefix, vendor in m.items():
|
for prefix, vendor in m.iteritems():
|
||||||
code += " \"%s\": \"%s\",\n" % ( prefix, vendor )
|
code += " \"%s\": \"%s\",\n" % ( prefix, vendor )
|
||||||
|
|
||||||
code += "}\n"
|
code += "}\n"
|
||||||
|
|
45764
network/oui.go
45764
network/oui.go
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue