Internet Blackout and Dark Days

The last couple of days especially since 16th July, i have been anxious. My anxiety went through the roof on 18th July when we experienced government directed nationwide internet shutdown to cover up all the mass killings of the protesting students and civilians by the Government, their activist terrorist groups called Chatro League and the allied military forces and it continued for the next 6 days until 24th July. We lost at least 200+ young bright students and thousands have been injured by the bullets, tear-shells, grenades....

25 July 2024 · 2 min · 282 words

Understanding ERC-1271 - Standard Signature Validation

Externally Owned Accounts (EOA) can sign messages or transactions with their associated private keys but currently contracts cannot. This ERC implements a standard way for the contracts to verify whether a signature on a behalf of a contract is valid this allows contracts to sign messages with the implementation of isValidSignature(hash, signature) function on the signing contract. Motivation There are many contracts that want to utilize signed messages for validation of rights-to-move assets or other purposes....

18 March 2024 · 4 min · 737 words

Damn Vulnerable DeFi - Side Entrance

Objectives A surprisingly simple pool allows anyone to deposit ETH, and withdraw it at any point in time. It has 1000 ETH in balance already, and is offering free flash loans using the deposited ETH to promote their system. Starting with 1 ETH in balance, pass the challenge by taking all ETH from the pool. Contract // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "solady/src/utils/SafeTransferLib.sol"; interface IFlashLoanEtherReceiver { function execute() external payable; } /** * @title SideEntranceLenderPool * @author Damn Vulnerable DeFi (https://damnvulnerabledefi....

27 February 2024 · 6 min · 1222 words

How I Fixed My Display Resolution by Installing NVIDIA Drivers on Ubuntu 18.04 Bionic Beaver Linux

Last night I installed Ubuntu 18.04 Bionic Beaver Linux on my desktop PC by completely whipping out Windows 7 OS. So after proper Linux installation, the first problem I faced was a low-resolution display, which was totally annoying me given that I have a NVIDIA Geforce GTX 750 TI graphics card installed in the machine. My monitor’s resolution is 1368x768, but Ubuntu defaulted it to 960x540. So I searched over Google and found some solutions and started applying all until I got my result....

20 July 2018 · 4 min · 749 words