GithubHelp home page GithubHelp logo

anthrax3 / sawed_off Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 0xislamtaha/sawed_off

0.0 1.0 0.0 236 KB

Rex Patch for metasploit-framework to build in some Power Shell foo

Shell 23.40% Ruby 76.60%

sawed_off's Introduction

##Overview This is a set of patches for Metasploit to allow faster exploitation of Windows hosts through a better PowerShell integration than Metasploit currently allows. (aka I'm sick of having to run individual modules...)

So I decided to be an asshole and just straight patch the metasploit-framework libraries for meterpreter.

Installation

####Binary Patch (Most People) Have a metasploit installation from the binary package? (Hint: unless you cloned metasploit-framework from source, then the answer is yes.)

Simply:

# curl -s alexlevinson.com/msfp | bash

####Source Installation

# curl -s alexlevinson.com/msfp > /tmp/msfp.sh
# bash /tmp/msfp.sh -h

From the -h options, you should be able to figure out how to patch your source installation.

Available Commands

Once you have metasploit patched, when you enter a meterpreter> prompt, you have the commands:

  • power_shell - Invoke a power shell command.
  • power_view - Veil PowerView framework.
  • power_up - Harmj0y PowerUp framework.
  • power_katz - Run Mimikatz from memory.
  • power_scan - In Memory NMap implementation.

To see a help doc for any of these commands, just append -h to any of them.

meterpreter> power_view -h

There is a static timeout on each command which might prevent you from reading all the output of a long running command (or make you wait during a short command). You can use the -t SECONDS modifier to any of the four commands.

meterpreter> power_shell -t 3 Get-Process

The default -t timeout is set to 10 seconds.

From within Meterpreter.

Enjoy.

Credits:

sawed_off's People

Contributors

gen0cide avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.