Socket
Socket
Sign inDemoInstall

fbruch

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fbruch

Simple python library using graph api and scraping.


Maintainers
1

About

A simple Facebook library focused on Facebook brut3f0rce.

pip install fbruch

API: First access

Example code

from fbruch import Api

# Login using cookies string.
# Download cookies using the cookiedough extension
fb = Api(cookies='cookie string')
# Login using email and password 
fb = Api(mailpass={'email': 'fbmail@gmail.com', 'password': 'fbpassword'})

print(fb.islogin) # if login success
print(fb.token) # your facebook token

API: Account info

Get name and user id facebook

Example code

info = fb.account_info(id='meizug')
print(info)

API: Dump friendlist

Get name and user id friendlist using graph api

Example code

dump = fb.dump_friendlist(id='meizug', cursor=None)
print(dump)

UTILS: Password generator

Create a list of passwords from names.

Example code

from fbruch.utils import password_generator

password = password_generator(name='dinda ayunda')
print(password)

LOGIN: Facebook login

Example code

from fbruch import Login

fb = Login(subdomain='mbasic')
response = fb.__regular__(email='mailfb@gmail.com', password='facebook password')
print(response)

Example success output

{'status': True, 'data': {'session': b'example session', 'useragent': 'Useragent example', 'email': 'output@gmail.com', 'password': 'example password', 'cookies_string': 'example cookies'}, 'error': None}

Subdomain list

  • mbasic
  • d
  • m
  • free
  • touch

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc