• Stars
    star
    952
  • Rank 46,312 (Top 1.0 %)
  • Language
    C#
  • License
    BSD 3-Clause "New...
  • Created over 11 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

PowerShell Module for automating tasks on remote systems using SSH

Posh-SSH

Description

Windows Powershell module that leverages a custom version of the SSH.NET Library to provide basic SSH functionality in Powershell. The main purpose of the module is to facilitate automating actions against one or multiple SSH enabled Linux servers from a Windows Host. As of version 3.x the module can be used in Linux and Mac OS using .Net Standard.

This module is for Windows PowerShell 5.1 or PowerShell 7.x., On Windows Server, version 1709 or older .Net Framework 4.8 or above is required for the proper loading of the module.

Except as represented in this agreement, all work product by Developer is provided β€‹β€œAS IS”. Developer makes no other warranties, express or implied, and hereby disclaims all implied warranties, including any warranty of merchantability and warranty of fitness for a particular purpose.

Install

To install the module run the command command:

Install-Module -Name Posh-SSH

Install and New Sessions

Support

  • Provides functionality for automating SSH, SFTP and SCP actions.
  • Supports diffie-hellman-group-exchange-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1 and diffie-hellman-group1-sha1 key exchange methods.
  • Supports 3des-cbc, aes128-cbc, aes192-cbc, aes256-cbc, aes128-ctr, aes192-ctr, aes256-ctr, blowfish-cbc, cast128-cbc, arcfour and twofish encryptions.
  • Supports hmac-md5, hmac-sha1, hmac-ripemd160, hmac-sha2-256, hmac-sha2-256-96, hmac-md5-96 and hmac-sha1-96 hashing algorithms.
  • Supports publickey, password and keyboard-interactive authentication methods
  • Supports RSA and DSA private key
  • Supports DES-EDE3-CBC, DES-EDE3-CFB, DES-CBC, AES-128-CBC, AES-192-CBC and AES-256-CBC algorithms for private key encryption
  • Supports SOCKS4, SOCKS5 and HTTP Proxy
  • Remote, dynamic and local port forwarding

More Repositories

1

dnsrecon

DNS Enumeration Script
Python
2,483
star
2

Posh-SecMod

PowerShell Module with Security cmdlets for security work
PowerShell
423
star
3

Metasploit-Plugins

Plugins for Metasploit Framework
Ruby
391
star
4

powershell_scripts

Powershell Scripts
PowerShell
207
star
5

Posh-Sysmon

PowerShell module for creating and managing Sysinternals Sysmon config files.
PowerShell
204
star
6

Meterpreter-Scripts

Meterpreter Scripts that I'm working on
Ruby
171
star
7

Posh-Shodan

PowerShell Module to interact with the Shodan service
PowerShell
129
star
8

vscode-language-aggressor

Cobalt Strike Aggressor extension for Visual Studio Code
121
star
9

Posh-VirusTotal

PowerShell Module to interact with VirusTotal
PowerShell
112
star
10

DEFCON25_PS_Workshop

Materials of Workshop presented at DEFCON 25
PowerShell
108
star
11

vscode-sysmon

Visual Studio Code Microsoft Sysinternal Sysmon configuration file extension.
TypeScript
50
star
12

ADAudit

Windows PowerShell module to help in the auditing of Active Directory environments.
47
star
13

SysmonLinux.Util

PowerShell Module for parsing logs generated by Sysinternals Sysmon for Linux
PowerShell
36
star
14

Presentations

Presentation Slides
27
star
15

pyforensics

Collection of single use scripts I worte for windows forensics
Python
26
star
16

Nessus-Bridge-for-Metasploit

nessus plugin for metasploit to connect to a nessus server
Ruby
21
star
17

Posh-Metasploit

PowerShell module to automate via XMLRPC a remote Metasploit server.
PowerShell
15
star
18

Posh-Tweet

PowerShell Module for intearcting with Twitter
PowerShell
14
star
19

MDNSRecon

Script for Ubuntu/BackTrack for MSDN Enumeration using Avahi-Utils
Ruby
11
star
20

EventHunt

PowerShell
9
star
21

Posh-OpenPGP

PowerShell Module for automating actions using OpenPGP
PowerShell
9
star
22

Agressor-Scripts

C#
7
star
23

Nessus-V2-Parser

Parser for .nessus v2 xml files to various formats.
Ruby
6
star
24

Posh-NVS

PowerShell Module for the Nessus Vulnerability Scanner
PowerShell
5
star
25

GetAuditPol

Example of getting audit policy using C++
C++
5
star
26

OctoPS

PowerShell Core module for automating tasks against the OctoPrint API.
PowerShell
5
star
27

VI-ToolBox

Collection of PowerCLI functions in module format that I use in my day to day operations of a VMware Infrastructure
PowerShell
4
star
28

IPHelper

C# example for building a PowerShell module
C#
3
star