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

Unable to Generate 23 Features #3

Open
RajaMuz opened this issue Dec 9, 2018 · 2 comments
Open

Unable to Generate 23 Features #3

RajaMuz opened this issue Dec 9, 2018 · 2 comments

Comments

@RajaMuz
Copy link

RajaMuz commented Dec 9, 2018

Hello,Great work,Sir

@andypitcher
Copy link
Owner

Hi RajaMuz,
Thanks for your interest,
You don't have to use Linux, however since this script is not too generic, you want to make sure you are using a directory that contains device(s) with such a path ./iot_fingerprint.py -d captures_IoT_Sentinel/captures_IoT-Sentinel/ where captures_IoT_Sentinel/captures_IoT-Sentinel/ contains devices' directory.

➜ IoT_Sentinel git:(master) tree captures_IoT_Sentinel/captures_IoT-Sentinel | head -5
captures_IoT_Sentinel/captures_IoT-Sentinel
├── Aria
│   ├── _iotdevice-mac.txt
│   ├── Setup-A-1-STA.pcap
│   ├── Setup-A-2-STA.pcap

In this case you don't need to specify the Device_Label manually, since it is generated by the program itself once it reads through each directory. This said, if you want to test against only one device, with one pcap, you could try this:

./iot_fingerprint.py -i captures_IoT_Sentinel/captures_IoT-Sentinel/D-LinkCam/Setup-A-1-STA.pcap -l D-LinkCam -o csv_result_dlinkcam/

Feel free to update this code, since it needs to be more improve for a generic use,

Cheers!

@andypitcher
Copy link
Owner

RajaMuz,
The script has been developed on a Linux 64bit with python V2.
Depending on the size of your dataset, I would recommend to test the script with one device and few pcaps, to begin with, and see if the memory error remains.
Thanks

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

No branches or pull requests

2 participants