leebaird / discover

Custom bash scripts used to automate various penetration testing tasks including recon, scanning, enumeration, and malicious payload creation using Metasploit. For use with Kali Linux.
MIT License
3.41k stars 819 forks source link

syntax error #106

Closed anarchia1 closed 7 years ago

anarchia1 commented 7 years ago

Dear Lee,

I just used the ptf tool from Dave kennedy for upgrading all my tools and when I launched discover it get me following error

root@KL:~# discover /pentest/intelligence-gathering/discover/discover.sh: line 3652: syntax error near unexpected token <<<' /pentest/intelligence-gathering/discover/discover.sh: line 3652:<<<<<<< HEAD'

I had another pc with a previous version of discover without the ptf tool, I just update this discover and having the same error.

I have looking for the issue but I'm unable to find the problem sorry ... Please let me understand the problem.

Thanks in advance.

Kind regards,

anarchia1 commented 7 years ago

Dear Lee,

if I comment out the line 3652 till 3658 it's back working again.

Kind regards,

anarchia1 commented 7 years ago

Lee,

and if I let it run now, ge goes into recon-ng with follwing

[!] Script file '/pentest/intelligence-gathering/discover/passive.rc' not found.

Kind Regards,

L1ghtn1ng commented 7 years ago

The error with the head comment is due to a odd merge need to do some digging to fix it and not to sure with the RC file part


From: anarchia1 notifications@github.com Sent: Sunday, August 20, 2017 7:15:00 PM To: leebaird/discover Cc: Subscribed Subject: Re: [leebaird/discover] syntax error (#106)

Lee,

and if I let it run now, ge goes into recon-ng with follwing

[!] Script file '/pentest/intelligence-gathering/discover/passive.rc' not found.

Kind Regards,

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/leebaird/discover/issues/106#issuecomment-323601922, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADddQmqJFJFlK6y44BpXnFiXAdD1IuJNks5saHekgaJpZM4O8rlC.

anarchia1 commented 7 years ago

Ok thank you very much for you feedback.

It still work like expected getting all the info like designed only that it's opening recon-ng with the .RC file when you exit recon-ng the discover script continue opening all the sites and have gathering all the data.

Thanks,

Kind Regards,

L1ghtn1ng commented 7 years ago

I have fixed the first issue you was having so do a git pull to get the latest fix.

On Sun, 2017-08-20 at 17:55 +0000, anarchia1 wrote:

Dear Lee, if I comment out the line 3652 till 3658 it's back working again. Kind regards, — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

anarchia1 commented 7 years ago

Thank you.

I close this case problem solved.

Kind Regards,