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

recon-ng incompatibility #134

Closed WitcherDev closed 5 years ago

WitcherDev commented 5 years ago

Hi all, on my kali linux i have recon-ng version 5.0.0. I have discovered that Discover doesn't work with that version of recon-ng (which is the newest).

Troubles start with ./update.sh not installing proper recon-ng modules, and end with

recon-ng: error: unrecognized arguments: --no-check error when trying to run ./discover.sh on test.pl site.

https://pastebin.com/QUH49B56

When removing --no-check attribute we can clearly see root of the problem. Even first command:

woskspaces add test.pl result in an error, since 'add' is not listed as avaliable option.

https://pastebin.com/kfzt6bav

L1ghtn1ng commented 5 years ago

Hi thanks for the report and information, this will be looked at asap


From: Maciek notifications@github.com Sent: Thursday, July 25, 2019 1:48:22 PM To: leebaird/discover discover@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [leebaird/discover] recon-ng incompatibility (#134)

Hi all, on my kali linux i have recon-ng version 5.0.0. I have discovered that Discover doesn't work with that version of recon-ng (which is the newest).

Troubles start with ./update.sh not installing proper recon-ng modules, and end with

recon-ng: error: unrecognized arguments: --no-check error when trying to run ./discover.sh on test.pl site.

https://pastebin.com/QUH49B56

When removing --no-check attribute we can clearly see root of the problem. Even first command:

woskspaces add test.pl result in an error, since 'add' is not listed as avaliable option.

https://pastebin.com/kfzt6bav

— 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/134?email_source=notifications&email_token=AA3V2QUQCUL5Z5RXUWDDIN3QBGOJNA5CNFSM4IG2I5L2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HBPB5RA, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AA3V2QRJMVVNMNSLMG57JHTQBGOJNANCNFSM4IG2I5LQ.

leebaird commented 5 years ago

Removed --no-check. Replaced 'use' with 'modules load'. Replaced 'query' with 'db query'. Replaced 'workspaces add' with 'workspaces create'. Replace 'add company' with 'db insert companies'. Replace 'add domain' with 'db insert domains'.

PatrickFarley-Grant commented 4 years ago

Hi, does anyone know how to clear the dashboard in recon, im new at this so I would like some help

darvidor commented 4 years ago

@PatrickFarley-Grant if you want to clear the screen now you should use shell clear. In general shell . I've seeen in this version they change a lot of commands.

eliassal commented 4 years ago

Hi, I have downloaded the kali linux 2020, fresh new setup yesterday. "db insert domains" works fine but not "db insert companies I am getting the following error

[recon-ng][sierac][ipinfodb] > db insert companies Sierac [!] Columns and Values length mismatch

Also, can you please let me know what command to use for deleting a domain? Thanks

kpomeroy1979 commented 4 years ago

Hi,

I actually didn’t know the command to create a domain so thanks for mentioning it. I use the SQLLite browser in Kali and open the database and add a domain and company that way. Also, if you run discover scripts it will create the company and domain for you.

On Thursday, February 13, 2020, eliassal notifications@github.com wrote:

Hi, I have downloaded the kali linux 2020, fresh new setup yesterday. "db insert domains" works fine but not "db insert companies I am getting the following error

[recon-ng][sierac][ipinfodb] > db insert companies Sierac [!] Columns and Values length mismatch

Also, can you please let me know what command to use for deleting a domain? Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/leebaird/discover/issues/134?email_source=notifications&email_token=AH5LZHWZM7QMR3TPWRBMYO3RCVLMRA5CNFSM4IG2I5L2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELVGKKQ#issuecomment-585786666, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH5LZHUOUAFRAK6GTUH4OELRCVLMRANCNFSM4IG2I5LQ .