Describe the bug
The call to get shell returns incorrect response.
To Reproduce
Steps to reproduce the behavior:
-
The Command being traced :
1. java -Dspring.profiles.active=mysql -jar target/*.jar
-
Sequence of REST APIs and Trace Options used :
1. URL : /api/{accountID}/v1/startTracing?pid=93167
Method : PUT
2. URL : /api/{accountID}/v1/getshell
Method : GET
-
Response Body and Response Code from the REST API
{
"shell": "/bin/bash"
}
-
In case of command line utility issue, the command line options used and the response from the command line utility
-
Sail terminal logs
Expected behavior
The expected response while hitting the API - URL : /api/{accountID}/v1/getshell is,
{
"shell": "/bin/sh"
}
Screenshots
If applicable, add screenshots to help explain your problem.
** System (please complete the following information):**
You can get these information from the os-release file as below:
Additional context
Add any other context about the problem here.
Describe the bug
The call to get shell returns incorrect response.
To Reproduce
Steps to reproduce the behavior:
The Command being traced :
1. java -Dspring.profiles.active=mysql -jar target/*.jar
Sequence of REST APIs and Trace Options used :
1. URL : /api/{accountID}/v1/startTracing?pid=93167
Method : PUT
2. URL : /api/{accountID}/v1/getshell
Method : GET
Response Body and Response Code from the REST API
{
"shell": "/bin/bash"
}
In case of command line utility issue, the command line options used and the response from the command line utility
Sail terminal logs
Expected behavior
The expected response while hitting the API - URL : /api/{accountID}/v1/getshell is,
{
"shell": "/bin/sh"
}
Screenshots
If applicable, add screenshots to help explain your problem.
** System (please complete the following information):**
You can get these information from the os-release file as below:
Additional context
Add any other context about the problem here.