Open in app

Sign In

Write

Sign In

Zuhaib Mohammed
Zuhaib Mohammed

300 Followers

Home

About

Pinned

Ethernaut — Level 25 — MotorBike

The challenge is about understanding Universal Upgradeable Proxy Standard (UUPS) and how can an attacker destroy the contract. Click here to access the source code. Investigation Motorbike is the Delegate Contract and Engine is the Implementation contract and the upgrader contract as well due to UUPS design. The attacker needs…

Ethernaut

2 min read

Ethernaut — Level 25 — MotorBike
Ethernaut — Level 25 — MotorBike
Ethernaut

2 min read


Published in

Coinmonks

·Pinned

The Popular ERC Standards

Ethereum is an open-source project, so naturally, the people of the community submit their proposals in the form of EIP (Ethereum Improvement Proposal) for possible improvements to be implemented in the Ethereum Protocol. If these improvements are related to token standards like ERC (Ethereum Request for Comment) etc., …

Erc20

4 min read

The Popular ERC Standards
The Popular ERC Standards
Erc20

4 min read


Pinned

Damn Vulnerable DeFi — Challenge #12 (Climber)

Link to the challenge -> https://www.damnvulnerabledefi.xyz/challenges/12.html GitHub Repo -> https://github.com/zzzuhaibmohd/damn-vulnerable-defi-solutions The Challenge Your goal is to empty the vault. HINT: OPENZEPPELIN UPGADABLE CONTRACTS The ClimberVault.sol is a timelock contract and the owner can withdraw only limited amount of funds. There is an additional role called sweeper who can withdraw all the funds…

Defi

2 min read

Damn Vulnerable DeFi — Challenge #12 (Climber)
Damn Vulnerable DeFi — Challenge #12 (Climber)
Defi

2 min read


Published in

Coinmonks

·Pinned

Proof-of-Work (PoW) vs Proof-of-Stake (PoS)

Before we understand the difference between PoW and PoS, let's understand what does consensus mean? What is Consensus? Imagine there are 10 friends and you plan on watching a movie but there are two movies to choose from and you can only watch one. So the best method one can agree on is…

Blockchain

3 min read

Proof-of-Work (PoW) vs Proof-of-Stake (PoS)
Proof-of-Work (PoW) vs Proof-of-Stake (PoS)
Blockchain

3 min read


Published in

Coinmonks

·Pinned

Solidity — transfer vs send vs call function

In Solidity, there are three ways in which one can send ether. Namely transfer(), send() and call(). In this article, let us discuss how each function call works and which is the best one to use. transfer vs send vs call transfer -> the receiving smart contract should have a fallback function defined or else…

Solidity

2 min read

Solidity — transfer vs send vs call function
Solidity — transfer vs send vs call function
Solidity

2 min read


Published in

Coinmonks

·Sep 14, 2022

The-DeFi-Security-Summit-Stanford-CTF

The CTF covers some of the common smart contract vulnerabilities one must be aware of as a developer or an auditor. Before we jump into the challenges, Let’s just understand what concepts we must be aware of, that can be helpful in solving these challenges. https://github.com/zzzuhaibmohd/DeFi-Security-Summit-Stanford-CTF ERC20 Approval The ERC20 approve grants…

Defi

5 min read

The-DeFi-Security-Summit-Stanford-CTF
The-DeFi-Security-Summit-Stanford-CTF
Defi

5 min read


Published in

Coinmonks

·Aug 23, 2022

Upgradable Smart Contracts

Recently I completed the Ethernaut Challenge Puzzle Wallet and MotorBike which implemented two different proxy patterns for upgradeable contracts. I wanted to take a deep dive and understand more about the good and bad of each of them. Hence the post to document my learning. Aren't smart contracts immutable? I was of the opinion…

Openzeppelin

3 min read

Upgradable Smart Contracts
Upgradable Smart Contracts
Openzeppelin

3 min read


Aug 2, 2022

Ethernaut — Level 24— Puzzle Wallet

The challenge is about understanding proxy pattern and storage variables in upgradable proxy contracts. Click here to access the source code. Investigation We have an Admin contract which contains the update logic and an Logic contract that contains the actual implementation. This can also be refereed to as Transparent Proxy…

Defi

2 min read

Ethernaut — Level 24— Puzzle Wallet
Ethernaut — Level 24— Puzzle Wallet
Defi

2 min read


Jul 31, 2022

Ethernaut — Level 14— Gatekeeper Two

This challenge is an extension to the previous level, the challenge covers a bit of assembly basics and other solidity programming concepts. Click here to access the source code. Investigation To complete the challenge we need to pass three gates gateOne, gateTwo and gateThree which are modifiers and get the…

Defi

2 min read

Ethernaut — Level 14— Gatekeeper Two
Ethernaut — Level 14— Gatekeeper Two
Defi

2 min read


Jul 31, 2022

Ethernaut — Level 13 — Gatekeeper One

This challenge is more about revesting some older topics and learning about type conversions in solidity. Click here to access the source code. Investigation To complete the challenge we need to pass three gates gateOne, gateTwo and gateThree which are modifiers and get the entrant role. Investigate the require statement of each modifier and pass a value to pass all the gates.

Defi

2 min read

Ethernaut — Level 13 — Gatekeeper One
Ethernaut — Level 13 — Gatekeeper One
Defi

2 min read

Zuhaib Mohammed

Zuhaib Mohammed

300 Followers

https://github.com/zzzuhaibmohd #cybersecurity #blockchain

Following
  • SharkTeam

    SharkTeam

  • Immunefi

    Immunefi

  • Neptune Mutual

    Neptune Mutual

  • Numen Cyber Labs

    Numen Cyber Labs

  • QuillAudits - Web3 Security 🛡️

    QuillAudits - Web3 Security 🛡️

See all (13)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams