We start with an nmap scan:
nmap -Pn -sC -sV -oA nmap/initial 10.10.10.40
We can see that this machine is running Windows 7 Pro 7601 Service Pack 1 which is vulnerable to Eternal Blue:
https://www.exploit-db.com/exploits/42315
We attempted several non-metasploit methods, but all failed.
We try with metasploit.
We succeed:
We get the root.txt:
1578f84c0aeb6640e8c6e3971e7b04ae
We get the user.txt:
d0579736afe9a008cc472be7f89bfaa6