GithubHelp home page GithubHelp logo

To enumerate a remote system, supply -computername=COMPUTER.DOMAIN.COM - an alternate username and password can be specified with -username=DOMAIN\USER -password=PASSWORD For example, the following command runs remote-focused checks against a remote system: Seatbelt.exe -group=remote -computername=192.168.230.209 -username=THESHIRE\sam -password="yum \"po-ta-toes\"" about seatbelt HOT 3 CLOSED

127161782 avatar 127161782 commented on July 25, 2024
To enumerate a remote system, supply -computername=COMPUTER.DOMAIN.COM - an alternate username and password can be specified with -username=DOMAIN\USER -password=PASSWORD For example, the following command runs remote-focused checks against a remote system: Seatbelt.exe -group=remote -computername=192.168.230.209 -username=THESHIRE\sam -password="yum \"po-ta-toes\""

from seatbelt.

Comments (3)

HarmJ0y avatar HarmJ0y commented on July 25, 2024

Doesn't follow the issue template, not 100% sure what the issue even is.

from seatbelt.

127161782 avatar 127161782 commented on July 25, 2024

我的问题是:访问远程目标为192.168.101.39,用户名为123,密码为123。我的命令为:seatbelt -group =remote
-computername=192.168.101.39 -username='123' -password='123'
运行报错:拒绝访问,(异常来自 HRESULT:0X80070005(E_ACCESSDENIED))

from seatbelt.

HarmJ0y avatar HarmJ0y commented on July 25, 2024

I'm not sure if the remote options work with local accounts (I haven't tested it). If this is a domain connected system, try using DOMAIN\USER for the username as documented at https://github.com/GhostPack/Seatbelt#remote-enumeration

The code to run remote enumeration is implemented at

var options = new ConnectionOptions();
options.Username = UserName;
options.Password = Password;
options.Impersonation = ImpersonationLevel.Impersonate;
options.EnablePrivileges = true;
var scope = new ManagementScope($"\\\\{computerName}\\root\\cimv2", options);
. So my best guess is that either a) you forgot a domain name, b) the credentials are incorrect, or c) the WMI connection approach might not work with local accounts.

Best of luck.

from seatbelt.

Related Issues (20)

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.