Skip to content

Instantly share code, notes, and snippets.

ariankordi /
Last active Dec 13, 2020
thi this mitmproxy script kinda make me go thonking
# mitmproxy ctx for logging and http for making responses
from mitmproxy import http, ctx
# status code constants
from import status_codes
# http requests are made for getting and sending back user config
import urllib.request, urllib.parse
# used for making cookie expire date
ariankordi /
Last active Dec 13, 2020
mitmproxy script for cheating on my tests LMAOOOOO
from mitmproxy import ctx
from notifypy import Notify
import json
# represents items but only with answers, populated in response method
current_assessment_items = []
# temporary
# should only need to depend on: any shell (hopefully), curl, sed, date, expr
# shamelessly stolen from here n modified
relative() {
local last_unix=$(date -u --date="$1" +%s) # convert date to unix timestamp
local now_unix=$(date +'%s')
ariankordi / grouppe.php
Last active Jun 7, 2020
simple php script for a discord application that adds a user to an already existing bot group via oauth2, resolves a code (((made this two days ago))
View grouppe.php
//ini_set('display_errors', true);
define('CLIENT_ID', '');
define('CLIENT_SECRET', '');
// token for a bot, needs to be prefixed with Bot
define('TOKEN', '');
// group channel that you have already created, lol,
define('CHANNEL_ID', '');
ariankordi / cronch.patch
Last active Sep 11, 2020
insanele stupid hack that i spent hours on that lets you watch crunchyroll on cytube, worked on calzoneman/sync commit 88365612dab2351b297c895952fa98b105894b4d
View cronch.patch
diff --git a/index.js b/index.js
old mode 100755
new mode 100644
diff --git a/package.json b/package.json
index a003e77..caee25a 100644
--- a/package.json
+++ b/package.json
@@ -13,17 +13,19 @@
"bcrypt": "^3.0.6",
"bluebird": "^3.5.1",
ariankordi / README.txt
Last active Dec 25, 2020
my stupid hack for using nooklink for animal crossing: new horizons on pc involving mitmproxy which i have had to repost sorry
View README.txt
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 "" file and its functions is copied and modified from splatnet2statink, retrieved from 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 or mitmproxy with, 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 execute, (without the x), follow the instructions, and then the value it gives you needs to be placed into the "codee" variable in starts mitmproxy.
ariankordi / olvclient.php
Created Dec 26, 2019
olvclient. this is stupid and dumb. i've had this on my github profile for 2 years and i've always been ashamed of this. it's literally useless by now and it's served little purpose being on my github page being that it's not a fully featured thicc project and stuff. i know i have like unfinished projects and stuf but they're stuff and they're l…
View olvclient.php
OlvClient by Arian Kordi
Licensed under GNU AGPLv3:
class OlvClient {
ariankordi / cronch.css
Last active May 1, 2020
please don't use this because it doesn't handle a lot of cases, my F*CK do not even think about incorporating this into your creation
View cronch.css
html, textarea {
background-color: #3d3d3d;
color: white;
font-family: sans-serif;
textarea {
border-color: darkgray;
font-family: monospace;
display: block;
height: 100px;
View cheapvps-comparison.php
//ini_set('display_errors', 1);
$db = new SQLite3('cheapvps-comparison.db');
CREATE TABLE "offers" (
"url" text NOT NULL,
"post_type" integer NOT NULL,
ariankordi / sh-cgi-term.cgi
Last active Feb 6, 2019
A super simple command line in shell CGI, this is useful for executing commands on a cPanel/Apache shared hosting account LOL
View sh-cgi-term.cgi
if [ $REQUEST_METHOD = "POST" ]; then
$(cat) 2>&1
printf "Content-type: text/html\n\n"