tyki6 / rawsec_cli

Rawsec's Cybersecurity Inventory cli. Search pentesting tools, resources, ctf, os.
https://inventory.raw.pm
MIT License
24 stars 6 forks source link

empty result rows #17

Closed noraj closed 3 years ago

noraj commented 3 years ago

Describe the bug

When doing rawsec list os I see two empty rows at the end:

image

Expected behavior

No blank rows.

Using git main branch.

tyki6 commented 3 years ago

Ok i found the bug rawsec-cli list os project_transferred:

|-----|-----|-----------|-----|
|os   |base |description|link |
|=============================|
|     |     |           |     |
|-----|-----|-----------|-----|
|     |     |           |     |
|-----|-----|-----------|-----|

It's because Project transferred have rows named: (from, to) and not (os, base, description, link). Capture

I will cut this cateogry in rawsec-cli list os but keep rawsec-cli list os project_transferred with good data (from, to) I'm fixing this tommorrow.

tyki6 commented 3 years ago

rawsec-cli list os:

|---------------------|------------------|-------------------------------------------------------------------------------------------------------|------------------------------------------------------|
|Live Hacking         |Ubuntu            |penetration testing and security lab                                                                   |http://www.livehacking.com/live-hacking-cd/           |
|---------------------|------------------|-------------------------------------------------------------------------------------------------------|------------------------------------------------------|
|Matriux              |Debian            |penetration testing and security lab                                                                   |https://sourceforge.net/projects/matriux/             |
|---------------------|------------------|-------------------------------------------------------------------------------------------------------|------------------------------------------------------|
|NodeZero             |Ubuntu            |penetration testing and security lab                                                                   |https://sourceforge.net/projects/nodezero/            |
|---------------------|------------------|-------------------------------------------------------------------------------------------------------|------------------------------------------------------|
|STD                  |Debian            |penetration testing and security lab                                                                   |https://s-t-d.org/                                    |
|---------------------|------------------|-------------------------------------------------------------------------------------------------------|------------------------------------------------------|

Total projects found: 40

And rawsec-cli list os project_transferred:

|-----------|---------------|
|from       |to             |
|===========================|
|ArchAssault|BlackArch Linux|
|-----------|---------------|
|Backtrack  |Kali Linux     |
|-----------|---------------|

Total projects found: 2