Coder Social home page Coder Social logo

5h4d0wb0y / socialbrute Goto Github PK

View Code? Open in Web Editor NEW
336.0 12.0 38.0 68 KB

It attempts to crack social networks using a brute force dictionary attack.

Home Page: https://socialbrute.readthedocs.io/

License: Other

Python 91.99% Makefile 8.01%
crack social-network bruteforce-password-cracker facebook twitter instagram gmail hotmail yahoo vk

socialbrute's Introduction

socialbrute

image

image

Documentation Status

image

image

SocialBrute attempts to crack a social network using a brute force dictionary attack.

Features

  • Browser supports proxy configuration
  • Social network supported
    • Aol
    • Facebook
    • Gmail
    • Hotmail
    • Instagram
    • Twitter
    • VK
    • Yahoo
    • Spotify
    • Netflix
    • Gitlab
    • Github
    • Linkedin

Credits

This package was developed by @5h4d0wb0y_.

Stargazers over time

Stargazers over time

socialbrute's People

Contributors

5h4d0wb0y avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

socialbrute's Issues

Just says success for first password in list

Was trying to crack a twitter...

Command:
'socialbrute -s twitter -u ******* -w pass.txt'

Output:
✔ Brute forcing... Please wait...
✔ Account cracked!
Username: *******
Password: 123456

Does this for any account I input?

chromedriver Traceback

  • socialbrute version:
    • 1.0.2
  • Python version:
    • 3.7.5
  • Operating System:
    • macOS 10.15

Description

I was trying to test the security of my Twitter account. I ran the command below and a chromedriver message came back.

I expected the command to run and use the word list to bruteforce my Twitter account. However, what came back was the following:

Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home

What I Did

I tried two different commands, one with python3 in front of the word socialbrute and one without. The commands and tracebacks are below.

Ran the following command from the docs, filling in the adequate information:

Command One:

socialbrute -s twitter -u (my twitter username) -w (location or wordlist) --no-proxy

Traceback One:

File "/usr/local/bin/socialbrute", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/socialbrute/cli.py", line 155, in main
    sb = Socialbrute(interactive=interact)
  File "/usr/local/lib/python3.7/site-packages/socialbrute/socialbrute.py", line 50, in __init__
    self.browser.start(headless=interactive, user_agent=ua)
  File "/usr/local/lib/python3.7/site-packages/socialbrute/browser.py", line 87, in start
    self.driver = Chrome(options=chrome_options)
  File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/chrome/webdriver.py", line 73, in __init__
    self.service.start()
  File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/common/service.py", line 83, in start
    os.path.basename(self.path), self.start_error_message)
selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home

Command Two:

python3 socialbrute -s twitter -u (my twitter username) -w (location or wordlist) --no-proxy

Traceback Two:

/usr/local/opt/python/bin/python3.7: can't find '__main__' module in 'socialbrute'

Wordlist doesn't exist

* socialbrute version:

  • Python version:
  • Operating System:

Description

Describe what you were trying to get done.
Tell us what happened, what went wrong, and what you expected to happen.

What I Did

Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.


Error in socialbrute not working

  • socialbrute version:
  • Python version:
  • Operating System:

Description

Traceback (most recent call last):
File "/usr/local/bin/socialbrute", line 33, in
sys.exit(load_entry_point('socialbrute==1.1.0', 'console_scripts', 'socialbrute')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/socialbrute-1.1.0-py3.11.egg/socialbrute/cli.py", line 162, in main
sb.run(social, username, wordlist, delay)
File "/usr/local/lib/python3.11/dist-packages/socialbrute-1.1.0-py3.11.egg/socialbrute/socialbrute.py", line 61, in run
total = len(open(wordlist, 'r').read().split('\n'))
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 322, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf1 in position 5079983: invalid continuation byte

What I Did

Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.

Chrome crashing?

  • socialbrute version: newiest
  • Python version: 3
  • Operating System: kali 2

Description

Does; if os.environ.get('ARE_ON_TRAVIS') == 'True' ; have anything to do with the browser crashing i looked for fixes and you seem to already have them there but their right before this if statement not sure if i shuld change the dir of the os.environ.get

What I Did

$ socialbrute -s instagram -u xxx-w /root/passwrd
Traceback (most recent call last):
File "/usr/local/bin/socialbrute", line 11, in
load_entry_point('socialbrute==1.0.2', 'console_scripts', 'socialbrute')()
File "/usr/lib/python3/dist-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/socialbrute-1.0.2-py3.7.egg/socialbrute/cli.py", line 155, in main
sb = Socialbrute(interactive=interact)
File "/usr/local/lib/python3.7/dist-packages/socialbrute-1.0.2-py3.7.egg/socialbrute/socialbrute.py", line 50, in init
self.browser.start(headless=interactive, user_agent=ua)
File "/usr/local/lib/python3.7/dist-packages/socialbrute-1.0.2-py3.7.egg/socialbrute/browser.py", line 88, in start
self.driver = Chrome(options=chrome_options)
File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/chrome/webdriver.py", line 81, in init
desired_capabilities=desired_capabilities)
File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 157, in init
self.start_session(capabilities, browser_profile)
File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally
(unknown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location /usr/bin/chromium is no longer running, so ChromeDriver is assuming that Chrome has crashed.)

