Greenwolf / social_mapper

A Social Media Enumeration & Correlation Tool by Jacob Wilkin(Greenwolf)
GNU General Public License v3.0
3.77k stars 785 forks source link

Unable to find a matching set of capabilities #41

Closed efdutra closed 6 years ago

efdutra commented 6 years ago

I do have all of the required tools installed and Ok on my Kali distro. but when i try to run a FACEBOOK only search i get this:

root@kali:~/social_mapper# python social_mapper.py -f csv -i /root/social_mapper/csv.csv -m accurate -fb
[-] Error Filling out Facebook Profiles [-]
Message: Unable to find a matching set of capabilities

[-]

Results file: SM-Results/-root-social_mapper-csv.csv-social-mapper.csv
HTML file: SM-Results/-root-social_mapper-csv.csv-social-mapper.html

Image folder: SM-Results/-root-social_mapper-csv.csv-social-mapper

Task Duration: 0:00:02.156552
root@kali:~/social_mapper#

If i try any other social media, this happens:

root@kali:~/social_mapper# python social_mapper.py -f csv -i /root/social_mapper/csv.csv -m accurate -ig
Traceback (most recent call last):
  File "social_mapper.py", line 1116, in <module>
    peoplelist = fill_instagram(peoplelist)
  File "social_mapper.py", line 295, in fill_instagram
    InstagramfinderObject = instagramfinder.Instagramfinder(showbrowser)
  File "/root/social_mapper/modules/instagramfinder.py", line 19, in __init__
    self.driver = webdriver.Firefox()
  File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/firefox/webdriver.py", line 167, in __init__
    keep_alive=True)
  File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 156, in __init__
    self.start_session(capabilities, browser_profile)
  File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 251, in start_session
    response = self.execute(Command.NEW_SESSION, parameters)
  File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 320, in execute
    self.error_handler.check_response(response)
  File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: Unable to find a matching set of capabilities

Can anyone help me ?

DannyMatar commented 6 years ago

Try using this fix #19 . By Snorkeldink:

That's a different issue not relevant here ... use this python script below for testing (change the path of geckodriver to where you put it). If all works, it should open your latest firefox on seleniumhq website.


from selenium import webdriver

browser = webdriver.Firefox(executable_path='/usr/bin/geckodriver')
browser.get('http://seleniumhq.org/')

``
LBraccoPutta commented 6 years ago

@efdutra , download latest version of geckodriver for latest firefox or correct one for your "old" firefox.

efdutra commented 6 years ago

@LBraccoPutta im using lastest version of both

Green-Wolf commented 6 years ago

This does appear to be an issue with your selenium install. Can you verify is the code @DannyMatar posted works for you?

Soutcast commented 6 years ago

I have the same issue as @efdutra and the code that @DannyMatar posted does not work for me. Does that mean it is an issue with the Selenium install?

Soutcast commented 6 years ago

I am using Kali Linux 2017 with the default Firefox-ESR installed. I have the latest version of geckodriver.

Soutcast commented 6 years ago

I have also installed all of the requirements and there were no errors that I know of.

Green-Wolf commented 6 years ago

Hi @Soutcast, yes i'm afraid if the code that @DannyMatar does not work for you the problem is with your selenium install. I believe someone posted in another issue that Firefox-ESR on kali needs an older compatible version of geckodriver. Have a look back through the issues and look online for guides on how to get selenium working on your OS/version

Soutcast commented 6 years ago

@Green-Wolf what OS do you use as I might use your OS if you have social mapper working without errors.

efdutra commented 6 years ago

@Green-Wolf im not using Firefox-ESR, i've updated it to the latest and removed the ESR version. Also i got the geckodriver latest too.

The code that @DannyMatar posted, also didn't worked for me.

Im still stuck on this, BUT it only happens on my Kali (also using the latest).

I've tryied on my Mac Sierra, did work just fine (needed to install some other tools, but worked well)

Soutcast commented 6 years ago

@efdutra what extra tools did you install to get it working? As I have been unable to get it working on mac.

Green-Wolf commented 6 years ago

@Soutcast I'm using OSX to run it like @efdutra. I would also be interested in which other tools you installed?

Green-Wolf commented 6 years ago

Would be great if anyone using Kali could share what steps they used to get it working/if you ran into problems/if it worked smoothly

Soutcast commented 6 years ago

@Green-Wolf @efdutra, Do you know if this is just Kali specific or an error experienced on all Linux versions. Has anyone got it working on Linux versions other than Kali?

efdutra commented 6 years ago

@Soutcast i installed https://www.xquartz.org on my Mac.

Green-Wolf commented 6 years ago

Seems to be resolved, thanks to everyone for feeding back the steps you took. I've updated the Readme.md and mac install instructions to reflect the need to install a more up to date version of Firefox on Kali, and xquartz and xcode on Mac.