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 | |
# To Run this file as a Command, Create ~/.bash_aliases file and put the following: | |
# alias ssh='/path to customSSHCommand.sh ssh' | |
# alias sftp='/path to customSSHCommand.sh sftp' | |
type="$1" | |
provider="$2" | |
if [ -z "$type" ] || [ -z "$provider" ] |
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
import java.io.*; | |
import java.nio.file.Files; | |
import java.nio.file.StandardOpenOption; | |
import java.security.SecureRandom; | |
import java.util.ArrayList; | |
import java.util.zip.ZipEntry; | |
import java.util.zip.ZipInputStream; | |
import java.util.zip.ZipOutputStream; | |
import javax.crypto.Cipher; |
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
from Crypto.Cipher import AES | |
from Crypto import Random | |
import os | |
import time | |
import sys | |
import argparse | |
from pathlib import Path | |
import colorama | |
from termcolor import colored | |
import shutil |