Skip to content

Instantly share code, notes, and snippets.

View dw72's full-sized avatar

Dariusz Włodarczyk dw72

  • Krotoszyn
  • 20:59 (UTC +02:00)
View GitHub Profile
@dw72
dw72 / Megacli_cheatsheet.md
Last active April 15, 2025 11:41 — forked from mvanvuuren/Megacli_cheatsheet.md
MegaCLI cheatsheet

Inside the tarball or zip file you’ll find an RPM archive which contains the megacli and megacli64 binaries (will be installed to /opt/MegaRAID/megacli).

Please note

This emergency cheat sheet is not exhaustive, but it should be sufficient in most cases. For a complete reference either call megacli -h or refer to the manual at: LSI megacli Manual

While there are a lot of different parameters for megacli, some of them are always identical. These are described here in short.


@dw72
dw72 / teams-chat-post.sh
Created September 22, 2020 08:37 — forked from chusiang/teams-chat-post-for-workflows.sh
Post a message to Microsoft Teams with bash script.
#!/bin/sh
# =============================================================================
# Author: Chu-Siang Lai / chusiang (at) drx.tw
# Filename: teams-chat-post.sh
# Modified: 2018-03-28 15:04
# Description: Post a message to Microsoft Teams.
# Reference:
#
# - https://gist.github.com/chusiang/895f6406fbf9285c58ad0a3ace13d025
#
@dw72
dw72 / PowerView-3.0-tricks.ps1
Created June 7, 2019 09:09 — forked from HarmJ0y/PowerView-3.0-tricks.ps1
PowerView-3.0 tips and tricks
# PowerView's last major overhaul is detailed here: http://www.harmj0y.net/blog/powershell/make-powerview-great-again/
# tricks for the 'old' PowerView are at https://gist.github.com/HarmJ0y/3328d954607d71362e3c
# the most up-to-date version of PowerView will always be in the dev branch of PowerSploit:
# https://github.com/PowerShellMafia/PowerSploit/blob/dev/Recon/PowerView.ps1
# New function naming schema:
# Verbs:
# Get : retrieve full raw data sets
# Find : ‘find’ specific data entries in a data set