TypeError: main() missing 1 required positional argument: 'token'

  • socialbrute version:1.0.2
  • Python version:3
  • Operating System: Parro OS

Description

When I throw socialbrute appear to me this message. I try it as user and root and give me this

──╼ #socialbrute
Traceback (most recent call last):
  File "/usr/local/bin/socialbrute", line 11, in <module>
    load_entry_point('socialbrute==1.0.2', 'console_scripts', 'socialbrute')()
  File "/usr/lib/python3/dist-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3/dist-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3/dist-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
TypeError: main() missing 1 required positional argument: 'token'

The wordlist does not exist. Erorr

  • socialbrute version:
  • Python version:
  • Operating System:

Description

Describe what you were trying to get done.
Tell us what happened, what went wrong, and what you expected to happen.

What I Did

socialbrute -s facebook -u aldi.aditia.12764 -w ~/wordlist.txt

there was a crash, and output this trackcall;

The wordlist does not exist.

solution:
create a worldlist from another app

Code

The code is really well written for python, most of the tools like this you can tell are just extremely fake or work .1% of the time, however for the email brute forcing you could use smtplib to just make it 100% more easier to brute force and even read from a word list on that side, same with yahoo and Hotmail you can just automate hydra or again smtplib to do all the work for you

other than that great code, maybe add some threading because brute forcing is a very very long process and it can make it slower without threads in use

I dont see the right credentials

I used social brute for instagram and I run it as interactive. I tested it first on my account and when it found the passwor it didn't show up on my terminal and I get an error instead

No module named socialbrute

root@kali:~# socialbrute
Traceback (most recent call last): File "/usr/local/bin/socialbrute", line 5, in
from socialbrute.cli import main
File "/usr/local/lib/python2.7/dist-packages/socialbrute/cli.py", line 10, in
from socialbrute.socialbrute import *
ImportError: No module named socialbrute

Error

  • socialbrute version: Latest
  • Python version: 3
  • Operating System: MAC OS

Description

Think I've installed everything correctly, although getting this error. Could this be to do with the wordlist
If so what type of wordlist should I be using

What I Did

socialbrute -s yahoo -u B********* -w /Users/kai/Desktop/10-million-combos.txt
Traceback (most recent call last):
  File "/usr/local/bin/socialbrute", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.9/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.9/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/socialbrute/cli.py", line 162, in main
    sb.run(social, username, wordlist, delay)
  File "/usr/local/lib/python3.9/site-packages/socialbrute/socialbrute.py", line 61, in run
    total = len(open(wordlist, 'r').read().split('\n'))
  File "/usr/local/Cellar/[email protected]/3.9.1_8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/codecs.py", line 322, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xaa in position 9095490: invalid start byte.

Wifi?

  • socialbrute version:
  • Python version:
  • Operating System:

Description

I was trying to brute force but this would show up after bruteforcing a few times and my question is: is this basically saying that the wifi disconnected therefore it couldn't continue the brute force?

What I Did

socialbrute -s instagram -u (myusername) -w (wordlist) --interactive

