fyoorer / ShadowClone

Unleash the power of cloud
Apache License 2.0
734 stars 98 forks source link

Issue: `nuclei` Command Not Working with ShadowClone #61

Closed MustafaSky closed 4 months ago

MustafaSky commented 4 months ago

Description: I encountered an issue while using ShadowClone with the following command:

python shadowclone.py -i httpx_hackerone_new_subdomains.txt -c "nuclei -duc -l {INPUT} -t /nuclei-templates/http/exposures/configs/phpinfo-files.yaml -config-directory /tmp/"

While httpx and subfinder work fine, the nuclei command fails with exit code 2. I have tried multiple times but couldn't resolve the issue.

Error Details: The error messages I receive are:

Encountered a bad command exit code!
Command: 'nuclei -duc -l /tmp/infile -t /nuclei-templates/http/exposures/configs/phpinfo-files.yaml -config-directory /tmp/'
Exit code: 2
Stdout: already printed
Stderr: already printed

A screenshot of the error is attached for reference.

Attempts to Resolve:

image

MustafaSky commented 4 months ago
python shadowclone.py -i httpx_hackerone_new_subdomains.txt -c "/go/bin/nuclei -duc -l {INPUT} -t /nuclei-templates/http/exposures/configs/phpinfo-files.yaml -config-directory /tmp/"

image

fyoorer commented 4 months ago

can you try

python shadowclone.py -i httpx.txt -s 1 -c "nuclei -duc -l {INPUT} -t /nuclei-templates/http/miscellaneous/robots-txt.yaml"
MustafaSky commented 4 months ago

Thank you very much; it finally works!