# Entering root
sudo su
# Initializing mounts
mkdir -p /mnt/chroot/boot/efi
mount /dev/sdb4 /mnt/chroot
mount /dev/sdb1 /mnt/chroot/boot
mount /dev/sdb3 /mnt/chroot/boot/efi
for i in /dev /dev/pts /proc /sys /sys/firmware/efi/efivars /run; do sudo mount -B $i /mnt/chroot$i; done
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 python3 | |
# Credit: ANGELSECURITYTEAM | |
import requests | |
import re | |
import colorama | |
colorama.init() | |
print(""" |
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 python3 | |
for i in range(30, 37 + 1): | |
print("\033[%dm%d\t\t\033[%dm%d" % (i, i, i + 60, i + 60)) | |
print("\033[39m\\033[49m - Reset color") | |
print("\\033[2K - Clear Line") | |
print("\\033[<L>;<C>H or \\033[<L>;<C>f - Put the cursor at line L and column C.") | |
print("\\033[<N>A - Move the cursor up N lines") | |
print("\\033[<N>B - Move the cursor down N lines") |