A collection of system hardening and generally-useful scripts for Linux systems. Targets Artix, works on any distro. Some inits require disabling the included boot parameter hardening, otherwise they won't boot (systemd)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

17 lines
419 B

#!/bin/bash
for file in "$@"; do
echo -n "$file":
curl --socks5-hostname 127.0.0.1:9050 -F "file=@$file" https://ttm.sh
echo -ne "\tLength: "
wc -c "$file" | cut -d' ' -f1
echo -ne "\tBLAKE2: "
b2sum "$file" | cut -d' ' -f1
echo -ne "\tSHA-512: "
sha512sum "$file" | cut -d' ' -f1
echo -ne "\tSHA-256: "
sha256sum "$file" | cut -d' ' -f1
echo -ne "\tSHA-1: "
sha1sum "$file" | cut -d' ' -f1
echo
done