Skip to content

Instantly share code, notes, and snippets.

@JaxonVex
JaxonVex / wp_install.ps1
Last active March 29, 2024 05:45
[Установка wordpress v0.5] быстрая установка wordpress через wp-cli с настройками #tags: wordpress, wp-cli, ph1
#------------ Данные сайта ------------
$dbname = "test" #Имя базы данных
$dbuser = "root" #Пользователь базы данных
$table_prefix = "wp_" #Префикс таблиц
$url = "test.loc" #url сайта
$title = "test website" #Тайтл сайта
$admin_user = "admin" #Логин админа
$admin_password = "1234567" #Пароль админа
$admin_email="mail@example.ru" #Email админа
@gboudreau
gboudreau / AuthyToOtherAuthenticator.md
Last active March 29, 2024 05:42 — forked from Ingramz/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy
@ryhanson
ryhanson / ExcelXLL.md
Last active March 29, 2024 05:27
Execute a DLL via .xll files and the Excel.Application object's RegisterXLL() method

DLL Execution via Excel.Application RegisterXLL() method

A DLL can be loaded and executed via Excel by initializing the Excel.Application COM object and passing a DLL to the RegisterXLL method. The DLL path does not need to be local, it can also be a UNC path that points to a remote WebDAV server.

When delivering via WebDAV, it should be noted that the DLL is still written to disk but the dropped file is not the one loaded in to the process. This is the case for any file downloaded via WebDAV, and they are stored at: C:\Windows\ServiceProfiles\LocalService\AppData\Local\Temp\TfsStore\Tfs_DAV\.

The RegisterXLL function expects an XLL add-in which is essentially a specially crafted DLL with specific exports. More info on XLL's can be found on MSDN

The XLL can also be executed by double-clicking the .xll file, however there is a security warning. @rxwx has more notes on this here inc

@KeloCube
KeloCube / MFTTest.cpp
Last active March 29, 2024 05:27
Hardware H.264 encoding using Media Foundation Transforms
// MIT License
//
// Copyright 2018 Otto Itkonen
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
@jhorsman
jhorsman / semver-regex.md
Last active March 29, 2024 05:25
Semantic versioning regex
@movd
movd / emails_from_ubuntu.md
Created June 6, 2019 11:02
Set up msmtp to send emails emails from Ubuntu/Debian Servers

Setting up email with SMTP on Ubuntu/Debian Servers

I used to sift trough my shell history and bookmarks every time I set up a new testing server in order to be able to send mails. So this should help...

Be aware don't use ssmtp anymore. It's unmaintained and has been removed from Debian and Ubuntu will most definitely follow suit.

Install msmtp

@qoomon
qoomon / conventional_commit_messages.md
Last active March 29, 2024 05:19
Conventional Commit Messages

Conventional Commit Messages

See how a minor change to your commit message style can make a difference.

ℹ️ git-conventional-commits A CLI util to ensure this conventions and generate changelogs

Commit Message Formats

Default

@Lucas-mother3
Lucas-mother3 / The System 0.97 Dilemma.md
Last active March 29, 2024 05:08
A detailed documentation for available copies of Macintosh System Software 1.0 (0.97) online

The System 0.97 Dilemma

A side project detailing available disk dumps of Macintosh System Software 0.97, Finder 1.0.

Overview tl;dr: I would find a clean disk dump or a near perfect replica of the original System Disk.

Skip to the comparison table

Overview

In January 24th, 1984, Apple Computer Corporation introduced the Macintosh 128K (originally known as just Macintosh).

"""
31-round sha256 collision.
Not my research, just a PoC script I put together with numbers plugged in from the slide at
https://twitter.com/jedisct1/status/1772647350554464448 from FSE2024
SHA256 impl follows FIPS 180-4
https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.180-4.pdf
"""