npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

wordpolis

v0.0.3

Published

Wordlist generator using social engineering

Downloads

84

Readme

Wordlist Generator for Password Candidates

Overview

This Wordlist Generator is a powerful tool designed to create wordlists that can be used for password cracking and security testing. It's a versatile and customizable utility that can assist penetration testers, security professionals, and ethical hackers in their efforts to test and improve the security of various systems and applications.

Features

  • Dictionary-Based Generation: Combine dictionaries and transform words to create complex candidates.
  • Leet (1337) Speak: Convert characters to their leet (1337) speak equivalents for enhanced password variation.
  • Prefix and Suffix: Add custom prefixes and suffixes to words, increasing password complexity.
  • Case Transformation: Transform words to uppercase, lowercase, or mixed case for password diversity.
  • Seamless Integration: Designed for easy integration into password-cracking tools like Hashtopolis, and more.

Usage

Installation

To install the library, use npm:

 npm install wordpolis

General Usage

Import the library into your project:

const { generateCandidates } = require('wordpolis');

Example Usage

const names = ['Alice', 'Bob'];
const specialdates = 'dd/mm/yyyy'; // Use valid date format
const sparetext = ['Petname', 'Hiking' ,'Mothers maiden name'];

const options = {
  useSpecialchars: true,
  usePermutations: false,
  isCapitalize: true,
  isAlternated: false,
  isUppercasse: false,
  isLowercasse: false,
  isSimilarVowels: false,
  isSimilarConsonant: false,
  isSimilarSpecialchars: false,
  filename: 'custom-wordlist.txt', // Optional
};

generateCandidates(names, specialdates, sparetext, options);

Usage in Angular Component

Assuming you have an Angular component where you want to use your library, you can import and use it as follows:

import { Component } from '@angular/core';
import { generateCandidates, GenerateCandidatesOptions } from 'wordpolis';

@Component({
  selector: 'app-password-generator',
  template: `
    <button (click)="generatePasswords()">Generate Passwords</button>
  `,
})
export class PasswordGeneratorComponent {

  generatePasswords() {
    const names = ['John', 'Doe'];
    const specialdates = 'dd/mm/yyyy'; // Use valid date format
    const sparetext = ['Petname', 'Hiking' ,'Mothers maiden name'];

    const options = {
      useSpecialchars: true,
      usePermutations: false,
      isCapitalize: true,
      isAlternated: false,
      isUppercasse: false,
      isLowercasse: false,
      isSimilarVowels: false,
      isSimilarConsonant: false,
      isSimilarSpecialchars: false,
      filename: 'custom-wordlist.txt', // Optional
    };

    generateCandidates(names, specialdates, sparetext, options);
  }
}

Note:

  • Ensure that your Angular project is set up with the necessary TypeScript configurations.
  • Make sure the library's types are correctly exported/imported.

This example assumes a simple Angular component that generates passwords when a button is clicked. If you want to see a fully integrated example go to Hashtopolis web-ui.

Options

The generateCandidates function takes the following options:

  • useSpecialchars: Include special characters in generated passwords.
  • usePermutations: Generate permutations of elements instead of combinations.
  • isCapitalize: Capitalize the first letter of each word.
  • isAlternated: Alternate the case of characters in the generated passwords.
  • isUppercasse: Use uppercase letters.
  • isLowercasse: Use lowercase letters.
  • isSimilarVowels: Include variations with similar vowels.
  • isSimilarConsonant: Include variations with similar consonants.
  • isSimilarSpecialchars: Include variations with similar special characters.
  • filename: Specify a custom filename for the generated wordlist (default: 'wordlist.txt').

Hints

  • namehint: Guidance on how to structure names in the input array.
  • specialdatehint: Guidance on formatting special dates.
  • specialhint: Suggestions for the spare text array.
  • filenamehint: Default filename for the generated wordlist.

Feel free to customize the options based on your library's specific functionality and user requirements. Additionally, you can provide more examples and use cases in your documentation to help users understand how to integrate and leverage your library in their projects.

Support

If you encounter any issues or have questions, please open an issue or reach out to us at [email protected].

License

This project is licensed under Creative Commons Attribution (CC BY).

Disclaimer: This tool is intended for legal and ethical use, such as security testing and penetration testing on systems and applications you have the right to assess. Unauthorized use for malicious purposes is prohibited. The creators and contributors of this tool are not responsible for any illegal or unethical activities. Always respect the law and obtain proper authorization for your actions.