Forum Discussion

MikeyB's avatar
MikeyB
Bronze I
21 days ago

AI: Plugin Injection - Demonstrate Your Skills

I cannot get the token.txt contents. I have tried

1. The following command in many forms (head, less, cat): 

2. Attempted the command many times in the same session. Get a response that is about the same as above.

3. Restarted the systems many times. Tried it many different days.

4. Listed out plugins thought chat and do not see DirectoryListingPluginOld 

 Really would like to complete this lab.

Thanks!

 

 

7 Replies

  • SamDickison's avatar
    SamDickison
    Icon for Community Manager rankCommunity Manager

    Hi MikeyB​, our support don't give hints for Demonstrate labs, but hopefully a Community member will come to your aid!

  • The DirectoryListingPluginOld is not appearing in the list of plugins. Can you tell me is that supposed to be the case?

    • SamDickison's avatar
      SamDickison
      Icon for Community Manager rankCommunity Manager

      From what I've seen, that plugin may not be appearing because often depreciated or vulnerable plugins aren't disclosed in a standard help/list.

      I've never done this lab but if you remove the '&& less', it sounds like you can read the contents of the file?

      • MikeyB's avatar
        MikeyB
        Bronze I

        From my understanding there isn't anything in the AI code files for the SYSAI agent in the lab that would prevent it from being shown. Maybe there is some other config that  cannot see that controls that.

        The behavior I'm seeing suggests that the function doesn't exist at all and is why I cannot complete the lab.

  • MikeyB​ if you don't see the `DirectoryListingPluginOld` plugin on the list, then how do you know that you should use it?

    My hint is to find first the source code of the app, and read it

    • MikeyB's avatar
      MikeyB
      Bronze I

      I was able to read the /opt/sysai/plugins.py through the SysAI chat. 

      There is a function that is registered there: