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

Multiple warnings related to datamapper String max length and preventing the recording of devices. #112

Open
rjmendez opened this issue Sep 28, 2017 · 3 comments

Comments

@rjmendez
Copy link

I've been seeing these warnings in my log and have a possible workaround.

W, [2017-09-28T13:47:38.324982 #7280]  WARN -- : le_company_data: ["Le company data must be at most 50 characters long"] (01092000c8ffb4ba13fd178e8d41224d6e6b445897ed4fc1ef5d57)
W, [2017-09-28T13:47:54.471425 #7280]  WARN -- : 2E:30:17:25:84:B1 can not save.
W, [2017-09-28T13:47:54.471755 #7280]  WARN -- : le_company_data: ["Le company data must be at most 50 characters long"] (01092000c8ffb4ba13fd178e8d41224d6e6b445897ed4fc1ef5d57)
W, [2017-09-28T13:47:54.542804 #7280]  WARN -- : 2E:30:17:25:84:B1 can not save.
W, [2017-09-28T13:47:54.543110 #7280]  WARN -- : le_company_data: ["Le company data must be at most 50 characters long"] (01092000c8ffb4ba13fd178e8d41224d6e6b445897ed4fc1ef5d57)
W, [2017-09-28T13:48:42.977071 #7280]  WARN -- : 2E:30:17:25:84:B1 can not save.
W, [2017-09-28T13:48:42.987053 #7280]  WARN -- : le_company_data: ["Le company data must be at most 50 characters long"] (01092000c8ffb4ba13fd178e8d41224d6e6b445897ed4fc1ef5d57)
W, [2017-09-28T13:48:51.472923 #7280]  WARN -- : 2E:30:17:25:84:B1 can not save.
W, [2017-09-28T13:48:51.474397 #7280]  WARN -- : le_company_data: ["Le company data must be at most 50 characters long"] (01092000c8ffb4ba13fd178e8d41224d6e6b445897ed4fc1ef5d57)
W, [2017-09-28T13:48:51.521802 #7280]  WARN -- : 2E:30:17:25:84:B1 can not save.
W, [2017-09-28T13:48:51.522820 #7280]  WARN -- : le_company_data: ["Le company data must be at most 50 characters long"] (01092000c8ffb4ba13fd178e8d41224d6e6b445897ed4fc1ef5d57)
W, [2017-09-28T13:49:39.793994 #7280]  WARN -- : 1A:82:30:80:7B:7E can not save.
W, [2017-09-28T13:49:39.794447 #7280]  WARN -- : le_company_data: ["Le company data must be at most 50 characters long"] (01092000c8ffb4ba13fd178e8d41224d6e6b445897ed4fc1ef5d57)
W, [2017-09-28T13:50:44.588113 #7280]  WARN -- : 1A:82:30:80:7B:7E can not save.
W, [2017-09-28T13:50:44.594621 #7280]  WARN -- : le_company_data: ["Le company data must be at most 50 characters long"] (01092000c8ffb4ba13fd178e8d41224d6e6b445897ed4fc1ef5d57)
W, [2017-09-28T13:51:12.366025 #7280]  WARN -- : 1A:82:30:80:7B:7E can not save.
W, [2017-09-28T13:51:12.368409 #7280]  WARN -- : le_company_data: ["Le company data must be at most 50 characters long"] (01092000c8ffb4ba13fd178e8d41224d6e6b445897ed4fc1ef5d57)

I've changed the datamapper type from "String" to "Text" to get past this limit but I'm unsure of the consequences.
rjmendez@4f6f3c6

Resulting output is below, I'm not sure of the devices but I suspect it is related to Surface tablets.

rjmendez@Stone:~$ sqlite3 -header -csv /opt/pwnix/data/blue_hydra/blue_hydra.db "select status,name,address,vendor,company,company_type,manufacturer,le_company_data from blue_hydra_devices;" | grep Microsoft
offline,,1A:XX:XX:XX:XX:XX,"N/A - Random Address","Microsoft (6)",,,01092000c8ffb4ba13fd178e8d41224d6e6b445897ed4fc1ef5d57
offline,,3D:XX:XX:XX:XX:XX,"N/A - Random Address","Microsoft (6)",,,0109200076b847da2b57e89f417ceec5d928b3f7055ec8b04b5542
offline,,28:XX:XX:XX:XX:XX,"N/A - Random Address","Microsoft (6)",,,0109200040ef29f297eb4faaae7ff47ff0506127d6258eef8c24b3
online,,3B:XX:XX:XX:XX:XX,"N/A - Random Address","Microsoft (6)",,,0109200040ef29f297eb4faaae7ff47ff0506127d6258eef8c24b3
@ZeroChaos-
Copy link
Contributor

heh, good news, we are removing datamapper pretty soon :-)

@rjmendez
Copy link
Author

This works for me for now at least. I'll try to pinpoint the device in our office and get more details now that its being recorded.

@marc-y-marc
Copy link

Thanks, works for now!

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

3 participants