Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Nov 18 09:35:13, Probe Request, c0:ee:fb:35:b6:a0, Intertelecom_FREE
- pattern = r'ПАТТЕРН'
- with open('pineap.log') as log, open("result.txt", "w") as output:
- for line in log:
- _, _, mac, name = [s.strip() for s in line.split(',')]
- output.write('{} {}'.format(mac, name))
Add Comment
Please, Sign In to add comment