Skip to content

Instantly share code, notes, and snippets.

View FedorChervyakov's full-sized avatar

Fedor Chervyakov FedorChervyakov

View GitHub Profile
@ThemeHackers
ThemeHackers / gistcve-2025-55182.md
Created December 18, 2025 11:07
Next.js RSC Remote Code Execution (RCE) Scanner & PoC

CVE-2025-55182: Next.js RSC Remote Code Execution (RCE) Scanner & PoC

CVE-2025-55182 is a critical vulnerability in Next.js React Server Components (RSC) that allows attackers to perform Remote Code Execution (RCE) through insecure handling of Server Actions.

This Gist includes:

  1. Vulnerability details and an example of vulnerable code.
  2. A Python script for scanning and proof-of-concept exploitation (Scanner/Exploit).

@so1tsuda
so1tsuda / bybit_get_historical_kline.py
Last active November 9, 2024 09:02
Bybit get historical OHLCV data
# this code is based on get_historical_data() from python-binance module
# https://github.com/sammchardy/python-binance
# it also requires pybybit.py available from this page
# https://note.mu/mtkn1/n/n9ef3460e4085
# (where pandas & websocket-client are needed)
import time
import dateparser
import pytz
import json
@robodhruv
robodhruv / modelsim_installation.md
Last active November 30, 2025 23:33
Installing ModelSim on Ubuntu

ModelSim Installation issues

Ubuntu 14.xx and above

Ignore this if you have not encountered any issue with the installation and running of ModelSim and Quartus on your system. You are very lucky. (Just Kidding! You have surely had this issue, only sorted.)

Hence assuming you have been following the procedure given in this guide. Most certainly, Quartus will install jsut fine, and so will ModelSim. The issue is in launching due to inappropriate linking etc.

Stage 1

This is the simplest error you would encounter. Navigate to the modelsim_ase folder and run:

Raspberry Pi VPN Router

This is a quick-and-dirty guide to setting up a Raspberry Pi as a "router on a stick" to ExpressVPN.

This is adapted from SuperJamie's gist.

Requirements

I used a Raspberry Pi 3 - seems like the extra speed may be useful for running VPN.

@canton7
canton7 / 0main.md
Last active March 3, 2026 06:20
Local versions of tracked config files

How to have local versions of tracked config files in git

This is a fairly common question, and there isn't a One True Answer.

These are the most common techniques:

If you can modify your application