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

Download scan results #73

Open
maanas-talwar opened this issue Oct 16, 2021 · 13 comments
Open

Download scan results #73

maanas-talwar opened this issue Oct 16, 2021 · 13 comments
Labels
enhancement New feature or request

Comments

@maanas-talwar
Copy link
Collaborator

Provision to enable the user to download a curated list of scan results for the submitted files.

@Ammoniya Ammoniya added enhancement New feature or request and removed hacktoberfest labels Dec 10, 2021
@AdityaSanthosh
Copy link

Is this Issue still a priority? I would like to work on this.

@maanas-talwar
Copy link
Collaborator Author

Yeah, you may take this up.

@srrathi
Copy link

srrathi commented Mar 14, 2022

Hello @maanas-talwar , I would like to work on this issue but first I'll like to understand more about it. As I'm understanding as of now, is downloading scan results means downloading the below details in a pdf file or we are downloading some other information too with it ?
Screenshot from 2022-03-14 06-18-34

@AdityaSanthosh
Copy link

AdityaSanthosh commented Mar 14, 2022 via email

@srrathi
Copy link

srrathi commented Mar 14, 2022

Hey, Check the project folder. The output results are stored in the project filesystem with a specific filename for each scan. So you need to make the information in those files and the metadata (the details in the pic) accessible to the user by adding a download button in the UI. Very senseful of you to shoot me a msg but I haven't been working on the project because I switched jobs recently so I could not find time. Look how you can make files downloadable on the flask server side. I would recommend you to start from there. This is not a very hard task. All the best. And more so if you are aiming for GSOC. Aditya

On Mon, Mar 14, 2022 at 6:22 AM Sitaram Rathi @.> wrote: Hello, I would like to work on this issue but first I'll like to understand more about it. As I'm understanding as of now, is downloading scan results means downloading the below details in a pdf file or we are downloading some other information too with it ? [image: Screenshot from 2022-03-14 06-18-34] https://user-images.githubusercontent.com/57089237/158087499-edb592f2-1ffb-4db7-8ae3-c8b445993401.png — Reply to this email directly, view it on GitHub <#73 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK6OW55M3TDTRWKQNE4NXY3U72ES3ANCNFSM5GDTJROQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you commented.Message ID: @.>

Thank you so much for the details. I'll start working on it and will msg you incase I need some help.

@maanas-talwar
Copy link
Collaborator Author

Hi @srrathi, @AdityaSanthosh pretty much summed it up.
This issue proposes making the scan results available to the uploader via the web interface.
For that, we have the results already stored in the results directory. The main task is to aggregate the metadata and the results into a single file in JSON format and make it available for download via the web interface.

@srrathi
Copy link

srrathi commented Mar 14, 2022

Hi @srrathi, @AdityaSanthosh pretty much summed it up. This issue proposes making the scan results available to the uploader via the web interface. For that, we have the results already stored in the results directory. The main task is to aggregate the metadata and the results into a single file in JSON format and make it available for download via the web interface.

Okay I'll start working on it.

@harish343
Copy link

hey can anyone guide me how can I contribute

@maanas-talwar
Copy link
Collaborator Author

maanas-talwar commented Sep 1, 2022

hey can anyone guide me how can I contribute

Hey, you can start by setting up the project to your local machine (following the steps in the README) and then jumping into the issue.

@aaditya9899
Copy link

hey @maanas-talwar I want to be part of this project and your organization for Gsoc this year so can you provide me the source to get started with the overall project.
thankx

@aaditya9899
Copy link

while running flask run , i am having one error

Error: While importing 'app', an ImportError was raised:

Traceback (most recent call last):
  File "/home/aaditya/flask_application/venv/lib/python3.8/site-packages/flask/cli.py", line 218, in locate_app
    __import__(module_name)
  File "/home/aaditya/Scan8/Dashboard/app.py", line 8, in <module>
    from hurry.filesize import size, si
ModuleNotFoundError: No module named 'hurry'

Any idea why @maanas-talwar ?

@maanas-talwar
Copy link
Collaborator Author

hey @maanas-talwar I want to be part of this project and your organization for Gsoc this year so can you provide me the source to get started with the overall project. thankx

Good to hear @aaditya9899, you can head over to the open issues and it might serve as a good starting point!

@maanas-talwar
Copy link
Collaborator Author

while running flask run , i am having one error

Error: While importing 'app', an ImportError was raised:

Traceback (most recent call last):
  File "/home/aaditya/flask_application/venv/lib/python3.8/site-packages/flask/cli.py", line 218, in locate_app
    __import__(module_name)
  File "/home/aaditya/Scan8/Dashboard/app.py", line 8, in <module>
    from hurry.filesize import size, si
ModuleNotFoundError: No module named 'hurry'

Any idea why @maanas-talwar ?

The module 'hurry' is not installed on your local machine

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

No branches or pull requests

6 participants