This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>arian.splatnet-kindle</string> | |
<key>Program</key> | |
<string>/opt/homebrew/bin/python3</string> | |
<key>ProgramArguments</key> | |
<array> |
This file contains 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/sh | |
# udid of device that is already paired and wifi enabled on | |
udid="" | |
# todo replace with reverse lookup of the mac address??? but it wouldn't be | |
# the wifi mac address we know it would have to be the anonymized one | |
# ip neighbor | grep 02:21:21:21:21:21 | awk '{split($0, a, " dev"); printf a[1]}' | |
ip="192.168.2.21" | |
# 24 hours |
This file contains 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 os, time, subprocess | |
import discord | |
from discord.ext.commands import Bot | |
main = Bot(command_prefix=("did you get me my CHEEZ WHIZ bo")) | |
discord.opus.load_opus('/usr/local/Cellar/opus/1.2.1/lib/libopus.dylib') | |
@main.event | |
async def on_voice_state_update(b, a): | |
if not a.voice.voice_channel: |
This file contains 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
from selenium import webdriver | |
# import the service so a custom executable path can be specified | |
from selenium.webdriver.chrome.service import Service | |
from shutil import which | |
from selenium.webdriver.common.by import By | |
from selenium.webdriver.support.ui import WebDriverWait | |
from selenium.webdriver.support import expected_conditions as EC | |
import selenium.common.exceptions |
This file contains 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
in order to make the scripts happy, there is supposed to be a folder here called "app" | |
it is actually just from the nxapi electron app, it SHOULD be just resources/app | |
after that, you DO need to authenticate to nxapi - do something like this: node app/dist/bundle/cli-bundle.js nso auth | |
MORE GENERAL EXPLANATION: | |
this is a reverse proxy that's meant to help me access splatnet 3 in my browser, leveraging other tools to do so | |
bruh.js, bruhx.py, and bruh.sh are more or less carried over from a previous hack for nooklink that actually just used a hacked up iksm from splatnet2statink: https://gist.github.com/ariankordi/016ac1d24eb45f13efb9e8660b6d62b2 | |
this calls out to nxapi, which, you would need to download the app folder for AND authenticate to. | |
the proxy is meant to be used via a systemd socket spawning it and then later killing it, this ensures it literally only runs when it needs to. then, you can use a browser extension to selectively proxy that nintendo site over and voila, it SHOULD load correctly. it SHOU |
This file contains 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
server.modules = ( | |
"mod_proxy", | |
"mod_cgi", | |
"mod_rewrite", | |
#"mod_setenv", | |
#"mod_openssl" | |
) | |
#ssl.engine = "enable" | |
#ssl.pemfile = "cronch.pem" |
This file contains 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
<?php | |
// This works best on Apache, and if you have enable_post_data_reading off. | |
// Set "php_flag enable_post_data_reading off" in your htaccess. It'll avoid having to parse multipart forms. | |
// enter the sock to connect to here | |
const SOCK_TO_CONNECT_TO = './run.sock'; | |
// Close the session right now, because it might make everything faster, and we don't know how long the response will last for. | |
session_write_close(); |
This file contains 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
hi. this app is a reverse proxy, meaning that when it launches, it runs a server that connects to the official server, like a proxy (except that it only supports one site) and it modifies some requests and responses along the way. | |
now here is a terrible guide | |
first: the "iksm.py" file and its functions is copied and modified from splatnet2statink, retrieved from https://github.com/frozenpandaman/splatnet2statink at least at commit a971a21fafdbd026aa8b44d7514119d3ff6073a2. this information should be added in the file itself but it's worth mentioning here | |
when running any of these files like bruh.py or mitmproxy with bruhx.py, if you see that there's a module missing, just install it (notably requests and hashlib is required) | |
the main magic script which is the mitmproxy addon and gets tokens from splatnet2statink functions is bruhx.py. execute bruh.py, (without the x), follow the instructions, and then the value it gives you needs to be placed into the "codee" variable in bruhx.py. | |
bruh.sh starts mitmproxy. |
This file contains 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
<?php | |
// target dns server to connect to | |
define('DNS_TARGET_ADDRESS', 'udp://1.1.1.1:53'); | |
// dns will usually be either a get param, a post param, or both (hence request) | |
if(!isset($_REQUEST['dns'])) { | |
// show an error | |
http_response_code(400); | |
header('Content-Type: text/plain; charset=UTF-8'); |
This file contains 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
package main | |
import ( | |
"github.com/valyala/fasthttp" | |
"github.com/gen2brain/beeep" | |
"encoding/json" | |
"encoding/base64" | |
// to create a reader for the base64 image | |
"strings" |
NewerOlder