Giter Club home page Giter Club logo

Comments (10)

yossimr avatar yossimr commented on June 14, 2024 2

Hi,

I have tried the new build and it works fine :)

Thanks a lot

Yossi

from meerkat.

TonyPhipps avatar TonyPhipps commented on June 14, 2024

You'll likely need to enable winrm, as specified in the error. try this

PsExec.exe -s \\$TargetComputer -accepteula powershell -ExecutionPolicy ByPass -nologo -command "Enable-PSRemoting -Force"

... where $TargetComputer is your target

another option is using "winrm quickconfig"

I'll look into adding this into the tool directly OR partially removing WinRM dependencies (e.g. no WinRM requirement when called via the psexec module)

from meerkat.

TonyPhipps avatar TonyPhipps commented on June 14, 2024

I've found a way to remove the WinRM requirement when doing a local collection or using the psexec wrapper. Will be reflected in next major update.

from meerkat.

TonyPhipps avatar TonyPhipps commented on June 14, 2024

All modules were adjusted to no longer require WinRM when either scanning the local system OR using the psexec wrapper Invoke-THR_PSExec

from meerkat.

yossimr avatar yossimr commented on June 14, 2024

Hi,

Thank you for your efforts

I will try the new build.

Regards

Yossi

from meerkat.

zwass avatar zwass commented on June 14, 2024

I see similar errors when running Meerkat from master. Is there a flag or something to enable for this fix?

from meerkat.

TonyPhipps avatar TonyPhipps commented on June 14, 2024

zwass,
One of the core requirements of remoting with Meerkat is that WinRM be enabled and the endpoint (if remote) be reachable. There is one alternative provided in the psexec wrapper, mentioned above.

If you want to post the command and error I'll be able to see if it's this issue or another.

from meerkat.

zwass avatar zwass commented on June 14, 2024

Ah, I didn't realize that Meerkat was attempting to reach out to remote machines. Is it possible to run it to just collect the results on the local machine? Could this be done without enabling WinRM?

from meerkat.

TonyPhipps avatar TonyPhipps commented on June 14, 2024

If you run the command below it will run locally using Invoke-Command, so it's subject to all invoke-command requirements, which includes WinRM. If you're getting an error, please send it up and I'll take a look.
Invoke-Meerkat

Optionally, you can run the modules directly and bypass Invoke-Command
get-computerdetails | export-csv c:\temp.csv -NoTypeInformation

I will look into making something like Invoke-Meerkat-Local that completely drops the Invoke-Command dependency.

To resolve your issue, you can set up winrm on your system as outlined above or here
https://github.com/TonyPhipps/Powershell/blob/master/Enable-WinRM.ps1

from meerkat.

TonyPhipps avatar TonyPhipps commented on June 14, 2024

https://github.com/TonyPhipps/Meerkat/projects/1#card-31127749

from meerkat.

Related Issues (2)

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.