Giter Site home page Giter Site logo

codeswhite / stargen Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 89 KB

A powerful framework for wordlist generation, combination and expansion

License: MIT License

Python 100.00%
cracking hacking hacking-framework hacking-tool wordlist wordlist-generator

stargen's Introduction

๐‡๐ž๐ฅ๐ฅ๐จ ๐ญ๐ก๐ž๐ซ๐ž, ๐Ÿ๐ž๐ฅ๐ฅ๐จ๐ฐ <๐šŒ๐š˜๐š๐šŽ๐š›๐šœ/>!ย ย ย 

I'm Max, a Tech Enthusiast ๐Ÿ’ป

Check out my website >>> maxcode.me


LinkedIn Instagram Spotify

โšก Technologies:

TypeScript logo NodeJS logo NestJS logo GraphQL logo NextJS logo

Astro logo TailwindCSS logo React logo MUI logo

Rust logo Python logo C logo Java logo C++ logo

PostgreSQL logo MongoDB logo Firebase logo Amazondynamodb logo

Serverless logo AWS logo googlecloud logo Terraform logo kubernetes logo

ArchLinux logo Open source initiative logo




Now please accept this random quote:

Random Quote

Enjoy life!

Mister 'Cato' the Space warrior

stargen's People

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

tubbz-alt

stargen's Issues

Download: Handle zip files (instead of tar.gz)

For example when downloading entry #2 from the default downloads list it gives an error:

Enter number > 2
[+] Downloading & ungzipping 'afrikaans/afr_dbf.zip'
Traceback (most recent call last):
  File "/home/maxon/.local/bin/stargen", line 8, in <module>
    sys.exit(main())
  File "/home/maxon/.local/lib/python3.9/site-packages/stargen/__main__.py", line 15, in main
    Stargen(parse_args())
  File "/home/maxon/.local/lib/python3.9/site-packages/stargen/stargen.py", line 97, in __init__
    menu.get(cmd)[0](args)
  File "/home/maxon/.local/lib/python3.9/site-packages/stargen/modules/download.py", line 273, in download
    gzip.decompress(web.read()))
  File "/usr/lib/python3.9/gzip.py", line 556, in decompress
    return f.read()
  File "/usr/lib/python3.9/gzip.py", line 300, in read
    return self._buffer.read(size)
  File "/usr/lib/python3.9/gzip.py", line 487, in read
    if not self._read_gzip_header():
  File "/usr/lib/python3.9/gzip.py", line 435, in _read_gzip_header
    raise BadGzipFile('Not a gzipped file (%r)' % magic)
gzip.BadGzipFile: Not a gzipped file (b'PK')

Improve expansion methods

Currently we have a limited (yet powerful) set of methods,
(e.g. Capitalize, 1337ify, MoCkIfY, Intermix)
I wish to improve those and/or add new ones, all ideas are welcomed!

Intermix expansion miscalculation

The problem is that a pre-run calculation of lines and/or bytes mismatches the actual result.
Tests required; Possibly the root of this issue is that detected duplicates are not accounted.

Add more pre-defined download sources

Currently we have only one source, would be great to have much more than one.

Furthermore I wish to make the download selection bit more programmatic and generic; Instead of hard-coding all the filenames on the remote server, we could write a "recursive selection" function that will finally yield a URL.

So to recap in my vision the optimal procedure is as follows:

  • Command "download"
  • Select from various hard-coded servers
  • Recursive selection of a specific file
  • Fetch the URL

More crunching methods

Currently we only crunch via one charset, it would be awesome to have an option to easily crunch with a mixed mask:
Example input: nnnLLL
Will output a wordlist ranging from: 000AAA to 999ZZZ

Automatically craete a new file when running add

Instead of letting the user a choice, Create a new file automatically to store future

    def _get_wordlist_path(self):
        if self.current:
            return self.current
        pr('Please choose a wordlist')
        return choose_file(self.workspace)

Make it:

    def _get_wordlist_path(self):
        if self.current:
            return self.current
        pr('Creating a new wordlist for you')
        # Creating blah blah
        return TheCreatedWordlist

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.