FleexSecurity / fleex

Fleex makes it easy to create multiple VPS on cloud providers and use them to distribute workloads.

Home Page:https://fleexsecurity.github.io/fleex-docs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Folder output not supported

MPaandeey opened this issue · comments

i scan list of web with gowitness and the output not processed by fleex got error not a regular file.

Command

fleex scan -i test -o screenshot -c "cat {{INPUT}} | gowitness file -f {{INPUT}} --threads 2 --screenshot-path {{OUTPUT}}"

Error

FATA[0016] Failed to get file: failed to read scp message header: err=scp: /tmp/fleex-1626745411693753043-chunk-out-pwn-1: not a regular file

commented

Hi,
sorry for waiting, i have solved the problem, now with fleex you can also receive folders as output.
Update Fleex with:

go clean -i -n github.com/sw33tLie/fleex 
GO111MODULE=on go get -u github.com/sw33tLie/fleex

and try to use gowitness in distributed mode

fleex scan -i test -o screenshot -c "cat {{INPUT}} | gowitness file -f {{INPUT}} --threads 2 --screenshot-path {{OUTPUT}}"
fleex scan -i test -o screenshot -c "source ~/.zshrc;cat {{INPUT}} | gowitness file -f {{INPUT}} --threads 2 --screenshot-path {{OUTPUT}}"

Let us know if the problem persists

Now Working

fleex scan -i domain -o screenshots -c "cat {{INPUT}} | gowitness file -f - --threads 10 --screenshot-path {{OUTPUT}}"