Updated Invoke Method (markdown)

Namhyeon Go 2024-06-20 13:52:28 +09:00
parent ed19582972
commit 7fb8496228

@ -29,6 +29,13 @@ You should see the phpversion output as shown below.
{"jsonrpc":"2.0","result":{"status":200,"data":"8.2.18"},"id":""} {"jsonrpc":"2.0","result":{"status":200,"data":"8.2.18"},"id":""}
``` ```
### Here is another example:
```
> curl -X POST --data "{\"jsonrpc\":\"2.0\",\"method\":\"relay_invoke_method\",\"params\":{\"callback\":\"shell_exec\",\"args\":[\"whoami\"]},\"id\":\"\"}" -H "Content-Type: application/json" -H "User-Agent: php-httpproxy/curl" http://YOUR_HOSTNAME/
{"jsonrpc":"2.0","result":{"status":200,"data":"www-data\n"},"id":""}
```
## Report abuse ## Report abuse
* ActivityPub [@gnh1201@catswords.social](https://catswords.social/@gnh1201) * ActivityPub [@gnh1201@catswords.social](https://catswords.social/@gnh1201)
* abuse@catswords.net * abuse@catswords.net