aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xporterbox6
1 files changed, 3 insertions, 3 deletions
diff --git a/porterbox b/porterbox
index 8316fb8..e03a4aa 100755
--- a/porterbox
+++ b/porterbox
@@ -18,11 +18,11 @@ print('-' * 68)
for machine_entry in machine_entries:
machine_data = machine_entry.find_all('td')
try:
- purpose = machine_data[3].text.strip()
- access = machine_data[5].text.strip()
+ purpose = machine_data[4].text.strip()
+ access = machine_data[6].text.strip()
if 'porterbox' in purpose:
hostname = machine_data[0].text.strip()
- architecture = machine_data[1].text.strip()
+ architecture = machine_data[2].text.strip()
if access == "":
access = "[unknown]"
machine_count += 1