@btTex ,I may know about the error in this picture ‘https://imgur.com/AJoUT4U.png’, it can be caused due to 2 main reasons,
1.You didn’t change your “host” to your current host in php-reverse-shell.php
2.The session got expired, you can rectify this by uploading the php-reverse-shell.php again.
What do you exactly mean by changing to your current host when uploading the php-reverse-shell.php? I changed the IP and port in Burpsuite when uploading the file but getting the same errors when trying to curl after dirsearch.