This file contains 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
#!/bin/bash | |
git clone https://github.com/slockit/DAO | |
nodejs --stack-size=64000 bruteforce.js |
This file contains 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
// Based upon https://gist.github.com/jbaylina/2da7dba1496844f3ad2dc60b48cbc955 | |
var crypto = require('crypto'); | |
var fs= require('fs'); | |
var solc = require('solc'); | |
var input = { | |
'all.sol' : fs.readFileSync('all.sol', 'utf8') | |
}; | |
var input2 = { |
This file contains 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
// Based upon https://gist.github.com/jbaylina/2da7dba1496844f3ad2dc60b48cbc955 | |
var crypto = require('crypto'); | |
var fs= require('fs'); | |
var solc = require('solc'); | |
var input = { | |
'all.sol' : fs.readFileSync('all.sol', 'utf8') | |
}; | |
var input2 = { |
This file contains 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
//sol Wallet | |
// Multi-sig, daily-limited account proxy/wallet. | |
// @authors: | |
// Gav Wood <g@ethdev.com> | |
// inheritable "property" contract that enables methods to be protected by requiring the acquiescence of either a | |
// single, or, crucially, each of a number of, designated owners. | |
// usage: | |
// use modifiers onlyowner (just own owned) or onlymanyowners(hash), whereby the same hash must be provided by | |
// some number (specified in constructor) of the set of owners (specified in the constructor, modifiable) before the | |
// interior is executed. |
This file contains 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
/* | |
This file is part of the DAO. | |
The DAO is free software: you can redistribute it and/or modify | |
it under the terms of the GNU lesser General Public License as published by | |
the Free Software Foundation, either version 3 of the License, or | |
(at your option) any later version. | |
The DAO is distributed in the hope that it will be useful, | |
but WITHOUT ANY WARRANTY; without even the implied warranty of |