Skip to content

Instantly share code, notes, and snippets.

View OlivierLaflamme's full-sized avatar
:shipit:
؁؁؁؁؁؁؁؁؁؁؁؁؁؁🏴 403 Forbidden؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁🚩؁؁؁؁؁؁؁؁؁

Boschko OlivierLaflamme

:shipit:
؁؁؁؁؁؁؁؁؁؁؁؁؁؁🏴 403 Forbidden؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁؁🚩؁؁؁؁؁؁؁؁؁
View GitHub Profile
stuffed and unstrung
@OlivierLaflamme
OlivierLaflamme / registers.md
Created April 30, 2024 04:57
if ur here may god save your soul

$0 $zero The “zero-constant”
$1 $at Used by the assembler
$2-$3 $v0-$v1 Return values
$4-$7 $a0-$a3 Function arguments
$8-$15 $t0-$t7 Temporary registers
$16-$23 $s0-$s7 Saved registers
$24-$25 $t8-$t9 Temporary registers
$26-$27 $k0-$k1 Used by the kernel
$28 $gp Global pointer
$29 $sp Stack pointer

@OlivierLaflamme
OlivierLaflamme / validat_w_curl.sh
Last active April 10, 2024 18:08
validate domain before subfinder on scope just `cat output.txt| cut -d':' -f1 | sort | uniq`
#!/bin/bash
# Define the function to check web application for a domain
check_domain() {
domain=$1
echo "$domain"
response=$(curl -sL -w "%{http_code}\\n" "$domain" -o /dev/null)
if [ "$response" != "000" ]; then
echo "$domain: $response"
echo "$domain: $response" >> output.txt
@OlivierLaflamme
OlivierLaflamme / fuck_bdl.py
Created March 7, 2024 03:05
fuck this this waste of a god damn day
import os
import struct
# Constants
START_OF_DICT = 0x11d
PARTITION_TABLE_START = 0x929
PARTITION_NAME_OFFSET = 0x21c
DICT_RECORDS_START = 0x43d
DICT_RECORD_SIZE = 0x114
BDL_RECORD_NAME_LEN = 0x100
[13088.506133] int3: 0000 [#1] SMP
[13088.524203] last sysfs file: /sys/module/vt/parameters/default_utf8
[13088.544028] Modules linked in:
[13088.562724]
[13088.580913] Pid: 3469, comm: Xnest Not tainted (2.6.32 #19) VMware Virtual Platform
[13088.619038] EIP: 0060:[<f7d02001>] EFLAGS: 00200283 CPU: 0
[13088.638601] EIP is at 0xf7d02001
[13088.657447] EAX: 00000053 EBX: deadbeef ECX: 00000007 EDX: 000000e0
[13088.676627] ESI: bffffcf0 EDI: 00000000 EBP: f6758000 ESP: f6759fb0
[13088.696022] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
@OlivierLaflamme
OlivierLaflamme / comp_decomp.ps1
Created August 27, 2021 05:44
PowerShell compression \ decompression. I manage to get 50% decreasse on a small input stream.
Compression:
$s = @'YourInputHere"@
$ms = New-Object System.IO.MemoryStream
$cs = New-Object System.IO.Compression.GZipStream($ms, [System.IO.Compression.CompressionMode]::Compress)
$sw = New-Object System.IO.StreamWriter($cs)
$sw.Write($s)
$sw.Close();
$s = [System.Convert]::ToBase64String($ms.ToArray())
Decompression:
@OlivierLaflamme
OlivierLaflamme / VIRUS.html
Last active April 26, 2023 04:32
My first "Virus Script" be careful, once open you will loose all access to your browser or so I think im fairly new to this...
<!DOCTYPE html>
<!--
Programme Conceived BY: Olivier Laflamme
2017 About, Inc - All Rights Reserved.
-->
<html>
<head>
<title>Virus</title>
(function () {
var emps = [];
var s = new Set();
document.querySelectorAll('.actor-name').forEach( e=> {
s.add(e.innerText)
});
s.forEach(users => {
const fullname = users.split(",")[0].toLowerCase().normalize('NFD').replace(/[\u0300-\u036f]/g, "");
const names = fullname.split(" ");
const first = names[0];
echo|set /p="">nc.hex
echo|set /p="4d5a90000300000004000000ffff0000b800000000000000400000000000000000000000000000000000000000000000000000000000000000000000800000000e1fba0e00b409cd21b8014ccd21546869732070726f6772616d2063616e6e6f742062652072756e20696e20444f53206d6f64652e0d0d0a2400000000000000">>nc.hex
echo|set /p="504500004c010300b98eae340000000000000000e0000f010b010500007000000010000000d00000704c010000e000000050010000004000001000000002000004000000000000000400000000000000006001000010000000000000030000000000100000100000000010000010000000000000100000000000000000000000">>nc.hex
echo|set /p="00500100b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005550583000000000">>nc.hex
echo|set /p="00d00000001000000000000000020000000000000000000000000000800000e055505831000000000070000000e000000070000000020000000000000000000000000000400000e05550