If you want to add a basic auth to haproxy (on pfsense)
Global Advanced pass thru
userlist AuthRealmName
user username password ENCRYPTED_PASSWORD_HERE
{ | |
"colors": { | |
// An extra border around active elements to separate them from others for greater contrast. | |
"contrastActiveBorder": "", | |
// An extra border around elements to separate them from others for greater contrast. | |
"contrastBorder": "", | |
//Overall border color for focused elements. This color is only used if not overridden by a component. | |
"focusBorder": "", | |
//Overall foreground color. This color is only used if not overridden by a component. |
The following steps are meant either to complement the wonderful book titled "The IoT Hacker’s Handbook A Practical Guide to Hacking the Internet of Things" by Aditya Gupta or to act as a generic aid in firmware exploiting and pentesting for Win10 users. | |
1. Clone akx's branch of binwalk: | |
git clone -b packaging-fixes https://github.com/akx/binwalk.git | |
2. Change to this newly-created directory and install the module: | |
cd C:\Path\to\binwalk | |
pip3 install . | |
3. Download squashfs for Windows: |
Note: I have moved this list to a proper repository. I'll leave this gist up, but it won't be updated. To submit an idea, open a PR on the repo.
Note that I have not tried all of these personally, and cannot and do not vouch for all of the tools listed here. In most cases, the descriptions here are copied directly from their code repos. Some may have been abandoned. Investigate before installing/using.
The ones I use regularly include: bat, dust, fd, fend, hyperfine, miniserve, ripgrep, just, cargo-audit and cargo-wipe.
class Software { | |
[string]$Name | |
[string]$Id | |
[string]$Version | |
[string]$AvailableVersion | |
} | |
$upgradeResult = winget upgrade | Out-String | |
$lines = $upgradeResult.Split([Environment]::NewLine) |
The target audience for this is people who are beginners at software engineering and using linux. A lot of the information here may be obvious or already known to you. The language involved is C but you do not need to know any C to read this tutorial. I used mg
to write this blog post. I used vs code to edit the source code.
This post is also available on gopher://tilde.team:70/0/~river/tweak-free-software
If you use a piece of free software and it's 99% perfect but there's just this one thing it does that annoys the hell out of you.. you can in theory just fix it! Here's a look at what doing that is like. Hopefully it inspires you, or you pick up a could tricks on the way!
// Rewrote "create_tweet.js" using axios, instead of got. | |
// https://github.com/twitterdev/Twitter-API-v2-sample-code/blob/main/Manage-Tweets/create_tweet.js | |
// License: Apache 2.0 | |
// Worked under the below environment | |
// node v16.4.0 | |
// "axios": "^0.26.0", | |
// "crypto": "^1.0.1", | |
// "oauth-1.0a": "^2.2.6", | |
// "querystring": "^0.2.1", | |
// "readline": "^1.3.0" |
#ifndef PATCHLESS_AMSI_H | |
#define PATCHLESS_AMSI_H | |
#include <windows.h> | |
static const int AMSI_RESULT_CLEAN = 0; | |
PVOID g_amsiScanBufferPtr = nullptr; | |
unsigned long long setBits(unsigned long long dw, int lowBit, int bits, unsigned long long newValue) { |