R and S are public inside the transaction output. Z is just the SHA256 hash of the raw transaction, not the signed transaction.
Usually, it is not possible to obtain the private key from an RSZ triple, since if you could, that would break the security model of Bitcoin.
But if you have two RSZ triples that were generated with the same nonce ("k"), you can solve two equations of the form s = k-1(z + r*dA) mod n (this comes from the verification algorithm) for dA, the private key.
Thank you very much. help to understand more