Obscurity

Hi there, i have been through the first phase of finding the .py file also i am able to figure out the code and point of entry to get a reverse shell. So here is a thing i passed the reverse shell in py over to the “function” and run this on burp suite while waiting for the bash. But i do not get any response blank on the response on burp suite. I am stuck basically. Can anyone help in getting the initial foothold. Also i have seen here on the forum most of the people say simulate it locally. I tried running the code it run successfully and existed. Also please guide me here seems like i needed a nudge .