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
# HTB Academy Certificate Exams Results Monitoring | |
# Author: RBPi | |
import requests | |
import time | |
import random | |
import os | |
import urllib.parse | |
import urllib.request |
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 -e | |
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak | |
echo "CentOS-Base.repo backup successful" | |
/bin/cat <<'EOF' > /etc/yum.repos.d/CentOS-Base.repo | |
# CentOS-Base.repo | |
# | |
# The mirror system uses the connecting IP address of the client and the |
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 -e | |
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup | |
echo "CentOS-Base.repo backup successful" | |
/bin/cat <<'EOF' > /etc/yum.repos.d/CentOS-Base.repo | |
# CentOS-Base.repo | |
# | |
# The mirror system uses the connecting IP address of the client and the |