This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
listed the 5th of january of 2024 | |
framegovernance-claim.com | |
albertatechjobs.com | |
altversedrop.com | |
authmee6.org | |
authvulcan.net | |
authyvulcan.com | |
authyvulcan.net | |
bigtimegame.net | |
bitscheck.org |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: GPL-3.0 | |
pragma solidity ^0.8.4; | |
contract RevertWithString { | |
function buy(uint amount) public payable { | |
if (msg.value < amount) | |
revert("Not enough Ether provided."); | |
} | |
// transaction cost 21499 gas | |
// execution cost 295 gas |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: GPL-3.0 | |
pragma solidity 0.8.17; | |
interface DataFeed { function getData() external returns (uint value); } | |
contract DataFeedOK is DataFeed { | |
function getData() public pure returns (uint value) { | |
return 1; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: GPL-3.0 | |
pragma solidity >=0.8.2 <0.9.0; | |
error DataResult(bytes32 data); | |
contract ReturnOrRevert { | |
function getDataByRevert(string memory x) public pure { | |
bytes32 data = keccak256(bytes(x)); | |
revert DataResult(data); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getAddr | |
set -g addresses_file "$HOME/.ethereum_addresses" | |
# Create the addresses file if it doesn't exist | |
if test ! -f $addresses_file | |
touch $addresses_file | |
end | |
# Parse the command-line arguments | |
switch $argv[1] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: Manija | |
/** This exploit consists on abusing a reentrancy. | |
* This can be done as a consequence of two things: | |
* 1) The inherited public/external functions from ERC20 are not Reentrancy | |
* protected | |
* 2) Check-Effects-Interaction is missing at withdrawAll(). | |
* | |
* This two cause the following to be possible: | |
* When you call withdrawAll(), the sendValue allows an attacker to take | |
* control over the flow of the transaction. And since _burn_, which uses |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If you want to use it, copy this file as Makefile.platform and adjust it to your needs | |
# Run 'make PLATFORM=' to get an exhaustive list of possible parameters for this file. | |
#PLATFORM=PM3RDV4 | |
PLATFORM=PM3GENERIC | |
PLATFORM_SIZE=256 | |
STANDALONE= | |
SKIP_EM4x50=1 | |
SKIP_ISO15693=1 | |
SKIP_LEGICRF=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.24; | |
contract test { | |
function f() public { | |
int YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY |