Niccolo Lampathedatalife.com·Apr 11, 2024picoCTF - Cookies SolutionCookies Solution This is the solution for picoCTF's Cookies challenge web exploitation problem. This problem was taken from the picoCTF 2021 and the solution will be discussed below. So proceed with caution. Clicking on the link we are redirected to...DiscussWeb Security
Niccolo Lampathedatalife.com·Mar 31, 2024Hack The Box - UnifiedThis article discusses the solution for Hack the Box Unified Challenge tasks so proceed with caution. I would suggest that you try to solve it on your own as you will learn a lot in the process of attempting. Try to give it your all until you feel th...DiscussCTF
Pierre E.blog.pedrojok.com·Mar 29, 2024The Ethernaut CTF Solutions | 17 - RecoveryGoals We are the good guys this time! The Contract // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract Recovery { //generate tokens function generateToken(string memory _name, uint256 _initialSupply) public { new Simple...DiscussThe Ethernautethereum smart contracts
Pierre E.blog.pedrojok.com·Mar 28, 2024The Ethernaut CTF Solutions | 16 - PreservationGoals The Contract // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract Preservation { // public library contracts address public timeZone1Library; address public timeZone2Library; address public owner; uint storedTi...DiscussThe Ethernautethereum smart contracts
Pierre E.blog.pedrojok.com·Mar 27, 2024The Ethernaut CTF Solutions | 15 - Naught CoinGoals The contract // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // import "openzeppelin-contracts-08/token/ERC20/ERC20.sol"; import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; contract NaughtCoin is ERC20 { // stri...DiscussThe Ethernautethereum smart contracts
Pierre E.blog.pedrojok.com·Mar 26, 2024The Ethernaut CTF Solutions | 14 - Gate Keeper TwoGoals Same principles as the Gate Keeper One, but with different modifiers. The contract // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract GatekeeperTwo { address public entrant; modifier gateOne() { require(msg.send...DiscussThe Ethernautethereum smart contracts
Pierre E.blog.pedrojok.com·Mar 25, 2024The Ethernaut CTF Solutions | 13 - Gate Keeper OneGoals I like the Gate Keepers, they are fun to solve. They basically tell you what to do... You just have to figure out how! The Contract // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract GatekeeperOne { address public entrant; ...DiscussThe Ethernautethereum smart contracts
Pierre E.blog.pedrojok.com·Mar 25, 2024The Ethernaut CTF Solutions | 12 - PrivacyGoals The Contract // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract Privacy { bool public locked = true; uint256 public ID = block.timestamp; uint8 private flattening = 10; uint8 private denomination = 255; uint1...DiscussThe Ethernautethereum smart contracts
Pierre E.blog.pedrojok.com·Mar 23, 2024The Ethernaut CTF Solutions | 11 - ElevatorGoals The Contract // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface Building { function isLastFloor(uint) external returns (bool); } contract Elevator { bool public top; uint public floor; function goTo(uint _floo...DiscussThe Ethernautethereum smart contracts
Pierre E.blog.pedrojok.com·Mar 22, 2024The Ethernaut CTF Solutions | 10 - ReentrancyGoals The title is a pretty big hint in this challenge. The Contract // SPDX-License-Identifier: MIT pragma solidity ^0.6.12; // import 'openzeppelin-contracts-06/math/SafeMath.sol'; import {SafeMath} from "../helpers/SafeMath-06.sol"; contract Re...DiscussThe Ethernautethereum smart contracts