Skip to content

Instantly share code, notes, and snippets.

@opoet7
opoet7 / Find-Orphans.ps1
Created January 9, 2022 13:07 — forked from NamedJason/Find-Orphans.ps1
Finds Orphaned VMDK Files
# Powershell script to discover VMDK files that are not referenced in any VM's VMX file.
# Warning - I've heard reports that this doesn't work on some versions of ESXi and have no had time to troubleshoot/test it.
# Also detects VMDKs from machines that need snapshot consolidation (from differentials that exist but are not part of the tree).
# Author: HJA van Bokhoven
# Modifications: LucD
function LoadSnapin{
param($PSSnapinName)
if (!(Get-PSSnapin | where {$_.Name -eq $PSSnapinName})){
Add-pssnapin -name $PSSnapinName
@opoet7
opoet7 / GoogleDorking.md
Created January 28, 2022 09:51 — forked from sundowndev/GoogleDorking.md
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"
@opoet7
opoet7 / oscap_centos8
Created February 14, 2022 09:30 — forked from dmccuk/oscap_centos8
install and configure OpenScap to work on Centos 8
### Install the required packages:
sudo yum install openscap-scanner scap-security-guide
### Can we run a report?
sudo oscap xccdf eval --profile xccdf_org.ssgproject.content_profile_ospp --report /tmp/report.html /usr/share/xml/scap/ssg/content/ssg-rhel8-ds.xml
first scan gives “notapplicable”
### Now do this…
sudo cp /usr/share/openscap/cpe/openscap-cpe-dict.xml /usr/share/openscap/cpe/openscap-cpe-dict.xml.dist
# Cisco IOS system navigation tree (for a Router)
In here just trying to agregate the submenus most used in Cisco IOS, with the ? , to aid with the navigation mainly submenus used for CCNA. Created by Freddie Ventura updated on 21/10/2020
## Exec Commands
+-------
<1-99> |aaa
auto |crypto
clear |custom-queue
clock |eigrp
@opoet7
opoet7 / Typora Theme + RTL.md
Created May 16, 2022 05:18 — forked from JARVIS-AI/Typora Theme + RTL.md
Typora with RTL Support let you use RTL languages with markdown

Typora with RTL Support

I made a theme style for typora app (thanks to it's maker) that is based on web technologies to support RTL

Features

Plus it's :

  1. Elegant
  2. Eye Candy