With kerbrute.py:
python kerbrute.py -domain <domain_name> -users <users_file> -passwords <passwords_file> -outputfile <output_file>With Rubeus version with brute module:
| :doctype: book | |
| :toc: left | |
| :toclevels: 3 | |
| :data-uri: | |
| :icons: font | |
| :source-highlighter: rouge | |
| :source-linenums-option: inline | |
| :icons: font | |
| #@Powershell -NoP -W Hidden -C "$PSCP='%~f0';$PSSR='%~dp0'.TrimEnd('\');&([ScriptBlock]::Create((gc '%~f0'|?{$_.ReadCount -gt 1}|Out-String)))" %* & exit/b | |
| # by earthdiver1 V1.05 | |
| if ($PSCommandPath) { | |
| $PSCP = $PSCommandPath | |
| $PSSR = $PSScriptRoot | |
| $code = '[DllImport("user32.dll")]public static extern bool ShowWindowAsync(IntPtr hWnd,int nCmdShow);' | |
| $type = Add-Type -MemberDefinition $code -Name Win32ShowWindowAsync -PassThru | |
| [void]$type::ShowWindowAsync((Get-Process -PID $PID).MainWindowHandle,0) | |
| } | |
| Add-Type -AssemblyName System.Windows.Forms, System.Drawing |
With kerbrute.py:
python kerbrute.py -domain <domain_name> -users <users_file> -passwords <passwords_file> -outputfile <output_file>With Rubeus version with brute module:
This is an example of how to convert notes from OneNote into Markdown to use in other, less annoying Note applications. I am using PowerShell on Windows here, but other shell/scripting environments would work as well. If you want separate .md files, you'll need to export your OneNote pages separately. Exporting a section, or a selection of pages creates a single .docx file.
.docx (Word) format using OneNote export from the File menu.docx files into a directory| package main | |
| import ( | |
| "bytes" | |
| "fmt" | |
| "os/exec" | |
| "strings" | |
| ) | |
| // PowerShell struct |
| <# | |
| .Synopsis | |
| Rough PS functions to create new user profiles | |
| .DESCRIPTION | |
| Call the Create-NewProfile function directly to create a new profile | |
| .EXAMPLE | |
| Create-NewProfile -Username 'testUser1' -Password 'testUser1' | |
| .NOTES | |
| Created by: Josh Rickard (@MS_dministrator) and Thom Schumacher (@driberif) |