[IGN-1726]Open Script Console and Console from an Event

I am trying to let the user have access to their own popup script console for them to test code during a session as well as let them have access to the Console to view information. I am not sure if this is even possible to create as they might be imbedded into the designer and not as part of the gateway. Please let me know if this is the case and if not how would I go about writing an event script to open them for the user.

This is a very bad idea. A really, truly, very bad idea.

Scripts in Perspective are actually running on the gateway. If you expose something like this, you’re allowing users to run totally arbitrary code on your gateway. If they want to get your DB passwords, it’s trivial. If they want to manipulate your filesystem - it’s easy. If they want to pivot to infecting everything else in your network - it’s possible. Even with restricted access and strong passwords, it’s a very risky thing to do that I would flinch away from reflexively.

4 Likes

Fixed it for you.

Anthony, seriously, don’t do this.

1 Like

What about at least access to Console information what you said makes complete sense though

Got it, Thanks