Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

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

Closed
ulissescastro opened this Issue · 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
Owner

You got it.

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

@Zapotek Zapotek was assigned
@champ1
@ulissescastro

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

@Zapotek
Owner

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
Owner

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
Owner

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
Owner

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

@Zapotek
Owner

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
Owner

Done.

@Zapotek Zapotek closed this
@ulissescastro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.