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

Script is not creating folders #35

Closed
natv opened this issue Dec 22, 2015 · 2 comments
Closed

Script is not creating folders #35

natv opened this issue Dec 22, 2015 · 2 comments

Comments

@natv
Copy link

natv commented Dec 22, 2015

Hello,

Running into an issue running this on Kali 2.x

Here's an example:

Choice: 1

Usage

Company: Target
Domain: target.com

Company: Walmart
Domain: walmart.com
cp: target ‘/root/data/walmart.com’ is not a directory
sed: can't read /root/data/walmart.com/index.htm: No such file or directory
mv: cannot move ‘tmp’ to ‘/root/data/walmart.com/index.htm’: No such file or directory

dnsrecon (1/26)

goofile (2/26)

goog-mail (3/26)
./discover.sh: line 210: /opt/discover: Is a directory

goohost
IP (4/26)
./discover.sh: line 222: /opt/discover: Is a directory
Email (5/26)
./discover.sh: line 224: /opt/discover: Is a directory
cat: report-: No such file or directory
rm: cannot remove ‘
-walmart.com.txt’: No such file or directory

theHarvester
Baidu (6/26)
Bing (7/26)

Please advise how to fix this.

Thanks

@ninewires
Copy link
Collaborator

You likely have discover.sh in an additional path (trash?), which is being grabbed instead of /opt/discover/

Do the following:
locate discover.sh
Remove discover.sh from all paths except /opt/discover/
If you need a separate copy, it will need to be renamed (ex. discover-copy.sh) to not conflict with Discover validating its path
updatedb

Run Discover again & report back on your results

@natv
Copy link
Author

natv commented Dec 23, 2015

Thanks jayw0k that worked, I just needed to also do an 'updatedb' after renaming the other discover.sh scripts and it's running now :)

@natv natv closed this as completed Dec 23, 2015
@ninewires ninewires mentioned this issue Jan 9, 2016
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

2 participants