Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View itsfolf's full-sized avatar
💜
Pawgers

Folf itsfolf

💜
Pawgers
  • Portugal
  • 07:25 (UTC +01:00)
View GitHub Profile

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:

@itsfolf
itsfolf / idk.java
Created November 30, 2017 22:52
Discord spotify bridge
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.*;
@itsfolf
itsfolf / test.java
Created January 5, 2018 19:33
vHack password encryption
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);
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;
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;
@itsfolf
itsfolf / steamMarket.js
Last active August 21, 2021 04:17
Calculate steam market fees
// 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.
@itsfolf
itsfolf / cracker.py
Created August 5, 2022 01:51
StudSec CTF Token Challenge Cracker
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"
@itsfolf
itsfolf / vnc.md
Last active August 17, 2022 21:55
How to setup VNC on Wayland (Sway) + SDDM for unattended access

How to setup VNC on Wayland (Sway) + SDDM for unattended access

1. Install both x11vnc and wayvnc

Since SDDM runs under X11 we will be running two separate vnc services, each on it's own port. x11vnc will take care of SDDM, while wayvnc will handle our desktop session. Both services are set up with SSL encryption.

While it's technically possible to run a single service with some scripting magic to switch between the two, this was by far the easiest and most reliable way.

2. Set up x11vnc

Set a password

@itsfolf
itsfolf / trackingdigi.md
Last active September 13, 2023 19:32
Tracking DIGI

Tracking DIGI

AS20879

Netblock Company IPs
176.223.0.0/18 🇷🇴 RCS & RDS SA 1,384
217.28.143.0/24 🇵🇹 Digi Portugal, Sociedade Unipessoal LDA 256

10-09-2023

Hello, friend. Hello, friend?