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

Aquatone scans doesn't run due to urllist.txt not populated #37

Open
mandeeps13k opened this issue Feb 10, 2020 · 10 comments
Open

Aquatone scans doesn't run due to urllist.txt not populated #37

mandeeps13k opened this issue Feb 10, 2020 · 10 comments

Comments

@mandeeps13k
Copy link

Due to some recent changes in lazyrecon, in my each iteration of scan, aquatone doesn't run. This is due to the reason that urllist.txt file is not being populated. I get this error on the fresh installations of lazyrecon on ec2.

I tried with re-installing and the same error persists on different machines.

Screenshot 2020-02-10 at 1 34 29 PM

@incredincomp
Copy link
Contributor

incredincomp commented Feb 13, 2020

I am looking into this.

It looks like the error is coming from line 106

I may have broken the formatting for the while do done from line 102 - 105 when my editor cleared white space. Ill look into the dif and see. Sorry if this is because of my edit. Ill try and fix right away!

Edit: I never touched the hostalive function so I am not sure what is happening. Ill set up a new droplet and see if I can replicate the issue with a different domain and increase error verbosity.

my function never touches the urllist.txt file, only messes with the alldomains.txt. Could you verify that the file alldomains.txt contains things from the sublister and certspotter searches by cancelling the script right after it tells you Started dns records check... ?

Edit2: Okay so mine is doing the same for my own domain and it looks like the cause is

cat ./$domain/$foldername/cleantemp.txt | awk '{print $1}' | while read line; do

maybe even L194 too, either way, cat $domain.txt > alldomains.txt and cat cleantemp.txt >> alldomains.txt leaves alldomains.txt empty now.

Edit3: Shellcheck output. Ill start working on this to see if i can fix it, no ETA though.. OSCP studies you know
lazyrecon-error

@samuel-ouzounian
Copy link

Has something to do with the exclude domains script. After deleting it from lazyrecon.sh my url list is repopulated. "Chrome path /snap/bin/chromium does not exist" This is my new error.

@samuel-ouzounian
Copy link

Fixed chrome pat error, had to manually change path at top of lazyrecon.sh script.

@mandeeps13k
Copy link
Author

Hey @hackerman2015 , since you're getting it worked fine now, can you merge the changes in the repo?

@samuel-ouzounian
Copy link

Exclude Domains SS

The deleted lines shown above are all the lines of code I deleted out of the lazyrecon.sh file. I also had to change the chromium path in order for aquatone to work. This is shown below, only change it if you are getting an error regarding chromium's path while the application is running.

Chromium ss

With this fix the exclude domains function will no longer work, but aquatone works and as far as I can tell the rest of the program works perfectly as well.

@samuel-ouzounian
Copy link

I think the issue occurs when no excluded domain is set. I think the exclude domain function in lazyscript.sh removes all text instead of just excluded domains when nothing is set, just speculating but it’s worth testing.

@incredincomp
Copy link
Contributor

incredincomp commented Feb 16, 2020

Im going to add a check to see if -e has been defined so that if it hasnt, it will not run.

I dont know why my grep line removes everything if not set, thats not how i thought it worked. It is supposed to check the first file for matches in the second file and then only remove those matches.

Leads me to believe I may have missed something with the mv alldomains move arounds so the script would work without me touching other parts of it. SoB my bad yall sorry

incredincomp added a commit to incredincomp/lazyrecon that referenced this issue Feb 16, 2020
@incredincomp
Copy link
Contributor

Thank you for your help guys. This should help if you are not setting excluded domains. Cheers!

@samuel-ouzounian
Copy link

samuel-ouzounian commented Feb 16, 2020 via email

@Oumeir
Copy link

Oumeir commented Mar 20, 2020

I have the same problem and I can't fix it :'(

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

4 participants