Skip to content

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

License

Notifications You must be signed in to change notification settings

DavidePastore/JBugmenot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages