From the course: Python: Pen Testing AWS

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Solution

Solution - Python Tutorial

From the course: Python: Pen Testing AWS

Start my 1-month free trial

Solution

(bright music) - [Instructor] Okay, let's look at my solution to the code challenge. The part A application uses the Enumeration button to trigger a numeration of all services. And so we don't have to worry about any additional screen controls. Let's check out the code at line 480 which is similar to the other region's specific code snippets. We've changed the service on the client creation to be DynamoDB. At line 487, we've made a service function call to list tables. Following this, we loop with the Jason list identifier set to table names. At line 491, we'll report this as a DynamoDB table and the table name and identifier are both just the entry X2. And that's it, let's run this. I'll run using the default profile. Okay, we've finished and we can see that we've picked up the complete set of resources now including our DynamoDB table.

Contents