GhostTroops/scan4all

OUTPUT feature does not work at all.

secfb opened this issue · 5 comments

secfb commented

Hello, first of all you have made a really good tool.
I'm starting a simple scan on the application and I want to view the results in a file. But this feature never really works.

When I use it as below, it doesn't save anything in the result.txt file.
scan4all -l httpx.txt -v -o result.txt

OUTPUT:
   -o, -output string  file to write output to (optional)
   -json               write output in JSON lines format
   -csv                write output in csv format

I am using the following command to display the results. Sometimes this command doesn't quite work.

scan4all -l httpx.txt -v |tee scan4all.txt

It is recommended to build an es server to receive it. It is too busy at present. This repair will take some time, or come back and try our pro version for you.

secfb commented

It is recommended to build an es server to receive it. =>How exactly does this happen? Can you provide some information?

1、
docker run --restart=always --ulimit nofile=65536:65536 -p 9200:9200 -p 9300:9300 -d --name es -v $PWD/logs:/usr/share/elasticsearch/logs -v $PWD /config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml -v $PWD/config/jvm.options:/usr/share/elasticsearch/config/jvm.options -v $PWD/data:/ usr/share/elasticsearch/data hktalent/elasticsearch:7.16.2

2、
config.json
config:
"enableEsSv": true,
"esUrl": "https://127.0.0.1:8081/%s_index/_doc/%s",

more
README.md

secfb commented

Thank you for the answer. It's like it's not working. I am using the tee command.