diff --git a/Invoke-Method.md b/Invoke-Method.md index 4371e20..5bedf6d 100644 --- a/Invoke-Method.md +++ b/Invoke-Method.md @@ -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 \ No newline at end of file