Jump to content

Accessing Module via cURL using token ... How???


MAC Jaeger

Recommended Posts

On the Hak5 web page that shows API authentication, it gives an example of :

{
  "system": "notifications",
  "action": "addNotification",
  "message": "Hello World!",
  "apiToken": "7365626b696e6e652063616e7420636f6465202724ef6b5d7ac0b800cc83d474e8e007"
}

What other options are there for system and action?  I'm authenticating OK with a status of 200.  I'm trying to access a GUI module that I wrote so I was wondering if there were other options here that I might need to load that module page?  Also is "System" the same as "module" and I assume "action" is the same as action in the module.js scripts?  I'm trying to write a php script using cURL to open the module page I created.

Any help would be greatly appreciated.

 

Thanks.

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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