So I am currently playing around with DVWA, and by exploiting the local file inclusion vuln I can manage to upload the nc.exe binary on the target server and execute a reverse shell to my machine. However I am noticing that once a shell is obtained, the DVWA website stops responding, so technically this is causing a DoS as well. Once the shell connection is ended, the website becomes responsive again.
Does anyone know why this happens and how can this be mitigated? As this would not be an ideal scenario during a live pen test.