When a function is deployed via SCM deployments, the code is handled through a zip file, versus the normal webroot in the file shares. To address this, we need to create some logic for empty webroots and the existence of the .zip file in the container. Finally, we will need to find where the actual webroot is, in order to properly deploy the backdoor function. This was initially noticed on a Standard plan Python function app.
When a function is deployed via SCM deployments, the code is handled through a zip file, versus the normal webroot in the file shares. To address this, we need to create some logic for empty webroots and the existence of the .zip file in the container. Finally, we will need to find where the actual webroot is, in order to properly deploy the backdoor function. This was initially noticed on a Standard plan Python function app.