mirror of
https://github.com/gnh1201/caterpillar.git
synced 2025-07-11 23:13:09 +00:00
Updated Invoke Method (markdown)
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":""}
|
||||
```
|
||||
|
||||
### 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
|
||||
* ActivityPub [@gnh1201@catswords.social](https://catswords.social/@gnh1201)
|
||||
* abuse@catswords.net
|
Loading…
Reference in New Issue
Block a user