Skip to content

Instantly share code, notes, and snippets.

View Calyhre's full-sized avatar
📝
Leading development on @sliteteam's editor

Charley DAVID Calyhre

📝
Leading development on @sliteteam's editor
View GitHub Profile
@Calyhre
Calyhre / poc.mjs
Created June 1, 2026 16:29
POC RCE Plausible >= 3.0.0-rc.0 and < 3.2.1
#!/usr/bin/env node
//
// CVE-2026-8467 — Unauthenticated Remote Code Execution in Plausible Community Edition
// ====================================================================================
//
// Proof of concept. The `/storybook` endpoint shipped by Plausible Community Edition lets an
// unauthenticated attacker execute arbitrary code on the server, as the user running the app.
//
// References:
// - CVE-2026-8467
@Calyhre
Calyhre / Instructions.txt
Created April 15, 2020 16:19
Autonomous.ai Smart Desk 2 – Change display unit
Change centimeters to inches. Instruction as below:
- Press and hold 1, 2 & M buttons at the same time until it flashes "C-E"
- Press 2 & 3 at the same time if you want to change to inches - it will flash E
- Press 1 if you want to centimeters - it will flash C
@Calyhre
Calyhre / vscode-experiments.json
Created October 12, 2018 20:39
Microsoft Visual Studio Code "Experiments" 👀
{
"experiments": [
{
"id": "cdias.v2",
"enabled": true,
"condition": {
"displayLanguage": "en",
"installedExtensions": {
"excludes": [
"ms-azuretools.vscode-azureappservice"
@Calyhre
Calyhre / delete_old_slack_files.js
Last active August 13, 2018 16:53
Delete all Slack files older than 30 days, for a specific user
const https = require('https');
// Get your token here https://api.slack.com/custom-integrations/legacy-tokens
const TOKEN = '';
// Find your user ID here https://api.slack.com/methods/auth.test/test
const USER_ID = '';
const delay = 300; // delay between delete operations in millisecond
const baseApiUrl = 'https://slack.com/api/';
const fileListApiUrl = baseApiUrl + 'files.list?token=' + TOKEN + '&count=1000';