The restriction that only allow msg.sender to read password can be bypass using javascript
Nothing is private in blockchain including slot in storage so using javascript like web3.eth.getStorageAt(contractAddress, slotNumber) we can read any data in storage.
In this case slotNumber is 1 as address private s_owner; is slot 0 and string allocate a new slot
Anyone can read the password of contract owner
VSCode
Don't do this kind of things , a blockchain is not a password vault ..
Private functions and state variables are only visible for the contract they are defined in and not in derived contracts. In this case private doesn't mean secret/confidential
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.