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

Explore view filter when clicking on title does not work for script:xxxx #1404

Open
psyray opened this issue Jul 17, 2022 · 2 comments · May be fixed by #1405
Open

Explore view filter when clicking on title does not work for script:xxxx #1404

psyray opened this issue Jul 17, 2022 · 2 comments · May be fixed by #1405

Comments

@psyray
Copy link
Contributor

psyray commented Jul 17, 2022

Here I come again ;)

IVRE Version

IVRE - Network recon framework
Copyright 2011 - 2022 Pierre LALET <pierre@droids-corp.org>
Version 0.9.18.dev25-dockerhub

Python 3.9.2 (default, Feb 28 2021, 17:03:44) 
[GCC 10.2.1 20210110]

Linux 2f86dcf6bc91 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64

Dependencies:
    Python module pymongo: 3.11.0
    Python module sqlalchemy: missing
    Python module psycopg2: missing
    Python module cryptography: 3.3.2
    Python module krbV: missing
    Python module pycurl: missing
    Python module PIL: 8.1.2
    Python module MySQLdb: missing
    Python module dbus: missing
    Python module matplotlib: missing
    Python module bottle: 0.12.19
    Python module OpenSSL: 20.0.1
    Python module tinydb: missing

Summary

Can't click on a line from the script:http-nuclei Explore view to filter records in the list view

Expected behavior

Should display filtered resulting according to the line clicked, like, for example, in script Explore view

Actual behavior

Does not work

How to reproduce

In the Explore box, and with some records from nuclei in the db, enter script:http-nuclei and press enter.
Click on a line in the displayed graph

More

I have tried to activate the click by creating the script: condition in the graphjs file at this position

else if(field === 'port') {

It works, but if the text contains a line feed, it fails to filter the list
Also when it works, and if I have multiple pages, it fails when loading the 2nd page because it removes the escape characters from the regex.

@psyray psyray linked a pull request Jul 17, 2022 that will close this issue
@psyray
Copy link
Contributor Author

psyray commented Jul 17, 2022

See the WIP here #1405

I think it should be complicated to have something stable because of the regex and the escape characters

Do you think it will be possible to pass regex value in base 64 ?

@p-l-
Copy link
Member

p-l- commented Jul 18, 2022

Hi,

I don't think base64 would be a good idea. I'll have a look see if/how I can help you.

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 a pull request may close this issue.

2 participants