DavidePastore / JBugmenot

Java Bugmenot library to find account and password for various sites.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JBugmenot

Continuous Integration Known Vulnerabilities

Java Bugmenot library to find account and password for various sites.

Install

If you use Maven to manage the dependencies in your Java project (and you should!), you do not need to download; just place the following into your POM's section:

<dependency>
  <!-- Bugmenot library to find account and password for various sites -->
  <groupId>com.github.davidepastore</groupId>
  <artifactId>jbugmenot</artifactId>
  <version>0.2.1</version>
</dependency>

Usage

Find all the accounts of a site:

ArrayList<Account> accounts = JBugMeNot.getAllAccounts("nypost.com");

Find the first login of a site:

ArrayList<Account> accounts = JBugMeNot.getAllAccounts("imdb.com");
Account firstAccount = accounts.get(0);
String username = firstAccount.getUsername();
String password = firstAccount.getPassword();
long votes = firstAccount.getVotes();
Date addingDate = firstAccount.getAddingDate();

Find all the accounts that have a given succes rate:

JBugmenot.setMinimumSuccessRate(50);
ArrayList<Account> accounts = JBugmenot.getAllAccounts("nypost.com");

Vote an account:

ArrayList<Account> accounts = JBugmenot.getAllAccounts("corriere.it");
Account lastAccount = accounts.get(accounts.size() - 1);
JBugmenot.vote(lastAccount, false);
//OR
lastAccount.vote(false);

Issues

If you find problems, please open an issue here.

About

Java Bugmenot library to find account and password for various sites.

License:GNU General Public License v3.0


Languages

Language:Java 100.0%