Jump to content

Using Variables in Chrome Enrollment Script


mobilejon

Recommended Posts

Posted

Does anyone know how to set variables in the script?

 

Ideally, I want to set powershell like variables for username, email, password at the top of the script so we can easily enroll Chromebooks for different users.

Posted

I guess you are referring to the Chromebook enrollment script that is available at https://ducktoolkit.com/

I don't have access to my Ducky at the moment, but I think that the version/variant of Ducky Script available to the Rubber Ducky doesn't allow the use of variables like that. The Bash Bunny would work though, but that's out of scope here. The below payload uses variables, but use "Ducky Script 2.0" that is not a part of the Rubber Ducky.
https://github.com/hak5/bashbunny-payloads/blob/master/payloads/library/android/open_url/payload.txt

Posted

I'd love to know how people are using the Chromebook scripts.

 

Maybe they're just enrolling hundreds of devices under one user because it can't be particularly easy.

Posted

Even though the Rubber Ducky is a useful tool, it wouldn't be my go to solution for this particular scenario. It all depends on the use case, but... even with only a small amount of Chromebooks to enroll, I would most likely select another path to glory than the little duck friend.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...