-
Notifications
You must be signed in to change notification settings - Fork 1
/
reflector
executable file
·21 lines (16 loc) · 872 Bytes
/
reflector
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/python
import os
from optparse import OptionParser
parser = OptionParser()
parser.add_option("--interface", dest="interface",
help="enter interface")
parser.add_option("--victim-ip", dest="victimip",
help="enter victim-ip")
parser.add_option("--victim-ethernet", dest="victimethernet",
help="enter victim-ethernet")
parser.add_option("--reflector-ip", dest="reflectorip",
help="enter reflector-ip")
parser.add_option("--reflector-ethernet", dest="reflectorethernet",
help="enter reflector-ethernet")
(options, args) = parser.parse_args()
os.system("python test.py --interface "+options.interface+" --victim-ip "+options.victimip+" --victim-ethernet "+options.victimethernet +" --reflector-ip "+options.reflectorip+" --reflector-ethernet "+options.reflectorethernet)