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 | |
# 目标网址 | |
url="https://nexusphp.com/signup.php" | |
while true; do | |
# 获取注册页面的响应 | |
response=$(curl -L -s "$url") | |
# 检查页面中是否包含与注册相关的关键词 |
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 | |
# 配置变量 | |
GITLAB_URL="https://gitlab.com" | |
GITLAB_PRIVATE_TOKEN="" # 替换为你的 GitLab Personal Access Token | |
TARGET_PROJECT_ID="" # 目标项目ID | |
SOURCE_PROJECT_ID="" # 源项目ID | |
SOURCE_ORIGIN="origin" # 源origin名称 | |
TARGET_ORIGIN="upstream" # 目标origin名称 | |
TARGET_BRANCH="develop" # 目标分支 |
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 | |
# 默认值 | |
URL="" | |
COUNT=-1 | |
# 解析命令行参数 | |
while getopts ":u:c:h" opt; do | |
case $opt in | |
u) URL="$OPTARG" |
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 | |
# 1.下载vultr-cli | |
# wget https://github.com/vultr/vultr-cli/releases/download/v2.15.0/vultr-cli_2.15.0_linux_64-bit.tar.gz | |
# tar -xvf vultr-cli_* | |
# mv vultr-cli /usr/bin/ | |
# rm vultr-cli_* | |
# 2.配置vultr密钥 | |
# echo "api-key: <api_key_from_vultr_account>" > /root/vultr-cli.yaml | |
let PERCENT=90 |
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 | |
# SMART Report Script | |
# Copyright (C) 2020 Morten Jakobsen | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 2 of the License, or (at | |
# your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, but |