Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running axiom-fleet deletes input file #104

Closed
tedmdelacruz opened this issue Sep 16, 2020 · 4 comments
Closed

Running axiom-fleet deletes input file #104

tedmdelacruz opened this issue Sep 16, 2020 · 4 comments

Comments

@tedmdelacruz
Copy link

tedmdelacruz commented Sep 16, 2020

I have been trying out axiom-fleet and I noticed that axiom-fleet "host/path/to/domains.txt" -m=amass -o=outfile.txt deletes "host/path/to/domains.txt"

I think this is because of rm $src here:

Please let me know if I'm doing it wrong 😅

Huge fan of axiom, I'll try and contribute to this project soon! Cheers!

@ankushgoel27
Copy link

Same here. axiom-scan also deletes input file

@pry0cc
Copy link
Owner

pry0cc commented Oct 19, 2020

The problem here is that we're cd'ing into a new directory, we should hard-code the input file and move it.

Like mv $src input.txt, then rm input.txt, rather than the src. It's because you're doing absolute path referencing. If you ran it against the local file, say axiom-scan input.txt it'll work fine. Just need to refactor that. I need to refactor a lot of scan, it needs some love :D

@tedmdelacruz
Copy link
Author

Cool, I'll check it out too! 🙇 cheers!

@pry0cc
Copy link
Owner

pry0cc commented Nov 9, 2020

Axiom-scan v2 should fix this, can anybody confirm?

@pry0cc pry0cc closed this as completed Nov 11, 2020
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants