Closed li-baige closed 1 year ago
@li-baige
To Pull
docker pull projectdiscovery/naabu:latest
To Run:
docker run -it projectdiscovery/naabu:latest -host example.com
Yes, I want to take naabu out of your container and install it into my project. My project inherits naabu, so I let it scan a time-consuming project through your command. In this During the process, I quickly entered the container and saved it locally, but when I run the command in my project: command = ['./naabu', '-silent', '-l', target_file, '-ports-file', portfile, '-json', '-o', out_file_name, '-nmap-cli', naabu_nmap_cmd], naabu reported an error: [FTL] Could not run enumeration: Could not run nmap command: exit status 1 My Docker is based on python:3.8-alpine3.13, what is the problem?
I'm very sorry, it's my problem. When I run it alone in the container, I found that I didn't add the nmap script file, so I added: "apk add nmap-scripts " in my Dockerfile, and now everything works fine .
My computer is Mac for ARM, so I want to package naabu into my Docker container, of course my container is also Linux for ARM, so I hope Sitting can provide this help so that I can use it in my project。