Skip to content

Instantly share code, notes, and snippets.

View cybersholt's full-sized avatar
🏠
Working from home

Sean cybersholt

🏠
Working from home
View GitHub Profile
@entelecheia
entelecheia / install-cloudlflared.md
Last active January 20, 2024 15:11
Cloudlflare daemon

Install Cloudflared

#!/bin/bash
# =============================================================================
# Install Cloudlflare daemon (cloudflared) on Linux (Ubuntu) - DNS-over-HTTPS
# https://developers.cloudflare.com/1.1.1.1/dns-over-https/cloudflared-proxy/
# https://developers.cloudflare.com/argo-tunnel/downloads
# -----------------------------------------------------------------------------
# Developer.......: Andre Essing (https://www.andre-essing.de/)
@heywin
heywin / warp.sh
Created April 4, 2023 17:44
Cloudflare WARP 一键安装脚本
#!/usr/bin/env bash
#
# https://github.com/P3TERX/warp.sh
# Description: Cloudflare WARP Installer
# System Required: Debian, Ubuntu, Fedora, CentOS, Oracle Linux, Arch Linux
# Version: beta39
#
# MIT License
#
# Copyright (c) 2021-2022 P3TERX <https://p3terx.com>
@cywf
cywf / honeypots.md
Created March 25, 2023 20:17
Loaded list of honeypot enviornment tools, docs, and more

Awesome Honeypots Awesome Honeypots

A curated list of awesome honeypots, plus related components and much more, divided into categories such as Web, services, and others, with a focus on free and open source projects.

There is no pre-established order of items in each category, the order is for contribution. If you want to contribute, please read the guide.

Discover more awesome lists at sindresorhus/awesome.

Contents

Tested Nov 23 2022

Survey of algorithms authenticator apps support

app sha1-6 sha256-6 sha512-6 sha1-8 sha256-8 sha512-8 notes
[google (android)] ✔️
[google (apple)] ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
[microsoft (android)] ✔️
[microsoft (apple)] ✔️
[authy (android)] ✔️ ✔️
@alkampfergit
alkampfergit / WingetUpgrade.ps1
Last active April 2, 2024 19:02
Upgrade with Winget being able to select list of software to skip
class Software {
[string]$Name
[string]$Id
[string]$Version
[string]$AvailableVersion
}
$upgradeResult = winget upgrade | Out-String
$lines = $upgradeResult.Split([Environment]::NewLine)
@cdeck3r
cdeck3r / HoneyPiZeroW.md
Last active January 13, 2024 09:27
Setup of low interaction honeypot on a Raspberry Pi Zero W
@jjmartres
jjmartres / how-to-reduce-size-of-docker-data-volume-in-docker-desktop-for-windows-v2.md
Last active February 20, 2024 04:33
How to reduce size of docker data volume in Docker Desktop for Windows v2

How to reduce size of docker data volume in Docker Desktop for Windows v2

Docker Desktop for Windows v2, which uses WSL2, stores all image and container files in a separate virtual volume (vhdx). This virtual hard disk file can automatically grow when it needs more space (to a certain limit). Unfortunately, if you reclaim some space, i.e. by removing unused images, vhdx doesn't shrink automatically.

Optimize

wsl --shutdown
Optimize-VHD -Path "$($env:LOCALAPPDATA)\Docker\wsl\data\ext4.vhdx" -Mode Full
@lucagrandicelli
lucagrandicelli / wsl2-memory-cap-docker-settings
Last active October 19, 2023 14:51
WSL Memory Cap - Limit CPU/Memory When using Docker
# turn off all wsl instances such as docker-desktop
wsl --shutdownnotepad "$env:USERPROFILE/.wslconfig"
[wsl2]
memory=3GB # Limits VM memory in WSL 2 up to 3GB
processors=4 # Makes the WSL 2 VM use two virtual processors
#credits: https://itnext.io/wsl2-tips-limit-cpu-memory-when-using-docker-c022535faf6f
@kiwi-cam
kiwi-cam / personFinder.sh
Last active November 16, 2023 22:24
Using WyzeCam Hacks (https://github.com/HclX/WyzeHacks) with Azure Vision API and rclone for Uploads
#!/bin/bash
####### Configuration #####
# Azure Setup: https://docs.microsoft.com/en-us/azure/cognitive-services/cognitive-services-apis-create-account?tabs=multiservice%2Cwindows
AzureSubscriptionKey=""
AzureEndpoint=""
# IFTTT Setup: https://ifttt.com/maker_webhooks
IFTTTKey=""
IFTTTEventName=""
@isaumya
isaumya / remove-woocommerce-bloat-marketing-hub.md
Last active April 10, 2024 12:45
Easily Remove WooCommerce Bloated Features like Marketing Hub from WordPress Admin Menu

Remove WooCommerce Bloated Features from WP Admin Menu

Recently WooCommerce has added a lot of improvements to the plugin which we really appriciate but at the same time a lot of bloated features has alos been added to the plugin like Marketing Hub, a completely useless menu taking extra space among the other important menu items. Now if you find Marketing Hub to be useful, you can keep it.

But just in case you are looking for a way to remove these features that you no longer need from your WordPress Admin menus, take a look at the following code snippets. Please note: though I will show you how you can remove the Marketing Hub from your WP Admin menu list completely and make sure WooCommerce doesn't execute codes for that feature you don't need, you can do the same for other WooCommerce features as well like Analytics.

How to remove Marketing Hub for WooCommerce <= v4.2

If you are using WooCommerce <= v4.2, you can simple add this one line of code in your theme's functions.php f