Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error importing computer JSON data into BloodHound #702

Closed
senorbueno opened this issue Nov 29, 2023 · 5 comments
Closed

Error importing computer JSON data into BloodHound #702

senorbueno opened this issue Nov 29, 2023 · 5 comments

Comments

@senorbueno
Copy link

Currently getting an error when attempting to upload computer data into BloodHound v4.3.1:

image

TypeError: Cannot read property 'Results' of undefined
    at o (bundle.js:38213)
    at computers (bundle.js:38302)
    at bundle.js:39302
    at l (bundle.js:37777)
    at Generator._invoke (bundle.js:37757)
    at Generator.next (bundle.js:37802)
    at mL (bundle.js:38115)
    at i (bundle.js:38129)
    at bundle.js:38134
    at new Promise (<anonymous>)

(note that bundle.js was JSformatted from its minimized form to ID the lines the errors were occurring. Normally the line number for all would be 85.)

I see that 'Results' must be coming from the Sessions block of the computer json data. In my case the data for all machines here is empty:

           "Sessions": {
                "Results": [],
                "Collected": false,
                "FailureReason": null
            },
            "PrivilegedSessions": {
                "Results": [],
                "Collected": false,
                "FailureReason": null
            },
            "RegistrySessions": {
                "Results": [],
                "Collected": false,
                "FailureReason": null
            }

Even though these are defined within bundle.js (as d, f, h):

                        var e = n.value,
                            r = e.ObjectIdentifier,
                            o = e.Properties,
                            a = e.LocalAdmins.Results,
                            i = e.RemoteDesktopUsers.Results,
                            s = e.DcomUsers.Results,
                            c = e.PSRemoteUsers.Results,
                            l = e.PrimaryGroupSID,
                            u = e.AllowedToAct,
                            p = e.AllowedToDelegate,
                            d = e.Sessions.Results,
                            f = e.PrivilegedSessions.Results,
                            h = e.RegistrySessions.Results,
                            m = e.Aces,
                            y = e.DumpSMSAPassword;

Any help with this would be great.

@russianChibi
Copy link

I have the same problem now i am stuck with it. Please tell me if you solved it. Thank you !

@1mm0rt41PC
Copy link

Which version of the collector did you use ? Sharphound 2.0 ? Bloodhound.py ? Rusthound ?

@russianChibi
Copy link

I solved it. i use old version of Sharphound (v1.1.0). it work perfectly with newest version of bloodhound :v :V

@JonasBK JonasBK closed this as completed Dec 6, 2023
@xp101t
Copy link

xp101t commented Sep 10, 2024

I solved it. i use old version of Sharphound (v1.1.0). it work perfectly with newest version of bloodhound :v :V

does anyone know why bloodhound works with this version of sharphound, but not the latest version?

@rvazarkar
Copy link
Contributor

This is the old BloodHound repo. The new version of BloodHound lives at https://github.com/SpecterOps/BloodHound and newer collectors will work there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants