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
#!/bin/bash | |
set -euo pipefail | |
PUBLIC_FTP_DIR="/home/publicftp/public" | |
VSFTPD_USERLIST="/etc/vsftpd.userlist" | |
FTP_PASSIVE_PORTS="30000:31000" | |
# Neutral public FTP user name (can be changed) | |
PUBLIC_NEUTRAL_USER="publicftp" |
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
for pkg in docker.io docker-doc docker-compose docker-compose-v2 podman-docker containerd runc; do sudo apt-get remove -y $pkg; done | |
# Add Docker's official GPG key: | |
sudo apt-get update -y | |
sudo apt-get install -y ca-certificates curl | |
sudo install -m 0755 -d /etc/apt/keyrings | |
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc | |
sudo chmod a+r /etc/apt/keyrings/docker.asc | |
# Add the repository to Apt sources: |
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
#!/bin/bash | |
# Function to display usage instructions | |
usage() { | |
echo "Usage: $0 [-b branch_name] commit_hash1 [commit_hash2 ...]" | |
echo " -b branch_name Specify the branch to recover commits to (default: current branch)" | |
exit 1 | |
} | |
# Parse options |
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
#!/usr/bin/env python | |
# coding=utf-8 | |
import hexdump | |
import rsa | |
import random | |
import base64 | |
import string | |
import urllib.request | |
#pack = b'\x00\x00\xBE\xEF' # pack head |
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
using System; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using RestSharp; // Version 106.0.0 | |
namespace EncryptionDecryptionUsingSymmetricKey | |
{ | |
class Program | |
{ |
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
x | |
y | |
your | |
yours | |
yourself | |
yourselves | |
you | |
yond | |
yonder | |
yon |