为什么这个 txn 没有转移余额,我传递了与有问题的响应集完全相同的十六进制字符串
Why did this txn not transfer balance, I passed the exact same string same hex as response set in question
我打电话给https://etherscan.io/address/0x0c63bf5f9c1b31bd98eb2995e8ab5ba33fe31d22 contract's Try function by passing the same string which was passed in Start function. I checked hex. Can someone help me why Try function call https://etherscan.io/tx/0x096a060d64d833c55fd83b2ea4ec209578dc3316d863de3a3de63692e8476628
没有启动余额转移。有什么东西,我想念
测验是一个骗局合同
作者通常使用一组相似的名称([a-z]{2}_quiz
),但其中大多数包含相同的代码并充当蜜罐骗局。
了解更多信息:
- https://medium.com/coinmonks/do-not-be-fooled-by-crypto-quiz-games-f38f72a53c78
- https://ethereum.stackexchange.com/questions/62815/trying-to-figure-out-this-2-eth-smart-contract-quiz
骗局如何运作:
攻击者使用来自另一个合约的内部调用(未出现在蜜罐“交易”或“内部调用”列表中)调用New()
函数并将散列设置为一些垃圾值。
这个垃圾值不是 Start()
函数中传递的字符串的哈希值,很可能甚至不是任何字符串的哈希值。
然后公开调用Start()
函数(参见transaction),这样看起来他们正在设置散列,但由于这种情况而没有设置:
if(responseHash==0x0){ // it's not 0x0 anymore
responseHash = keccak256(abi.encode(_response));
question = _question;
}
我打电话给https://etherscan.io/address/0x0c63bf5f9c1b31bd98eb2995e8ab5ba33fe31d22 contract's Try function by passing the same string which was passed in Start function. I checked hex. Can someone help me why Try function call https://etherscan.io/tx/0x096a060d64d833c55fd83b2ea4ec209578dc3316d863de3a3de63692e8476628 没有启动余额转移。有什么东西,我想念
测验是一个骗局合同
作者通常使用一组相似的名称([a-z]{2}_quiz
),但其中大多数包含相同的代码并充当蜜罐骗局。
了解更多信息:
- https://medium.com/coinmonks/do-not-be-fooled-by-crypto-quiz-games-f38f72a53c78
- https://ethereum.stackexchange.com/questions/62815/trying-to-figure-out-this-2-eth-smart-contract-quiz
骗局如何运作:
攻击者使用来自另一个合约的内部调用(未出现在蜜罐“交易”或“内部调用”列表中)调用New()
函数并将散列设置为一些垃圾值。
这个垃圾值不是 Start()
函数中传递的字符串的哈希值,很可能甚至不是任何字符串的哈希值。
然后公开调用Start()
函数(参见transaction),这样看起来他们正在设置散列,但由于这种情况而没有设置:
if(responseHash==0x0){ // it's not 0x0 anymore
responseHash = keccak256(abi.encode(_response));
question = _question;
}