Coder Social home page Coder Social logo

frasquito / connectify Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 10 KB

Set the following environtment variables: $private_key, $address, $target_address, $setup_address, $rpc, $target. Hack The Box (HTB). Hacken Proof. Blockchain. Solidity. Foundry.

License: Apache License 2.0

Shell 100.00%

connectify's Introduction

Connectify: Useful Environment Variable Setter

This Bash script sets the following environment variables: $address, $target_address, $setup_address, $rpc, $target.

It retrieves connection information from a specified IP and port, parses the JSON response, and sets environment variables accordingly. This script is particularly useful for configuring environment variables related to Hack The Box (HTB), Hacken Proof, Blockchain, Solidity, and Foundry.

Prerequisites

Before running this script, ensure that jq (a lightweight and flexible command-line JSON processor) is installed on your system. You can install it using your package manager (e.g., apt, yum, brew, etc.).

# Example installation using apt (for Debian/Ubuntu)
sudo apt update
sudo apt install jq
# Example installation using yum (for CentOS/RHEL)
sudo yum install jq

Usage

To run the script, follow these steps:

Download the Script: Download the connectify.sh script to your desired directory.

Make the Script Executable: If necessary, make the script executable using chmod command:

chmod +x connectify.sh

Run the Script: Execute the script using one of the following methods:

Execution

source ./connectify.sh <IP>:<PORT>

or

. ./connectify.sh <IP>:<PORT>

Notes

Ensure that the provided IP and port are accessible and correct. This script assumes a Linux/Unix environment with bash shell. If sourcing the script, remember that environment variables will affect the current shell session.

connectify's People

Contributors

frasquito avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.