Greenwolf / social_mapper

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

Different problems for different social medias #230

Open ofekdar opened 2 years ago

ofekdar commented 2 years ago

Hello, I installed and tried to test Social Mapper but in every social media I try it on, i run into a different problem For some, I made new accounts just to try it on them, and I tested logging into each one with the credentials I given, and they all work fine. Here are the problems i faced:

On Linked In it exits after prompting this (Solved in the edit below):

[*] Obtained new session: [...]
Traceback (most recent call last):
  File "social_mapper.py", line 1079, in <module>
    for i in range(0, len(content['elements'])):
KeyError: 'elements'

I tried printing the content object, all it contains is {status: 500} (generic error)

For Twitter, I get the following message before exiting: Twitter Login Page title field seems to have changed, please make an issue on: https://github.com/Greenwolf/social_mapper

And for Instagram, I get these warnings (Solved in the edit below):

[+] Instagram Login Page loaded successfully [+]
[path]/.local/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py:483: UserWarning: find_element_by_* commands are deprecated. Please use find_element() instead
  warnings.warn("find_element_by_* commands are deprecated. Please use find_element() instead")
[-] Instagram Login Failed [-]

Instagram Check [...]                               [path]/.local/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py:683: UserWarning: find_element_by_* commands are deprecated. Please use find_element() instead
  warnings.warn("find_element_by_* commands are deprecated. Please use find_element() instead")

[+] Instagram Login Page loaded successfully [+]
[+] Instagram Login Success [+]

[...searches...] 

Instagram and Twitter complete the search even after the error but they don't find anything with the default images that Social Mapper gives.

LinkedIn Edit: I didn't figure out why it didn't work but I tried running it again and it suddenly worked so I just hope that the problem won't return

Twitter Edit: I know the twitter problem is because the login page changed, but I can't figure out what to change to make it work again (except to change the title field to look for 'Twitter' instead)

Instagram Edit: The problem was that i was using an unstable version of selenium (4.0.0), when uninstalling it and installing version 3.141.0 stable, the warnings weren't displayed anymore