Skip to content

Instantly share code, notes, and snippets.

View ALiwoto's full-sized avatar
🚩
Trying to experience new things

ALi.w ALiwoto

🚩
Trying to experience new things
  • Earth. under the blue sky
  • 16:55 (UTC +03:30)
View GitHub Profile
@ALiwoto
ALiwoto / CWE-424.go
Created May 30, 2025 06:30
An example of CWE-424.
package main
import (
"encoding/json"
"fmt"
"log"
"net/http"
"strings"
)
@ALiwoto
ALiwoto / CVE-2025-48827.md
Last active May 30, 2025 06:24
CVE-2025-48827: vBulletin (replaceAdTemplate) Remote Code Execution Vulnerability. EDUCATIONAL PURPOSE ONLY.

CVE-2025-48827

vBulletin (replaceAdTemplate) Remote Code Execution Vulnerability.

EDUCATIONAL PURPOSE ONLY.

Taken from here

The original code was written in PHP, had to use Gemini 2.2 to convert it to PowerShell. Please check for any errors.

@ALiwoto
ALiwoto / pixiv_login.py
Created December 25, 2023 20:19
Pixiv login refresh token and access token
#!/usr/bin/env python
from argparse import ArgumentParser
from base64 import urlsafe_b64encode
from hashlib import sha256
from pprint import pprint
from secrets import token_urlsafe
from sys import exit
from urllib.parse import urlencode
from webbrowser import open as open_url
@ALiwoto
ALiwoto / Dotnet4.5.2.txt
Created January 9, 2023 10:39
Microsoft .net 4.5.2 dev pack
https://drive.google.com/file/d/1o4yu3-FKQSXujbt9xDK15rwXMNjUn0xX/view?usp=drivesdk
@ALiwoto
ALiwoto / AddContextMenu.reg
Last active December 11, 2022 06:22
Adding/removing cmd to context menu of win10
Windows Registry Editor Version 5.00
; Command Prompt
[HKEY_CLASSES_ROOT\Directory\shell\01MenuCmd]
"MUIVerb"="Command Prompts"
"Icon"="cmd.exe"
"ExtendedSubCommandsKey"="Directory\\ContextMenus\\MenuCmd"
[HKEY_CLASSES_ROOT\Directory\background\shell\01MenuCmd]
@ALiwoto
ALiwoto / QueraQuestion17675.cs
Created December 2, 2022 13:15
QueraQuestion17675
using System;
namespace CW1
{
public class QueraQuestion17675
{
static int previousFib = 0;
static int lastFib = 1;
public static void Main(string[] args)
{
@ALiwoto
ALiwoto / combinations01.py
Last active October 26, 2022 06:30
Combinations of n numbers
res = []
n = 3
def solve(size, ans):
global res, n
if size == 1 :
for i in range(1, n + 1):
res.append(ans + str(i))
else:
@ALiwoto
ALiwoto / combinations.py
Created October 19, 2022 18:32
itertools.combinations example code
import typing
import itertools
MAX_POSITION = 6
MIN_NUM = 1
MAX_NUM = 12
temp_selected_nums: typing.List[int] = []
def is_multiple(a, b):
@ALiwoto
ALiwoto / detailed-drop-down-select.html
Last active July 1, 2022 06:35
parsing detailed-drop-down-select
<select aria-label="Instance" class="detailed-dropdown select" name="size">
<option value="a0">A0: 1 Cores, 0.75 GB RAM, 20 GB Temporary storage, $0.020/hour</option>
<option value="a1">A1: 1 Cores, 1.75 GB RAM, 70 GB Temporary storage, $0.090/hour</option>
<option value="a2">A2: 2 Cores, 3.5 GB RAM, 135 GB Temporary storage, $0.180/hour</option>
</select>
@ALiwoto
ALiwoto / my_particles2d_01.gd
Last active June 19, 2022 02:04
A few examples of creating particles2D in godot using only gdscript
class_name MyParticles2D01
extends Particles2D
# Declare member variables here. Examples:
# var a = 2
# var b = "text"
# Called when the node enters the scene tree for the first time.