Skip to content

Conversation

andigandhi
Copy link

The "paths" and "secrets" tabs of the HTML export currently throw the following error:
smbcrawler-error

This is due to the query definition in line 65 in the file common.js. There the "${select}" part already contains a "ORDER BY" instruction which is followed by a "WHERE". This leads to a [Grid.js] [ERROR]: Error: near "WHERE": syntax error error when trying to execute the query in the browser.

I've encapsulated the SELECT parts of the queries in another SELECT * FROM ( instruction. This ensures the function in other parts of the code (e.g. in reporting.py) while still being able to append a WHERE clause.

Thank you for this awesome tool!

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

Successfully merging this pull request may close these issues.

1 participant