Skip to content

Instantly share code, notes, and snippets.

View tomay3000's full-sized avatar

Youcef Kouchkar tomay3000

View GitHub Profile
@Racv
Racv / mac_changer.py
Created July 25, 2020 05:14
A python script to change mac address
#!/usr/bin/env python
import subprocess
import optparse
import re
def get_args():
parser = optparse.OptionParser()
parser.add_option("-i", "--interface", dest="interface", help="Interface whose mac has to be changed")