Skip to content

Instantly share code, notes, and snippets.

View Siss3l's full-sized avatar
🦊

Sissel Siss3l

🦊
View GitHub Profile
@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 June 1, 2025 23:37
(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   │

╞═══════════╪═════════╪═══════════════════════════════════════════╪═══════════════════════════╪══════════════════════════════════════════╪════════╪════════════╡

@adnanelhb
adnanelhb / Sam-Altman-Fireside-StationFParis.md
Last active June 17, 2023 16:45
A conversation with OpenAI's CEO Sam Altman - Hosted by Station F (Paris) - Verbatim

A conversation with OpenAI's CEO Sam Altman - Hosted by Station F (Paris) - Verbatim

Sam Altman at Station F - 26 May 2023
Sam Altman at Station F - 26 May 2023 - Image source: the author

I was privileged to attend a Fireside chat with Sam Altman, OpenAI’s CEO, on May 26 at Station F in Paris. This conversation was moderated by Roxanne Varza, the Director of Station F. For those unable to attend, I've compiled a selection of verbatim questions from the session in an easy-to-navigate format.

While Sam Altman’s European tour is covered in the press, I think it can be interesting to present the 'raw' conversations on these topics that can clearly be of public interest. Some headlines may give the impression that Altman's positions are inconsistent. But, actually listening to Altman, whether or not you agree with all his views (I don't), it is clear he’s not just spouting nonsense wherever he goes

@sudarshan-koirala
sudarshan-koirala / privateGPT_uichat.py
Created May 15, 2023 14:05
Gradio UI part of the privateGPT github repo
# Disclamer: This code is not written by me. Its taken from https://github.com/imartinez/privateGPT/pull/91.
# All credit goes to `vnk8071` as I mentioned in the video.
# As this code was still in the pull request while I was creating the video, did some modifications so that it works for me locally.
import gradio as gr
from langchain.callbacks.streaming_stdout import StreamingStdOutCallbackHandler
from langchain.chains import RetrievalQA
from langchain.embeddings import LlamaCppEmbeddings
from langchain.llms import GPT4All, LlamaCpp
from langchain.vectorstores import Chroma
@maple3142
maple3142 / solve.py
Created May 8, 2023 05:07
Cryptoverse CTF 2023 - picochip1
from sage.all import crt, lcm, reduce
from Crypto.Util.number import *
# fmt: off
pico_r = [3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283]
# fmt: on
def solve_eqs(eqs):
if len(eqs) < 2:
@rain-1
rain-1 / Prompt Injection and AutoGPT.md
Last active September 11, 2023 11:12
Prompt Injection and AutoGPT

Does prompt injection matter to AutoGPT?

Executive summary: If you use AutoGPT, you need to be aware of prompt injection. This is a serious problem that can cause your AutoGPT agent to perform unexpected and unwanted tasks. Unfortunately, there isn't a perfect solution to this problem available yet.

Prompt injection can derail agents

If you set up an AutoGPT agent to perform task A, a prompt injection could 'derail' it into performing task B instead. Task B could be anything. Even something unwanted like deleting your personal files or sending all your bitcoins to some crooks wallet.

Docker helps limit the file system access that agents have. Measures like this are extremely useful. It's important to note that the agent can still be derailed.

@RistBS
RistBS / shellcode_exec_workerfactory.c
Last active April 23, 2025 19:32
Just another shellcode execution technique :)
#include <Windows.h>
#include <stdio.h>
#define PRINTDEBUG(fmt, ...) printf(fmt "\n", ##__VA_ARGS__)
#define NT_SUCCESS(Status) ((NTSTATUS)(Status) >= 0)
#define WORKER_FACTORY_FULL_ACCESS 0xf00ff
typedef struct _UNICODE_STRING {
@alfarom256
alfarom256 / Source.cpp
Last active July 16, 2025 05:42
Thread Execution via NtCreateWorkerFactory
#include <Windows.h>
#include <winternl.h>
#include <stdio.h>
#define WORKER_FACTORY_FULL_ACCESS 0xf00ff
// https://github.com/winsiderss/systeminformer/blob/17fb2e0048f062a04394c4ccd615b611e6ffd45d/phnt/include/ntexapi.h#LL1096C1-L1115C52
typedef enum _WORKERFACTORYINFOCLASS
{
WorkerFactoryTimeout, // LARGE_INTEGER
@Orangera1n
Orangera1n / 15on16sepactivationguide.md
Last active July 2, 2025 00:16
How to activate a device on iOS 15 that was futurerestored on 16 sep

whatisthisthisthisthisthisthis?

This is a guide on how to activate ur idevice on ios 15 (maybe ios 14 idk) when its futurerestored on 16 sep.

DISCLAIMER: I am very aware people might use this to bypass icloud, but I am NOT encouraging you to bypass icloud.

ALSO: THIS IS RECOMMENDED FOR ADVANCED USERS ONLY, i am not responsable for ur device being broken (tho idk how it becomes broken via this)

also, i've only tested this on macOS, might work on linux tho if u replace darwin with linux and shit.