Skip to content

Instantly share code, notes, and snippets.

View Siss3l's full-sized avatar
🦊

Sissel Siss3l

🦊
View GitHub Profile
@Siss3l
Siss3l / chall.py.php
Last active February 11, 2025 00:34
PHP Crypto Challenge
"""<?php
function source() { // require("key.php");
echo "<pre>";
highlight_string(file_get_contents(__FILE__));
echo "</pre>";
}
function quit() {
// source();
@Siss3l
Siss3l / sidequest2023.md
Last active February 11, 2025 00:34
TryHackMe Advent of Cyber 2023 SideQuests

TryHackMe - Advent of Cyber 2023 Side Quests

In addition to the Advent of Cyber 2023 room, we have an annex Side Quest task at our disposal.

Side

Description

Four rooms need to be completed to finish the Christmas side quests challenge:

@Siss3l
Siss3l / 1223.md
Created December 15, 2023 22:01
Intigriti's December 2023 Web Challenge thanks to @meme-lord

Intigriti December Challenge

  • Category:   Web
  • Impact:       Medium
  • Solves:        13

Challenge

Description

@Siss3l
Siss3l / 1023.md
Last active February 11, 2025 00:34
Intigriti's October 2023 Web challenge thanks to @kevin-mizu

Intigriti October Challenge

  • Category:   Web
  • Impact:       Medium
  • Solves:        14

Challenge

Description

@Siss3l
Siss3l / 0923.md
Last active February 11, 2025 00:34
Intigriti's September 2023 Web challenge thanks to @sgrum0x

Intigriti September Challenge

  • Category: Web
  • Impact: Medium
  • Solves: ~40

Challenge

Description

@Siss3l
Siss3l / 0823.md
Last active February 11, 2025 00:34
Intigriti's August 2023 Web challenge thanks to @aszx87410

Intigriti August Challenge

  • Category: Web
  • Impact: Medium
  • Solves: ~10

Challenge

Description

@Siss3l
Siss3l / as2ast.json
Created August 18, 2023 17:45
Conversion of ActionScript to Abstract Syntax Tree code in JSON
This file has been truncated, but you can view the full file.
[
{
"type": "File",
"start": 0,
"end": 43328,
"loc": {
"start": {
"line": 1,
"column": 0,
"index": 0
@Siss3l
Siss3l / Dockerfile
Created August 10, 2023 11:00
Playing more or less Ankama-Games with Docker from any web browser
FROM dorowu/ubuntu-desktop-lxde-vnc:latest
WORKDIR /root/Desktop
ENV WINEPREFIX=/opt/wine WINEARCH=win32 TARGET_APPIMAGE=Setup-x86_64.AppImage APPIMAGE_EXTRACT_AND_RUN=1
EXPOSE 8080
# Have to get the launcher as Setup-x86_64.AppImage file beforehand, for strictly educational purposes.
COPY --chmod=755 ./Setup-x86_64.AppImage .
RUN ./Setup-x86_64.AppImage --appimage-extract && printf '#!/bin/sh\n/root/Desktop/squashfs-root/zaap --no-sandbox' > run.sh && chmod a+x run.sh
RUN apt update && apt upgrade -y && apt install default-jdk libfuse2 nano wine -y
# Here the commands for building/launching the container: docker build -t dockerfus -f Dockerfile . && docker run -p 8080:80 -v /dev/shm:/dev/shm dockerfus
# Then the graphical desktop-sharing system can be accessed from http://localhost:8080/ on any web browser (there may be some restrictions in place).
@Siss3l
Siss3l / m128.c
Created July 28, 2023 23:48
Converting nucleotide ASCII characters to integers
#include <stdio.h>
#include <stdint.h>
#include <immintrin.h>
int main() { // Working often on https://www.onlinegdb.com | gcc -O3 -mgfni -msse2 m128.c -o m128 && ./m128
const __m128i r = _mm_gf2p8affine_epi64_epi8(_mm_set1_epi64(*(__m64*)"AaCcGgTt"),_mm_set1_epi64((__m64)433471464134410240),0);
for (int k=0;k<8;k++) {printf("(%c: %i)","AaCcGgTt"[k],((/*int*/uint8_t*)&r)[k]);} // (A: 0)(a: 0)(C: 1)(c: 1)(G: 2)(g: 2)(T: 3)(t: 3)
return 0; // https://stackoverflow.com/q/28939652 | Illegal instruction (core dumped) | _mm512_load_epi64
}
@Siss3l
Siss3l / sha3.cpp
Last active February 11, 2025 00:35
Keccak Cryptanalysis
#include <string>
#include <vector>
#include <sstream>
#include <iostream>
#include <algorithm>
typedef unsigned char UINT8;
typedef unsigned short UINT16;
typedef unsigned int UINT32;
typedef unsigned long long UINT64;