Skip to content

Instantly share code, notes, and snippets.

View developerfred's full-sized avatar
🥇
🔥

codingsh developerfred

🥇
🔥
View GitHub Profile
@developerfred
developerfred / contracts.sol
Last active September 15, 2021 17:40
Gnosis Safe Deploy - Fuse Network
*
* 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;
}
{
"ethereum": {
"smartContractEvents": [
{
"transaction": {
"hash": "0xd191ceacc1bb15faf93379716a90e7a0ea772fb228f0277305323f6ab8ac08f7"
},
"block": {
"height": 5373657,
"timestamp": {
@developerfred
developerfred / DSProxy.sol
Created October 24, 2020 13:13
Flash Loan one transaction 20 GWEI
/**
*Submitted for verification at Etherscan.io on 2018-09-06
*/
// proxy.sol - execute actions atomically through the proxy's identity
// Copyright (C) 2017 DappHub, LLC
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@developerfred
developerfred / yearn.finance
Created October 20, 2020 23:56
yearn.finance Holders
This file has been truncated, but you can view the full file.
{
"asset": "0x96d62cdcd1cc49cb6ee99c867cb8812bea86b9fa",
"wallets":
"ba37b002abafdd8e89a1995da52740bbc013d992",
"3f5ce5fbfe3e9af3971dd833d26ba9b5c936f0be",
"3dfd23a6c5e8bbcfc9581d2e864a68feb6a076d3",
"e93381fb4c4f14bda253907b18fad305d799241a",
"088ee5007c98a9677165d78dd2109ae4a3d04d0c",
"2fdbadf3c4d5a8666bc06645b8358ab803996e28",
"bcd5000f5c522856e710c5d274bb672b2f2eefbf",
@developerfred
developerfred / MKR_holders.csv
Created October 20, 2020 13:02 — forked from gane5h/MKR_holders.csv
MKR balance storage slot writes
We can't make this file beautiful and searchable because it's too large.
"block_signed_at","address","balance"
"2019-11-30 21:43:30+00","2d1d6d5deae5cc68d893a73781dd573fde302796",1227556400000000000
"2019-11-30 21:43:30+00","2b5634c42055806a59e9107ed44d43c426e58258",239060270600000000000
"2019-11-30 21:33:10+00","39755357759ce0d7f32dc8dc45414cca409ae24e",437140390807426204185
"2019-11-30 21:33:10+00","69076e44a9c70a67d5b79d95795aba299083c275",5878988991879486728884
"2019-11-30 21:33:10+00","e54365c85ca9b7e3ef68c5bed244dc10330bb264",0
"2019-11-30 21:32:32+00","ac8d6652067ca9b33bd15eeeeb01102d2d2cfc64",843100000000000000
"2019-11-30 21:29:27+00","2c4bd064b998838076fa341a83d007fc2fa50957",2964877658410763648961
"2019-11-30 21:29:27+00","9ba4ae48b8ca9e98e511b3371a4d454d1a3e1003",0
"2019-11-30 21:17:29+00","6cc5f688a315f3dc28a7781717a9a798a59fda7b",2633319886385353620901
@developerfred
developerfred / MKR_holders.csv
Created October 20, 2020 13:02 — forked from gane5h/MKR_holders.csv
MKR balance storage slot writes
We can't make this file beautiful and searchable because it's too large.
"block_signed_at","address","balance"
"2019-11-30 21:43:30+00","2d1d6d5deae5cc68d893a73781dd573fde302796",1227556400000000000
"2019-11-30 21:43:30+00","2b5634c42055806a59e9107ed44d43c426e58258",239060270600000000000
"2019-11-30 21:33:10+00","39755357759ce0d7f32dc8dc45414cca409ae24e",437140390807426204185
"2019-11-30 21:33:10+00","69076e44a9c70a67d5b79d95795aba299083c275",5878988991879486728884
"2019-11-30 21:33:10+00","e54365c85ca9b7e3ef68c5bed244dc10330bb264",0
"2019-11-30 21:32:32+00","ac8d6652067ca9b33bd15eeeeb01102d2d2cfc64",843100000000000000
"2019-11-30 21:29:27+00","2c4bd064b998838076fa341a83d007fc2fa50957",2964877658410763648961
"2019-11-30 21:29:27+00","9ba4ae48b8ca9e98e511b3371a4d454d1a3e1003",0
"2019-11-30 21:17:29+00","6cc5f688a315f3dc28a7781717a9a798a59fda7b",2633319886385353620901
@developerfred
developerfred / noCash Rinkeby
Last active October 18, 2020 15:18
NocashRinkeby
Starting migrations...
======================
> Network name: 'rinkeby'
> Network id: 4
> Block gas limit: 10000000 (0x989680)
2_deploy_contracts.js
=====================
@developerfred
developerfred / activity_stream.css
Created August 19, 2020 19:28
GitCoin Fixed Email
#reflink {
cursor: pointer;
font-size: 12px;
padding: 3px;
background-color: #fff;
border: 0px solid;
color: #3d23fc;
}
.dark-mode #reflink {
@developerfred
developerfred / as-blockchain.md
Created August 4, 2020 03:58
AssemblyScript on Blockchain - Awesome Projects List
@developerfred
developerfred / github_bugbountyhunting.md
Created July 30, 2020 18:47 — forked from EdOverflow/github_bugbountyhunting.md
My tips for finding security issues in GitHub projects.

GitHub for Bug Bounty Hunters

GitHub repositories can disclose all sorts of potentially valuable information for bug bounty hunters. The targets do not always have to be open source for there to be issues. Organization members and their open source projects can sometimes accidentally expose information that could be used against the target company. in this article I will give you a brief overview that should help you get started targeting GitHub repositories for vulnerabilities and for general recon.

Mass Cloning

You can just do your research on github.com, but I would suggest cloning all the target's repositories so that you can run your tests locally. I would highly recommend @mazen160's GitHubCloner. Just run the script and you should be good to go.

$ python githubcloner.py --org organization -o /tmp/output