forked from k1nd0ne/VolWeb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Linux ProcMaps, Lsof, TtyCheck, Elfs plugin integration
- Loading branch information
Showing
16 changed files
with
410 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
investigations/templates/investigations/linux/ma_artifacts/lsof.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<div class="mt-5 Lsof plugin"> | ||
<h6 class="h6">List of openned files</h6> | ||
<div class="d-inline"> | ||
<input class="form-control mb-3" id="searchLsof" type="text" placeholder="Search.."> | ||
</div> | ||
<table id="LsofTable" class="table table-light card-font Lsof"> | ||
<thead> | ||
<tr> | ||
<th scope="col">FD</th> | ||
<th scope="col">PID</th> | ||
<th scope="col">Path</th> | ||
<th scope="col">Process</th> | ||
</tr> | ||
</thead> | ||
<tbody id="Lsof"> | ||
{% for entry in Lsof %} | ||
<tr> | ||
<td>{{entry.FD}}</td> | ||
<td>{{entry.PID}}</td> | ||
<td>{{entry.Path}}</td> | ||
<td>{{entry.Process}}</td> | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
</div> |
26 changes: 26 additions & 0 deletions
26
investigations/templates/investigations/linux/ma_artifacts/tty_check.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<div class="mt-5 TtyCheck plugin"> | ||
<h6 class="h6">List of openned files</h6> | ||
<div class="d-inline"> | ||
<input class="form-control mb-3" id="searchTtyCheck" type="text" placeholder="Search.."> | ||
</div> | ||
<table id="TtyCheckTable" class="table table-light card-font TtyCheck"> | ||
<thead> | ||
<tr> | ||
<th scope="col">Address</th> | ||
<th scope="col">Module</th> | ||
<th scope="col">Name</th> | ||
<th scope="col">Symbol</th> | ||
</tr> | ||
</thead> | ||
<tbody id="TtyCheck"> | ||
{% for entry in TtyCheck %} | ||
<tr> | ||
<td>{{entry.Address}}</td> | ||
<td>{{entry.Module}}</td> | ||
<td>{{entry.Name}}</td> | ||
<td>{{entry.Symbol}}</td> | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
</div> |
28 changes: 28 additions & 0 deletions
28
investigations/templates/investigations/linux/process_artifacts/elfs.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<div class="mt-5 Elfs plugin"> | ||
<h6 class="h6">Process ELF files</h6> | ||
<div class="d-inline"> | ||
<input class="form-control mb-3" id="searchElfs" type="text" placeholder="Search.."> | ||
</div> | ||
<table id="ElfsTable" class="table table-light card-font Elfs"> | ||
<thead> | ||
<tr> | ||
<th scope="col">Start</th> | ||
<th scope="col">End</th> | ||
<th scope="col">File Path</th> | ||
<th scope="col">Process</th> | ||
<th scope="col">PID</th> | ||
</tr> | ||
</thead> | ||
<tbody id="Elfs"> | ||
{% for process in ProcMaps %} | ||
<tr> | ||
<td>{{process.Start}}</td> | ||
<td>{{process.End}}</td> | ||
<td>{{process.FilePath}}</td> | ||
<td>{{process.Process}}</td> | ||
<td>{{process.PID}}</td> | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
investigations/templates/investigations/linux/process_artifacts/process_maps.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<div class="mt-5 ProcMaps plugin"> | ||
<h6 class="h6">Process Maps</h6> | ||
<div class="d-inline"> | ||
<input class="form-control mb-3" id="searchProcessMaps" type="text" placeholder="Search.."> | ||
</div> | ||
<table id="processMapsTable" class="table table-light card-font processmaps"> | ||
<thead> | ||
<tr> | ||
<th scope="col">Start</th> | ||
<th scope="col">End</th> | ||
<th scope="col">File Path</th> | ||
<th scope="col">Flags</th> | ||
<th scope="col">Inode</th> | ||
<th scope="col">Major</th> | ||
<th scope="col">Minor</th> | ||
<th scope="col">PID</th> | ||
<th scope="col">PgOff</th> | ||
<th scope="col">Process</th> | ||
</tr> | ||
</thead> | ||
<tbody id="processMaps"> | ||
{% for process in ProcMaps %} | ||
<tr> | ||
<td>{{process.Start}}</td> | ||
<td>{{process.End}}</td> | ||
<td>{{process.FilePath}}</td> | ||
<td>{{process.Flags}}</td> | ||
<td>{{process.Inode}}</td> | ||
<td>{{process.Major}}</td> | ||
<td>{{process.Minor}}</td> | ||
<td>{{process.PID}}</td> | ||
<td>{{process.PgOff}}</td> | ||
<td>{{process.Process}}</td> | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Generated by Django 3.2.13 on 2022-06-13 08:06 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('investigations', '0001_initial'), | ||
('linux_engine', '0003_bash'), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='ProcMaps', | ||
fields=[ | ||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('End', models.BigIntegerField(null=True)), | ||
('FilePath', models.CharField(max_length=255, null=True)), | ||
('Flags', models.CharField(max_length=20, null=True)), | ||
('Command', models.CharField(max_length=500, null=True)), | ||
('Inode', models.BigIntegerField(null=True)), | ||
('Major', models.BigIntegerField(null=True)), | ||
('Minor', models.BigIntegerField(null=True)), | ||
('PID', models.BigIntegerField(null=True)), | ||
('PgOff', models.BigIntegerField(null=True)), | ||
('Process', models.CharField(max_length=255, null=True)), | ||
('Start', models.BigIntegerField(null=True)), | ||
('investigation', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='linux_procmaps_investigation', to='investigations.uploadinvestigation')), | ||
], | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Generated by Django 3.2.13 on 2022-06-13 12:14 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('investigations', '0001_initial'), | ||
('linux_engine', '0004_procmaps'), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='Lsof', | ||
fields=[ | ||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('FD', models.BigIntegerField(null=True)), | ||
('PID', models.BigIntegerField(null=True)), | ||
('Path', models.CharField(max_length=255, null=True)), | ||
('Process', models.CharField(max_length=500, null=True)), | ||
('investigation', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='linux_lsof_investigation', to='investigations.uploadinvestigation')), | ||
], | ||
), | ||
] |
Oops, something went wrong.