scorelab / OpenMF

An Open Source Mobile Forensics Investigation Tool for Android Platform
Apache License 2.0
146 stars 94 forks source link

[Frontend-Backend]: Data Visualization of Cases #218

Closed sachinsom93 closed 3 years ago

sachinsom93 commented 3 years ago

Description

This PR aims to do data visualization for the purpose of case analytics.

Fixes #217

Type of change

Also, include screenshots for the verification and reviewing purpose.

Final ScreenShots

Report Page

image

General Info of a case

image

History data Visualization

1. Bar Chart

image

2. Pie Chart

image

3. Line Chart

image

Map for Location Visualization

image

Checklist:

swapnalshahil commented 3 years ago

Hey, I don't think we need to make the Analytics component and AnalyticsMain page as we already have AnalyticsPage and analytics components. Instead, you can create a page name report where we will make changes and will be routed from the analytics section later.

swapnalshahil commented 3 years ago

API: http://127.0.0.1:5000/report/generalinfo

This API is responsible to collect general info of the device
in a readable format to implement in the analytics section.

method = ['POST']
{
    "case_name": "CaseName"
}
2021-07-29
swapnalshahil commented 3 years ago
2. http://127.0.0.1:5000/report/locations

This API is responsible to provide coordinates and link of
of the locations to map.

method = ['POST']
{
    "case_name": "CaseName"
}

Data will look like this! (below)

2021-07-29 (1)
swapnalshahil commented 3 years ago
3. http://127.0.0.1:5000/report/browserdata

This API is responsible to provide browser
searched links with its frequencies.

method = ['POST']
{
    "case_name": "CaseName"
}
2021-07-30 (1)
sachinsom93 commented 3 years ago

Data Visualization for Browser history data

Bar chart

image

Pie chart for most visited URL

image

Line Chart

image

Error handling ( If a case doesn't contain browser history data)

image

swapnalshahil commented 3 years ago

@sachinsom93 Hey, I don't think in the report section we need all reports. We just need one input/dropdown box where we have to write case_name or choose case_name and on clicking all reports like browser freq,etc will appear. If there will be lots of cases searching a particular case in the report section doesn't make sense.

2021-07-31
sachinsom93 commented 3 years ago

@sachinsom93 Hey, I don't think in the report section we need all reports. We just need one input/dropdown box where we have to write case_name or choose case_name and on clicking all reports like browser freq,etc will appear. If there will be lots of cases searching a particular case in the report section doesn't make sense.

2021-07-31

I guess instead of providing inputs for case name and report type,it will be easier for user to find and clicking over a particular case for visualizing all kind of data. And, The cases will be displayed (ordered ) by most recent extraction date, so I don't feel that user will find any deficulty to search a case.

swapnalshahil commented 3 years ago

OK if cases are 1000??

sachinsom93 commented 3 years ago

OK if cases are 1000??

We can provide pagination :)

swapnalshahil commented 3 years ago

Data visualization based on locations:

https://user-images.githubusercontent.com/58564017/127742348-a7163ae2-08aa-48d6-863d-b47f44929c65.mp4

swapnalshahil commented 3 years ago

General information in report

2021-07-31 (2)
shivanshuraj1333 commented 3 years ago

Hey guys, @sachinsom93 @swapnalshahil the PR is bulky, I'll need some time to review it :)

swapnalshahil commented 3 years ago

Hey guys, @sachinsom93 @swapnalshahil the PR is bulky, I'll need some time to review it :)

Sure, Sir! 😀