Skip to content

Instantly share code, notes, and snippets.

Avatar
💙
Pawgers

Folf fuwwy

💙
Pawgers
View GitHub Profile
@fuwwy
fuwwy / cracker.py
Created Aug 5, 2022
StudSec CTF Token Challenge Cracker
View cracker.py
import logging # Have to use logging to print inside signals
import time
import fcntl
import os
import signal
from randcrack import RandCrack
import sys
dirname = "/tmp/"
filename = "py-log1376543.txt"
@fuwwy
fuwwy / steamMarket.js
Last active Aug 21, 2021
Calculate steam market fees
View steamMarket.js
// Steam market fee calculator:tm:
// The price you're selling at, in cents
var sellPrice = 100
// Handy toggles
var inMarketPage = !!g_rgWalletInfo;
var hasItemSelectred = !!g_ActiveInventory.selectedItem.description.market_fee;
// Steam values, may vary per region or game, defaults at the end.
View GuiAction.java
package me.checkium.openskywars.utils;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.inventory.InventoryClickEvent;
import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.ItemStack;
View FancyBiscordStatus.java
package me.checkium.bgservices.discord.rpc;
import club.minnced.discord.rpc.DiscordEventHandlers;
import club.minnced.discord.rpc.DiscordRPC;
import club.minnced.discord.rpc.DiscordRichPresence;
import com.sun.jna.Native;
import com.sun.jna.platform.win32.*;
import com.sun.jna.ptr.IntByReference;
import java.io.File;
@fuwwy
fuwwy / test.java
Created Jan 5, 2018
vHack password encryption
View test.java
String json = "{\"\":\"\",\"pass\":\"cu\",\"time\":\"1515180217\",\"userName\":\"2643311\",\"user\":\"a\"}";
// 1: MD5 encrypt the data json length and a md5 encryption of the current time in millis
String lenghtandtime = md5Encrypt(json.length() + md5Encrypt(System.currentTimeMillis() + ""));
// 2: Create a login details string, with the username added to a double md5 encryption of the password
String logindetails = "USERNAME" + "" + md5Encrypt(md5Encrypt("PASSWORD"));
// 3: Re-set the json as a md5 encryption of the current time in millis and itself
json = md5Encrypt(System.currentTimeMillis() + "" + json);
@fuwwy
fuwwy / idk.java
Created Nov 30, 2017
Discord spotify bridge
View idk.java
package ga.olympiccode.vhack.api;
import net.arikia.dev.drpc.*;
import net.arikia.dev.drpc.callbacks.*;
import okhttp3.*;
import org.json.JSONObject;
import javax.imageio.ImageIO;
import javax.swing.*;
import java.awt.*;
View keybase.md

Keybase proof

I hereby claim:

  • I am checkium on github.
  • I am checkium (https://keybase.io/checkium) on keybase.
  • I have a public key ASC-EMVSrNBB9rDVHWRTUQrsf7imwsdy05p7GMcsI8AhhQo

To claim this, I am signing this object: