Add SB Curated (copied from the smartbugs repository).
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
* @source: etherscan.io
|
||||
* @author: -
|
||||
* @vulnerable_at_lines: 18
|
||||
*/
|
||||
|
||||
pragma solidity ^0.4.16;
|
||||
|
||||
contract RealOldFuckMaker {
|
||||
address fuck = 0xc63e7b1DEcE63A77eD7E4Aeef5efb3b05C81438D;
|
||||
|
||||
// this can make OVER 9,000 OLD FUCKS
|
||||
// (just pass in 129)
|
||||
function makeOldFucks(uint32 number) {
|
||||
uint32 i;
|
||||
for (i = 0; i < number; i++) {
|
||||
// <yes> <report> UNCHECKED_LL_CALLS
|
||||
fuck.call(bytes4(sha3("giveBlockReward()")));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user