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
sudo apt-get -y update | |
sudo apt-get -y upgrade | |
sudo apt-get install -y build-essential libssl-dev libffi-dev python-dev | |
sudo apt-get install -y python-setuptools | |
sudo apt-get install -y libldns-dev | |
sudo apt-get install -y python3-pip | |
sudo apt-get install -y python-pip | |
sudo apt-get install -y python-dnspython | |
sudo apt-get install -y git |
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
echo "Installing Docker..." | |
sudo apt -y update | |
sudo apt install -y apt-transport-https ca-certificates curl software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable" | |
sudo apt -y update | |
apt-cache policy docker-ce | |
sudo apt install -y docker-ce | |
echo "Download ElasticSearch..." |
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
import os | |
import random | |
import requests | |
import argparse | |
import textwrap | |
import time | |
def hookFactory(*factory_args, **factory_kwargs): | |
def saveData(response, *args, **kwargs): |
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
// Usign the gas-lab as a reference https://github.com/0xKitsune/gas-lab | |
// SPDX-License-Identifier: UNLICENSED | |
pragma solidity >=0.8.12; | |
import "../../lib/test.sol"; | |
import "../../lib/Console.sol"; | |
contract GasTest is DSTest { | |
Contract0 c0; | |
Contract1 c1; |
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
// Usign the gas-lab as a reference https://github.com/0xKitsune/gas-lab | |
// SPDX-License-Identifier: UNLICENSED | |
pragma solidity >=0.8.12; | |
import "../../lib/test.sol"; | |
import "../../lib/Console.sol"; | |
contract GasTest is DSTest { | |
Contract0 c0; | |
Contract1 c1; |
OlderNewer