Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PwnDoc Nmap no import, Kali Linux #428

Open
Bagiadrums opened this issue Dec 20, 2022 · 6 comments
Open

PwnDoc Nmap no import, Kali Linux #428

Bagiadrums opened this issue Dec 20, 2022 · 6 comments

Comments

@Bagiadrums
Copy link

Bagiadrums commented Dec 20, 2022

I am trying to use the nmap import feature, but I cant get it to work.
The Command that I use to do the map scan is:
sudo map XXX.XXX.XXX.0/24 -oX myscanresults.xml

Then I tried to import my xml File at my audit, but it did nothing, so I was wondering what's wrong.
I defined a scop, but I wrote just something:
image

Please help:)

@Zeecka
Copy link
Collaborator

Zeecka commented Dec 20, 2022

The IP need to be added to the audit scope. Then import the XML and select the right IP.

@Bagiadrums
Copy link
Author

Bagiadrums commented Dec 22, 2022

Could you give a example for the scope Syntax?
My scanned scope is 192.168.3.0/24

@Zeecka
Copy link
Collaborator

Zeecka commented Dec 23, 2022

It works for the 3 following syntaxes:
image
image
image

Note: my nmap command is:

sudo nmap -sS 192.168.0.1/24 -oX 192.168.0.1_24.xml

@Bagiadrums
Copy link
Author

Bagiadrums commented Dec 26, 2022

Hello thanks for the answer.
This isn't working for me either. :(

I think the import of the nmap scan causes the Problem.
I tried it on Edge, Firefox and Safari.
I don't get the green Box "Successfully imported XX hosts" as seen in your screenshot.
I have pwn doc on my exsi -> Kali -> docker compose.
I did the setup as explained.
Any Idea?

I use the latest Pwndoc
Node v16.16.0
Kali Release: 22.4
Docker version 20.10.21+dfsg1

@Zeecka
Copy link
Collaborator

Zeecka commented Dec 29, 2022

OK I can reproduce:

image

It used to work but it doesnt work anymore. I dig a bit but couldn't find why https://github.com/pwndoc/pwndoc/blob/master/frontend/src/pages/audits/edit/network/network.js#L26 is always empty. https://github.com/pwndoc/pwndoc/blob/master/frontend/src/pages/audits/edit/network/network.js#L134 seems to never be called too.

I won't take too much time digging on an obsolete codebase. I suggest you to switch to https://github.com/pwndoc-ng/pwndoc-ng/ :).

@Bagiadrums
Copy link
Author

Thanks. Yes I will look forward to switching.

@Bagiadrums Bagiadrums changed the title What nmap command for the right Input PwnDoc Nmap no import, Kali Linux Jan 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants