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
| <!doctype html> | |
| <html lang="de"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width,initial-scale=1"> | |
| <title>Threema Export Viewer</title> | |
| <style> | |
| body{ | |
| margin:0; |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Spam</title> | |
| </head> | |
| <body> | |
| <script> | |
| function downloadSpam() { |
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 check_root() { | |
| if [ "$(id -u)" != "0" ]; then | |
| echo "This script must be run as root!" 1>&2 | |
| exit 1 | |
| fi | |
| } | |
| function help_menu() { |
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
| import redis | |
| import os | |
| from urllib.parse import urlparse | |
| from time import time | |
| from concurrent.futures import ThreadPoolExecutor, as_completed | |
| # For colored output | |
| try: | |
| from colorama import init, Fore, Style | |
| init(autoreset=True) |
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 bash | |
| # | |
| # harden_lynis.sh | |
| # | |
| # Description: | |
| # This script automates several recommendations from a Lynis scan | |
| # on a Debian/Ubuntu-like system. It installs recommended packages, | |
| # modifies SSH and password policies, restricts some kernel modules, | |
| # and sets up basic banners. Many items require manual review or | |
| # additional configuration to be truly effective. |
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 bash | |
| # | |
| # Secure Server Setup & Hardening Script (Prompt Before Each Function) | |
| # | |
| # Description: | |
| # This script updates the system, installs useful packages, configures | |
| # security enhancements (UFW, Fail2Ban, SSH hardening, sysctl tweaks), | |
| # blacklists known bad IPs, restricts some ICMP types, adds a non-root user, | |
| # and performs basic system audits—now prompting the user to confirm (y/n) | |
| # before each function executes. |
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
| Sub RemoveRowsNotEqualToOneOrBefore2023() | |
| Dim ws As Worksheet | |
| Dim lastRow As Long | |
| Dim i As Long | |
| ' Set the worksheet you want to work with | |
| Set ws = ThisWorkbook.Sheets(1) ' Change 1 to the index or name of your sheet | |
| ' Find the last row in the sheet | |
| lastRow = ws.Cells(ws.Rows.Count, "H").End(xlUp).Row |
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 | |
| # Exit immediately if a command exits with a non-zero status. | |
| set -e | |
| # Variables | |
| DOCKER_COMPOSE_DIR="/opt/devbox" | |
| # Function to stop and remove Docker containers | |
| remove_docker_containers() { |
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
| # NOTE => For use in Windows Server R2016 | |
| # Ensure script runs with administrative privileges | |
| If (-NOT ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole(` | |
| [Security.Principal.WindowsBuiltinRole] "Administrator")) { | |
| Write-Host "Please run this script as Administrator." -ForegroundColor Red | |
| Exit 1 | |
| } |
NewerOlder