output:
File "C:\Python3\Scripts\socialbrute-script.py", line 11, in
load_entry_point('socialbrute==1.0.2', 'console_scripts', 'socialbrute')()
File "C:\Python3\lib\site-packages\click\core.py", line 764, in call
return self.main(*args, **kwargs)
File "C:\Python3\lib\site-packages\click\core.py", line 717, in main
rv = self.invoke(ctx)
File "C:\Python3\lib\site-packages\click\core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Python3\lib\site-packages\click\core.py", line 555, in invoke
return callback(*args, **kwargs)
File "C:\Python3\lib\site-packages\socialbrute-1.0.2-py3.8.egg\socialbrute\cli.py", line 157, in main
sb.run(social, username, wordlist, delay)
File "C:\Python3\lib\site-packages\socialbrute-1.0.2-py3.8.egg\socialbrute\socialbrute.py", line 107, in run
password = a.crack()
File "C:\Python3\lib\site-packages\socialbrute-1.0.2-py3.8.egg\socialbrute\modules\instagram.py", line 41, in crack
email = self.browser.driver.find_element_by_name('username')
File "C:\Python3\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 496, in find_element_by_name
return self.find_element(by=By.NAME, value=name)
File "C:\Python3\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 976, in find_element
return self.execute(Command.FIND_ELEMENT, {
File "C:\Python3\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "C:\Python3\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":"[name="username"]"}
(Session info: chrome=78.0.3904.108)

Nothing works

  • socialbrute version:
  • Python version: 3
  • Operating System: kali

Weather I don't understand smth weather it doesn't work. It isn't even a command in the console.

Installation failed

i did [git clone git://github.com/5h4d0wb0y/socialbrute]
then [python setup.py install]

socialbrute -help
Traceback (most recent call last):
File "/usr/local/bin/socialbrute", line 11, in
load_entry_point('socialbrute==1.0.0', 'console_scripts', 'socialbrute')()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 489, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2852, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2443, in load
return self.resolve()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2449, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/usr/local/lib/python2.7/dist-packages/socialbrute-1.0.0-py2.7.egg/socialbrute/cli.py", line 9, in
import socialbrute
File "/usr/local/lib/python2.7/dist-packages/socialbrute-1.0.0-py2.7.egg/socialbrute/socialbrute.py", line 8, in
from .modules.facebook import Facebook
ImportError: No module named modules.facebook

then i installed it with python3 still gives me error

Traceback (most recent call last):
File "/usr/local/bin/socialbrute", line 11, in
load_entry_point('socialbrute==1.0.0', 'console_scripts', 'socialbrute')()
File "/usr/local/lib/python3.7/dist-packages/setuptools-33.1.1-py3.7.egg/pkg_resources/init.py", line 561, in load_entry_point
File "/usr/local/lib/python3.7/dist-packages/setuptools-33.1.1-py3.7.egg/pkg_resources/init.py", line 2631, in load_entry_point
File "/usr/local/lib/python3.7/dist-packages/setuptools-33.1.1-py3.7.egg/pkg_resources/init.py", line 2291, in load
File "/usr/local/lib/python3.7/dist-packages/setuptools-33.1.1-py3.7.egg/pkg_resources/init.py", line 2297, in resolve
File "/usr/local/lib/python3.7/dist-packages/socialbrute-1.0.0-py3.7.egg/socialbrute/cli.py", line 10, in
from socialbrute.socialbrute import *
File "/usr/local/lib/python3.7/dist-packages/socialbrute-1.0.0-py3.7.egg/socialbrute/socialbrute.py", line 8, in
from .modules.facebook import Facebook
ModuleNotFoundError: No module named 'socialbrute.modules'

error

  • socialbrute version: last version
  • Python version: last version
  • Operating System: last version

Description

Error

Traceback (most recent call last):
File "/.local/bin/socialbrute", line 8, in
sys.exit(main())
File "/usr/lib/python3/dist-packages/click/core.py", line 1128, in call
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/.local/lib/python3.10/site-packages/socialbrute/cli.py", line 162, in main
sb.run(social, username, wordlist, delay)
File "/.local/lib/python3.10/site-packages/socialbrute/socialbrute.py", line 61, in run
total = len(open(wordlist, 'r').read().split('\n'))
File "/usr/lib/python3.10/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf1 in position 5079963: invalid continuation byte

What I Did

I just simply tried to run it

Can't find "__main__" module in socialbrute

  • socialbrute version: last
  • Python version: last
  • Operating System: window 10

Description

I juste have this wrong : "Can't find "main" module in socialbrute"
The test was all ok, i dont know why it doesn't work right now

What I Did

i did this: 
python socialbrute -s twitter -u Name -w ~/wlist.txt

hey help plz

  • socialbrute version: last
  • Python version: 2.7 / 3
  • Operating System: kali linux 2020.3

Traceback (most recent call last):
File "/usr/local/bin/socialbrute", line 11, in
load_entry_point('socialbrute==1.1.0', 'console_scripts', 'socialbrute')()
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 489, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 2851, in load_entry_point
raise ImportError("Entry point %r not found" % ((group, name),))
ImportError: Entry point ('console_scripts', 'socialbrute') not found

Describe what you were trying to get done.
Tell us what happened, what went wrong, and what you expected to happen.

What I Did

https://socialbrute.readthedocs.io/en/latest/installation.html

Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.

gets blocked by Instagram for too many login attempts

  • socialbrute version: latest
  • Python version: 2.7/3.8
  • Operating System: kali

Description

i created a new acc, putted real pw in pwlist.
both with --interactive and without it, at first it told cannot do the brute, continue? Yes.
nothing happened,
in interactive i realized it gets blocked by instagram (because of trying many times)

would be great if it used tor or a proxy generator to avoide gettintt,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.