Skip to content

Instantly share code, notes, and snippets.

@Sid110307
Sid110307 / sid-debian.md
Last active June 2, 2025 17:42
Commands for chroot
# 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
@Sid110307
Sid110307 / hack.py
Created December 30, 2022 07:15
Camera Hack
#!/usr/bin/env python3
# Credit: ANGELSECURITYTEAM
import requests
import re
import colorama
colorama.init()
print("""
@Sid110307
Sid110307 / Python3ANSI.py
Created December 12, 2021 14:33
Quick help for ANSI Colors. Made with Python 3.
#!/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")