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

Graph not rendering #1

Open
joaoescribano opened this issue Nov 6, 2024 · 1 comment
Open

Graph not rendering #1

joaoescribano opened this issue Nov 6, 2024 · 1 comment

Comments

@joaoescribano
Copy link

I dunno if i'm doing somthing stupid, but here it goes:

I'm trying to find out the real ip behind a DNS and I'm running the latest stable version of bbot, usign this command as mentioned in this repo:
bbot -t XXXXX.com -om websocket -c scope.search_distance=10 scope.report_distance=10 modules.websocket.url=ws://127.0.0.1:1234

Looking at the console from the browser, i got the following error:
visualize.html:99 IP_ADDRESS:65bccbb3bb53a1f4cbbe90ec6beade517d94b68f:undefined

Looking at the code, the code expects a "source" arriving from the websocket, but it didn't happen all we receive is this:

    "type": "IP_ADDRESS",
    "id": "IP_ADDRESS:65bccbb3bb53a1f4cbbe90ec6beade517d94b68f",
    "uuid": "IP_ADDRESS:5354689c-8e28-4cf0-a8b3-8e711f461e0a",
    "scope_description": "distance-8",
    "netloc": "000.000.000.000",
    "data": "000.000.000.000",
    "host": "000.000.000.000",
    "resolved_hosts": ["000.000.000.000"],
    "dns_children": {
        "PTR": ["XXX.XXX.XXX.XXX.bc.googleusercontent.com"]
    },
    "web_spider_distance": 0,
    "scope_distance": 8,
    "scan": "SCAN:a8f6e86ba024acd644a451c69839a847a7a9ff2c",
    "timestamp": "2024-11-06T00:24:04.630024+00:00",
    "parent": "DNS_NAME:8bcb28f1351064c751f4060755b97b2f0f725070",
    "parent_uuid": "DNS_NAME:797f4706-eb4c-435a-953b-e1c95b583e47",
    "tags": ["distance-8", "ipv4", "ptr-record", "cloud-google"],
    "module": "A",
    "module_sequence": "A",
    "discovery_context": "A record for XXX.XXX.XXX.XXX.bc.googleusercontent.com contains IP_ADDRESS: 000.000.000.000",
    "discovery_path": ["Scan intelligent_tiffany seeded with DNS_NAME: XXXXXXXXX.com", "SOA record for XXXXXXXXX.com contains DNS_NAME: ivy.ns.cloudflare.com", "speculated parent DNS_NAME: ns.cloudflare.com", "speculated parent DNS_NAME: cloudflare.com", "MX record for cloudflare.com contains DNS_NAME: mailstream-central.mxrecord.mx", "speculated parent DNS_NAME: mxrecord.mx", "TXT record for mxrecord.mx contains IP_ADDRESS: 000.000.000.000", "PTR record for 000.000.000.000 contains DNS_NAME: XXX.XXX.XXX.XXX.bc.googleusercontent.com", "A record for XXX.XXX.XXX.XXX.bc.googleusercontent.com contains IP_ADDRESS: 000.000.000.000"],
    "parent_chain": ["DNS_NAME:33fa4520-ca04-4b8a-b04c-d5583a3c8205", "DNS_NAME:6782b9ce-6306-46b6-bdfb-53b278dbb415", "DNS_NAME:879103f3-0f56-4a75-864a-a14d00696f76", "DNS_NAME:9884335c-49c9-4533-bb1c-b7bd8fd0a637", "DNS_NAME:564ad443-957f-43a9-b3b8-0b191b96c43b", "DNS_NAME:3af8d482-256c-40a5-a688-3cca8fdd0056", "IP_ADDRESS:23755164-2640-4fcc-be01-b0caa3be95e4", "DNS_NAME:797f4706-eb4c-435a-953b-e1c95b583e47", "IP_ADDRESS:5354689c-8e28-4cf0-a8b3-8e711f461e0a"]
}```

Seems like bbot changed the message to the websocket, or did i miss something?
@TheTechromancer
Copy link
Collaborator

Ah, this is a bug. The source attribute was renamed to parent. Can you try again now?

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

2 participants