49 Commits

Author SHA1 Message Date
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
Sebastian Lenzlinger
5cc7e2bae0 Setup testing structure 2024-05-02 06:01:05 +02:00
Sebastian Lenzlinger
2ee3a06f09 Add test module. 2024-05-02 04:32:40 +02:00
Sebastian Lenzlinger
a78222a0e6 Devel 2024-05-02 02:08:09 +00:00
Sebastian Lenzlinger
fa48b15fc7 SYNC commit. 2024-03-26 04:02:05 +01:00
Sebastian Lenzlinger
e213eee8ab Add outline/ overview of what must be done to setup IoT experiment environment. 2024-03-26 01:26:11 +01:00
Sebastian Lenzlinger
000cf610df Update. 2024-03-25 22:41:44 +01:00
Sebastian Lenzlinger
299912e1b9 REFPOINT/TEST: Add prelim dhcp, nat config script. 2024-03-19 14:18:16 +01:00
Sebastian Lenzlinger
00fb396a49 Try dnsmasq and hostapd setup from medium.com/p/3c18760ef73. 2024-03-19 03:08:29 +01:00
Sebastian Lenzlinger
a44719257a Upadte some notes. 2024-03-18 12:17:05 +01:00
Sebastian Lenzlinger
cde2e16091 Add script to setup Wifi Adapter as Access Point.
Currently hard coded to the interface of personal laptop.
2024-03-13 18:04:03 +01:00
Isabel Wagner
ce7fae730b Add new directory 2023-07-28 08:51:58 +00:00