fyoorer / ShadowClone

Unleash the power of cloud
Apache License 2.0
718 stars 95 forks source link

Running amass and findomain with shadowclone #66

Open marcelo321 opened 1 month ago

marcelo321 commented 1 month ago

Anyone got amass working with shadowclone?

/go/bin/amass enum -df {INPUT} --passive -timeout 1 -nocolor works for me, but sometimes the print information bugs out.

I tried /go/bin/amass enum -df {INPUT} --passive -timeout 1 -nocolor -o out; cat out, just saving output to out, and then printing that file, but that gives Encountered a bad command exit code and no idea why, the command has no errors.

With findomain I had no luck, I tried directly downloading the binary and then calling it from shadowclone and always gives bad command error, no matter what I try. if anyone has sucesfully installed and run findomain please let me know how!

MustafaSky commented 1 month ago

Hi @marcelo321 , whenever I try to run Amass, i get this error

2024-08-11 08:59:33,157 [INFO] handler.py:177 -- Lithops v3.4.1 - Starting AWS Lambda execution 2024-08-11 08:59:33,793 [INFO] aws_s3.py:59 -- S3 client created - Region: us-east-1 2024-08-11 08:59:33,875 [INFO] jobrunner.py:234 -- Going to execute 'execute_command_arr()' ---------------------- FUNCTION LOG ---------------------- failed to parse the domain names file: error reading the first 512 bytes from /tmp/infile: EOF Error in running the command:amass enum -df /tmp/infile --passive -timeout 1 -nocolor

2024-08-11 08:59:40,950 [INFO] jobrunner.py:240 -- Success function execution
2024-08-11 08:59:40,951 [INFO] jobrunner.py:312 -- Process finished