Getting Started


PI Web API Basics.

Introduction to PI Web API and basic connections



Challenges

Hello PI Web API

Your first interaction with the PI Web API! Make a GET request to the root endpoint to discover the API.

Objective

Send a GET request to /piwebapi/ to get information about the PI Web API server.

Example

curl http://challenge/piwebapi/

The flag will be revealed when you successfully query the API root.

Connect with SSH

Link your SSH key, then connect with: ssh hacker@dojo.idg.ctf

API Discovery

PI Web API uses a self-documenting structure. Navigate through the API to find the Data Server.

Objective

  1. Start at /piwebapi/
  2. Follow the DataServers link
  3. Find the data server named "PI-SERVER-01"

Hints

  • Each response contains links to related resources
  • Data servers host the PI Points
curl http://challenge/piwebapi/dataservers

Connect with SSH

Link your SSH key, then connect with: ssh hacker@dojo.idg.ctf

PI Web API Authentication

PI Web API supports various authentication methods. This challenge uses Basic Auth.

Objective

Authenticate to the API using:

  • Username: piuser
  • Password: pipass123

Then access the protected endpoint /piwebapi/system/status

Example

curl -u piuser:pipass123 http://challenge/piwebapi/system/status

Connect with SSH

Link your SSH key, then connect with: ssh hacker@dojo.idg.ctf

30-Day Scoreboard:

This scoreboard reflects solves for challenges in this module after the module launched in this dojo.

Rank Hacker Badges Score