61 Commits

Author SHA1 Message Date
Sebastian Lenzlinger
04200ee09b Add usage examples to README.md. 2024-07-17 13:02:14 +02:00
Sebastian Lenzlinger
62da103253 Change language of Readmes 2024-07-17 12:43:23 +02:00
Sebastian Lenzlinger
481a300cac Change location of License 2024-07-17 12:40:39 +02:00
Sebastian Lenzlinger
4eeb0aa55d Make root README useful 2024-07-17 12:28:31 +02:00
Sebastian Lenzlinger
bbc092d747 Relocate iottb executable 2024-07-17 12:17:38 +02:00
Sebastian Lenzlinger
1a531f1047 Update Readme 2024-07-17 12:14:13 +02:00
Sebastian Lenzlinger
c6c8cfb223 Import sys and modify exit invocation to be able to create single file executable of iottb 2024-07-17 12:10:57 +02:00
Sebastian Lenzlinger
78c155208e Add install instructions to Readme 2024-07-17 11:58:16 +02:00
Sebastian Lenzlinger
f4cad751a2 Revert changes since there was actually no issue in code, just with the installation on local machine. 2024-07-17 11:42:29 +02:00
Sebastian Lenzlinger
ccbdf0e9ed Add newly generated poetry lockfile. 2024-07-17 11:15:45 +02:00
Sebastian Lenzlinger
e6d52cf3a1 Remove poetry lockfile before generating new one. 2024-07-17 11:15:03 +02:00
Sebastian Lenzlinger
ae93234eb6 Prelim fix for wrong db path generation 2024-07-17 11:13:06 +02:00
Sebastian Lenzlinger
c5b8ea42e7 Add guided device add functionality. 2024-07-10 16:52:27 +02:00
7daca7f3ad Add missing argument for add_device parameter list. 2024-07-01 19:22:09 +02:00
da05edb71a Update add-device command. Make "device" a positional argument instead of a kw option 2024-07-01 19:10:41 +02:00
b3f0f7a3ed Add missing dependency 'click-option-group' 2024-07-01 18:29:51 +02:00
e62914e738 HANDIN COMMIT 2024-07-01 00:08:04 +02:00
854fba049d Make help message generation robust. 2024-06-30 00:37:18 +02:00
Sebastian Lenzlinger
6405b8f62e Merge branch 'main' into 'experiment2'
# Conflicts:
#   .gitignore
#   code/iottb-project/iottb/commands/add_device.py
#   code/iottb-project/iottb/commands/developer.py
#   code/iottb-project/iottb/commands/sniff.py
#   code/iottb-project/iottb/definitions.py
#   code/iottb-project/iottb/main.py
#   code/iottb-project/iottb/models/sniff_metadata.py
#   code/iottb-project/iottb/utils/string_processing.py
#   code/iottb-project/pyproject.toml
2024-06-29 22:12:34 +00:00
Sebastian Lenzlinger
d9d3f66fc8 Hopefully successfully integrate proper repo. 2024-06-30 00:02:59 +02:00
a5325fc35f Another try 2024-06-29 00:43:47 +02:00
Sebastian Lenzlinger
01954bd5a6 Introduce complete refactoring. 2024-06-18 03:12:40 +02:00
Sebastian Lenzlinger
b345474a89 eod sync 2024-06-12 23:07:09 +02:00
Sebastian Lenzlinger
bf33dfe3a8 Why am I so slow???????????? Just sync commit. Slowly but surely getting allong with this refactoring. 2024-06-12 22:33:08 +02:00
Sebastian Lenzlinger
7d9095f113 SYNC 2024-06-12 20:01:59 +02:00
Sebastian Lenzlinger
ae82bd3a67 Fix debugger 2024-06-12 17:33:42 +02:00
Sebastian Lenzlinger
f22b06ad14 Small corrections to list_interfaces(). Also make pyproject.toml usable. 2024-06-12 16:51:17 +02:00
Sebastian Lenzlinger
5196c2e129 Ensure no arguments are passed to list_interfaces() 2024-06-12 16:47:45 +02:00
Sebastian Lenzlinger
2b782bbdca Cleanup 2024-06-12 16:04:32 +02:00
Sebastian Lenzlinger
e5ece09c33 Clean Slate (or not) 2024-06-12 13:31:49 +02:00
Sebastian Lenzlinger
7b2ef173eb Introduce environment variable 'IOTTB_HOME' to represent the root of the iottb database tree. 2024-05-15 17:17:23 +02:00
Sebastian Lenzlinger
18cdd1dd46 Add help text to subcommands.
This way they appear better in the console.
2024-05-08 03:53:17 +02:00
Sebastian Lenzlinger
3bbbbe52c0 Add command to list available NIC names. 2024-05-08 03:48:35 +02:00
Sebastian Lenzlinger
1f43b11177 Remove deprecated import from archive. 2024-05-08 03:47:09 +02:00
Sebastian Lenzlinger
8b7ad05ad6 Ensure tcpdump is installed before running capture command. 2024-05-08 03:45:55 +02:00
Sebastian Lenzlinger
7badc83530 SYNC May, 8th 2024. 2024-05-08 03:25:41 +02:00
Sebastian Lenzlinger
64788a1997 Move unused modules into archive. 2024-05-08 03:06:20 +02:00
Sebastian Lenzlinger
7ffbdda7ea Add test case to add-device subcommand 2024-05-08 02:56:49 +02:00
Sebastian Lenzlinger
2e95bd2fd2 Fix places where quote replacement lead to issues. 2024-05-08 02:52:37 +02:00
Sebastian Lenzlinger
e569eb3e5b Replace all double quotes strings with single quoted strings. 2024-05-08 02:46:14 +02:00
Sebastian Lenzlinger
266a669e5e Add test for device metadata file creation and fixes until test passed. 2024-05-08 02:36:07 +02:00
Sebastian Lenzlinger
a21312ee61 Corrections 2024-05-08 01:38:53 +02:00
Sebastian Lenzlinger
73771be70d Add preliminary implementation to load DeviceMetadata from data. 2024-05-08 00:52:25 +02:00
Sebastian Lenzlinger
27ae736f11 Implement custom to_json function for DeviceMetadata 2024-05-08 00:40:29 +02:00
Sebastian Lenzlinger
cb1ad33cae Implement custom to_json function for CaptureMetadata 2024-05-08 00:40:17 +02:00
Sebastian Lenzlinger
799414ad39 Remove getters and setters from DeviceMetadata class and change dependencies to use field access. 2024-05-08 00:03:18 +02:00
Sebastian Lenzlinger
6b73530943 Remove getters and setters from CaptureMetadata class and refactor dependencies to use field access. 2024-05-08 00:02:08 +02:00
Sebastian Lenzlinger
11e2c356fa Factor out pydantic. 2024-05-07 22:48:53 +02:00
Sebastian Lenzlinger
347d43dcef Refactor and add Logger 2024-05-07 19:24:56 +00:00
Sebastian Lenzlinger
b0a3fd951d Add bash file with functions to enable and disable monitor mode using either... 2024-05-02 17:15:51 +00:00