SharkCagey / SharkCage

1 stars 3 forks source link

Cage configuration tool #49

Closed DonatJR closed 6 years ago

DonatJR commented 6 years ago

~WIP: code to capture image from webcam is still missing but everything else can be reviewed~ Edit: webcam capture should now work correctly

image

example config generated (token string truncated):

{
  "application_name": "Google Chrome",
  "application_path": "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe",
  "has_signature": true,
  "binary_hash": "5399DDEE909C797705D4008EAFD471525FC1BE785B8C6DDDA27B6A5937305FF477CA8D250D6DD763EAEF033C0A4A13F76720234BE7F57CE585A57324B1C4243B",
  "token": "iVBORw0KGgoAAAANSUhEUgAAAoAAAAKOCAIAAAC5pT8EAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAP+lSURBVHhezP1ldBxJvu6Nzpe77j17prvNLJZKzMzMJWZmlkpQolKJmVmWmRvc7WZmZm43M5jEKjHZvk/kX8quke3eM/vMed+j9axYkVFZqcrIiPjFExkZ+TdNgapAQ0VDXR...",
  "token_format": ".png",
  "additional_application": "None",
  "additional_application_path": "",
  "creation_date": 1528201183,
  "config_version": 1
}
SailReal commented 6 years ago

@DonatJR pls ping me as soon as the RP is ready to merge then I'll look into the code asap.

DonatJR commented 6 years ago

@SailReal ping :)

SailReal commented 6 years ago

Hmm I get an exception when I try to capture an image using the webcam and while storing the file, that's the config I used: screen shot 2018-06-06 at 1 07 07 am

After saving the config, the following exception occurred: screen shot 2018-06-06 at 1 06 17 am

Tried it a few times with always the same result.

DonatJR commented 6 years ago

Should be fixed :+1:

SailReal commented 6 years ago

👍👍👍👍👍