Stop scanning after the given duration "h:m:s" #340

Closed
ulissescastro opened this Issue Jun 25, 2013 · 12 comments

3 participants

@ulissescastro

Sometimes we need to run only in a specific window of time, and making Arachni "terminate" correctly without killing it will be awesome.

@Zapotek
Arachni - Web Application Security Scanner Framework member

You got it.

PS. Unfortunately, it's too late for v0.4.3.

@Zapotek Zapotek was assigned Jun 25, 2013
@champ1
@ulissescastro

Btw, this feature is good for cases when Arachni get a infinite looping. Happy you accepted, thx.

@Zapotek
Arachni - Web Application Security Scanner Framework member

This is for just the CLI interface right? Otherwise it wouldn't make much sense.

@ulissescastro

I think CLI and RPC, for the GUI doesn't make sense for me too.

@Zapotek
Arachni - Web Application Security Scanner Framework member

When you say RPC you mean the Instances in general or the arachni_rpc CLI client? Because the former is impossible.

@ulissescastro

Instances in general. In my case I'll use in only in CLI version.

@Zapotek
Arachni - Web Application Security Scanner Framework member

Yeah that's impossible, RPC instances are being controlled by a client, the client will need to keep track of the time that has elapsed so that it can abort the scan, retrieve the report and shutdown the Instance. If the Instance were to shut itself down the client wouldn't get a chance to grab the report.

I will implement this in the UIs though so it should cover you.

@Zapotek
Arachni - Web Application Security Scanner Framework member

This will have to wait for Arachni/arachni-rpc#1 in order to be implemented globally and in a clean manner.

@Zapotek
Arachni - Web Application Security Scanner Framework member

I think it's time to at last implement this. And now that hibernation has been implemented, you'll be able to chose to hibernate after the timeout has been reached, so that you'll be able to continue if need be.

Sorry it took me so long to get to this.

@Zapotek
Arachni - Web Application Security Scanner Framework member

Done.

@Zapotek Zapotek closed this May 23, 2014
@ulissescastro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment