Skip to content

Instantly share code, notes, and snippets.

@ctixsystems
ctixsystems / stservers.json
Created October 11, 2025 07:35
servers.json config for librespeedtest
[
{
"id": 1,
"name": "TiMoiD",
"server": "http://speedtest.timoid.org/",
"dlURL": "garbage.php",
"ulURL": "empty.php",
"pingURL": "empty.php",
"getIpURL": "getIP.php"
},
@ctixsystems
ctixsystems / sshkey.sh
Created March 21, 2023 06:27
Grab Ssh key from github and add to authorized_keys
#!/usr/bin/env bash
# Explicit "allow" list in case Github users overlap with system users
ALLOWED_USERS="ctixsystems"
KEY_URL="https://github.com/${1}.keys"
KEY_FILE=$(eval echo /root/.ssh/authorized_keys2)
if [[ -z $1 ]]; then
>&2 echo "Username required."
exit 1
@ctixsystems
ctixsystems / get_site.sh
Last active November 21, 2021 06:52
Scrape twitter for latest Gootlader malicious zip / js distribution sites
sudo pip3 install git+https://github.com/JustAnotherArchivist/snscrape.git
snscrape --jsonl --progress --max-results 100 --since 2021-11-21 twitter-search "from:gootloadersites" | jq .content | grep ^\"Current | awk '{print $8}' | tr -d '"' | sort -u
# Example output
# hxxps://firstchessset.com/news.php
# hxxps://gabycampo.com.ar/news.php
#
# get_sites.sh
#