Write blob to a shell script
Creates a shell script in the temporary directory of the file system that is access through the shell connection. This can be used to run more complex commands on remote systems.
Authorization
bearerAuth AuthorizationBearer <token>
The bearer token used is the session token that you receive from the handshake exchange.
In: header
Request Body
application/json
connection*string
The connection uuid
blob*string
The blob uuid
Response Body
application/json
application/json
application/json
curl -X POST "http://localhost:21721/fs/script" \ -H "Content-Type: application/json" \ -d '{ "connection": "f0ec68aa-63f5-405c-b178-9a4454556d6b", "blob": "854afc45-eadc-49a0-a45d-9fb76a484304" }'{
"path": "/tmp/xpipe-123.sh"
}{
"message": "string"
}Empty
Empty
{
"error": {
"cause": {},
"stackTrace": [],
"suppressed": [],
"localizedMessage": "string",
"message": "string"
}
}