Skip to content

Instantly share code, notes, and snippets.

View florianamette's full-sized avatar
🎯
Focusing

Florian Amette (F4K) florianamette

🎯
Focusing
View GitHub Profile
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <sys/ptrace.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <unistd.h>
#include <sys/user.h>
#include <sys/reg.h>
@florianamette
florianamette / delete_all_docker_repo.sh
Created November 27, 2025 13:46
Delete all docker repositories from an org
USERNAME="__your_username__" PAT="__your_pat_with_delete_permission__" ORG="__your_org__"; BTOKEN=$(curl -s -X POST https://hub.docker.com/v2/auth/token -H "Content-Type: application/json" -d "{\"identifier\":\"$USERNAME\",\"secret\":\"$PAT\"}" | jq -r '.access_token'); curl -s -H "Authorization: Bearer $BTOKEN" "https://hub.docker.com/v2/repositories/$ORG/?page_size=10000" | jq -r '.results[].name' | xargs -I {} curl -s -X DELETE -H "Authorization: Bearer $BTOKEN" "https://hub.docker.com/v2/repositories/$ORG/{}/"
# Title
## Issue Description
A generic overview of the issue. I usually use the default text from OWASP as it explains the issue well. Include a more specific description of the issue identified within the application.
## Affected URL/Area
- The affected URLs or areas of the application where the issue exists.
## Risk Rating
- **Severity**: _(Choose one: Critical / High / Medium / Low / Informational)_
#include <stdio.h>
int main()
{
printf("hello world");
return 0;
}
@florianamette
florianamette / infect.c
Last active September 26, 2024 11:42
Memory infect to open bind shell on 5600 (CAP_SYS_PTRACE) Linux x64
/*
Mem Inject
Copyright (c) 2016 picoFlamingo
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,