Skip to content

Instantly share code, notes, and snippets.

awesome-homelab

Dell

iDRAC

  • Set iDrac settings using System Boot Menu
    • Set Static IP: F2 > iDrac settings > Network
    • Set Username / Password: F2 > iDrac settings > Access
  • Flash iDRAC7_LocalLicense_Installation_Tool_A00_1.0.iso using dd to USB
  • 30 day evaluation license and enabled dedicated iDrac NIC
@lambdaknight
lambdaknight / kill_sponsored_facebook.user.js
Created December 28, 2020 14:29
Remove Sponsored Facebook Elements
// ==UserScript==
// @name Remove Sponsored Facebook Elements
// @description Remove sponsored items from feed.
// @author Turing Eret
// @namespace us.lambdacalcul
// @version 0.1
// @copyright Copyright © 2020 Turing Eret
// @license MIT
// @match https://*.facebook.com/*
// @grant none
@Mordo95
Mordo95 / userscript.js
Last active February 20, 2024 23:39
Tampermonkey script to add a download button to facebook, reddit and youtube videos
// ==UserScript==
// @name Video Downloader for Tampermonkey
// @version 0.4
// @description Will add a download button to Reddit, Facebook and Youtube videos
// @author Github/Mordo95
// @match *://*/*
// @grant GM_xmlhttpRequest
// @run-at document-start
// ==/UserScript==
@w00tc
w00tc / 1) Active Directory One Liners
Last active June 22, 2024 08:46
Some Pentesting Notes
Retrieves all of the trust relationships for this domain - Does not Grab Forest Trusts
([System.DirectoryServices.ActiveDirectory.Domain]::GetCurrentDomain()).GetAllTrustRelationships()
Grab Forest Trusts.
([System.DirectoryServices.ActiveDirectory.Forest]::GetCurrentForest()).GetAllTrustRelationships()
@geerlingguy
geerlingguy / pi-cpu-stress.sh
Last active June 12, 2024 21:51
Raspberry Pi CPU temperature and throttling test script
#!/bin/bash
# Raspberry Pi stress CPU temperature measurement script.
#
# Download this script (e.g. with wget) and give it execute permissions (chmod +x).
# Then run it with ./pi-cpu-stress.sh
#
# NOTE: In recent years, I've switched to using s-tui. See:
# https://github.com/amanusk/s-tui?tab=readme-ov-file#options
# Variables.
@pryorda
pryorda / github_bugbountyhunting.md
Created August 7, 2019 05:46 — forked from EdOverflow/github_bugbountyhunting.md
My tips for finding security issues in GitHub projects.

GitHub for Bug Bounty Hunters

GitHub repositories can disclose all sorts of potentially valuable information for bug bounty hunters. The targets do not always have to be open source for there to be issues. Organization members and their open source projects can sometimes accidentally expose information that could be used against the target company. in this article I will give you a brief overview that should help you get started targeting GitHub repositories for vulnerabilities and for general recon.

Mass Cloning

You can just do your research on github.com, but I would suggest cloning all the target's repositories so that you can run your tests locally. I would highly recommend @mazen160's GitHubCloner. Just run the script and you should be good to go.

$ python githubcloner.py --org organization -o /tmp/output
@mohanpedala
mohanpedala / bash_strict_mode.md
Last active June 24, 2024 12:56
set -e, -u, -o, -x pipefail explanation
@markofu
markofu / Security_Tools_for_AWS.MD
Last active October 2, 2023 15:30
Security Tools for AWS

Security Tools for AWS

I often get asked which tools are good to use for securing your AWS infrastructure so I figured I'd write a short listof some useful Security Tools for the AWS Cloud Infrastructure.

This list is not intended be something completely exhaustive, more so provide a good launching pad for someone as they dig into AWS and want to make it secure from the start.

Open Source

This section focuses on tools and services provided by the community and released as open-source.

@pryorda
pryorda / GetADPass
Last active December 17, 2019 22:42
Creating KeyBoard Shortcuts that work on MAC
on getFrontAppPath()
set frontAppPath to (path to frontmost application) as text
set myPath to (path to me) as text
if frontAppPath is myPath then
try
tell application "Finder" to set bundleID to id of file myPath
tell application "System Events" to set visible of (first process whose bundle identifier is bundleID) to false
-- we need to delay because it takes time for the process to hide
@hkamran80
hkamran80 / SmartTV2.txt
Last active June 14, 2024 21:34
Pi-hole Blocklist for Smart TVs
# THIS FILE IS NO LONGER BEING MAINTAINED. FOR A MAINTAINED VERSION, PLEASE USE THE VERSION IN THE NEW REPOSITORY.
# Repository: https://github.com/hkamran80/blocklists
# New link for this file: https://raw.githubusercontent.com/hkamran80/blocklists/main/smart-tv
# ------
# This is a blocklist to block Smart TVs sending data home.
# Please help to collect domains!
# It could be that the TV does not receive any more updates or other services no longer work. Please report such an incident.