With kerbrute.py:
python kerbrute.py -domain <domain_name> -users <users_file> -passwords <passwords_file> -outputfile <output_file>
With Rubeus version with brute module:
With kerbrute.py:
python kerbrute.py -domain <domain_name> -users <users_file> -passwords <passwords_file> -outputfile <output_file>
With Rubeus version with brute module:
Rank | Type | Prefix/Suffix | Length | |
---|---|---|---|---|
1 | Prefix | my+ | 2 | |
2 | Suffix | +online | 6 | |
3 | Prefix | the+ | 3 | |
4 | Suffix | +web | 3 | |
5 | Suffix | +media | 5 | |
6 | Prefix | web+ | 3 | |
7 | Suffix | +world | 5 | |
8 | Suffix | +net | 3 | |
9 | Prefix | go+ | 2 |
$myResourceGroup = Read-Host -prompt "Enter a resource group name: " | |
$myLocation = Read-Host -prompt "Enter a location (ie. WestUS): " | |
$myVM = Read-Host -prompt "Enter a VM name: " | |
$vmAdmin = Read-Host -prompt "Enter a VM admin user name: " | |
# The password must meet the length and complexity requirements. | |
$vmPassword = Read-Host -prompt "Enter the admin password: " | |
# create a resource group | |
New-AzResourceGroup -Name $myResourceGroup -Location $myLocation |
Some might be outdated.
Taken from (404 as of today): https://macosxautomation.com/system-prefs-links.html
$ open "x-apple.systempreferences:com.apple.preference.security?General"
#Passo-a-passo para a instalação do Elastic Stack seguindo as aulas do Eduardo Neves (https://www.youtube.com/watch?v=B3Vl0nQyK-U) | |
#Esse passo-a-passo foi testado no Ubuntu 20.04 | |
#Java | |
sudo apt update | |
sudo apt install default-jre | |
sudo apt install default-jdk | |
export JAVA_HOME=/usr/lib/jvm/default-java- | |
export PATH=${PATH}:${JAVA_HOME}/bin |
#Requires -Version 7.0 | |
# If you powershell version is lower than 7. Must update to the latest version. | |
# Install Azure Graph Powershell Module | |
# Run this Command: Install-Module -Name AzureAD | |
# https://docs.microsoft.com/en-us/office365/enterprise/powershell/connect-to-office-365-powershell#connect-with-the-azure-active-directory-powershell-for-graph-module | |
# https://docs.microsoft.com/en-us/office365/enterprise/powershell/manage-user-accounts-and-licenses-with-office-365-powershell | |
$Credential = Get-Credential | |
Connect-AzureAD -Credential $Credential | |
# Tried of input credential every time? You can export credential and import it. |
In this scenario I am using two proxy servers:
Sample squid configuration is below together with PowerShell script to configure prerequisities (https://docs.microsoft.com/cs-cz/azure/active-directory/hybrid/how-to-connect-install-prerequisites#connectivity).
Do not make any changes to miiserver.exe.config. This file is overwritten on every upgrade so even if it works during initial install, the system stops working on first upgrade. For that reason, the recommendation is to update machine.config instead.
#!/usr/bin/env bash | |
set -x # uncomment to debug | |
# required for Homebrew | |
xcode-select —-install | |
sudo xcodebuild -license accept | |
# install https://brew.sh/ | |
which brew || (/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" ) |
Connect-MsolService | |
$people = "<sam1>,<sam2>" | |
$domain = "<@website.com>" | |
foreach($person in $people){ | |
$tmpPass = Set-MsolUserPassword -UserPrincipalName $($person + $domain) | |
Set-ADAccountPassword -Identity $person -Reset -NewPassword (ConvertTo-SecureString -AsPlainText $tmpPass -Force) | |
Add-ADGroupMember -Identity "E2" -Members $person | |
Write-Host $person "---Password---" $tmpPass | |
} |
#Depending if you are already connected execute this first part | |
Connect-AzureAD | |
#Get the Service Principal that was created when you created a Managed Identity from your Web App | |
$MyMI = Get-AzureADServicePrincipal -ObjectId <ID(GUID) of your managed identity shown in the Azure portal> | |
#Get the Office 365 SharePoint Online API | |
$SharePointAPI = Get-AzureADServicePrincipal -SearchString “Office 365 SharePoint” | |
#Select the User.ReadWrite.All App-Only Permissions. If you want another App-Only permission then search for another value |