Coder Social home page Coder Social logo

renatahodovan / generinator-rats Goto Github PK

View Code? Open in Web Editor NEW
2.0 4.0 3.0 33 KB

Generinator: Random Attributes, Tags & Style

License: Other

Python 51.37% ANTLR 48.63%
fuzzing browser-testing bughunting random-testing security fuzzer test-automation hacktoberfest

generinator-rats's Introduction

Generinator: RATS

Random Attributes, Tags & Style

Random web content (HTML, CSS, SVG) generator for Fuzzinator.

Requirements

  • Python >= 3.5
  • pip and setuptools Python packages (the latter is automatically installed by pip).
  • MongoDB (either local installation or access to remote database)
  • ANTLR v4

Install

The quick way:

pip install generinator-rats

Alternatively, by cloning the project and running setuptools:

python setup.py install

Usage

As a first step, Generinator:RATS needs to process existing web content to extract names of, parent-child relation between, and values of tags and attributes. The extracted information is then stored in a database.

Example invocation of the processing step:

generinator-rats-process <input1.html> <input2.css> <input3.svg> <inputdir4>

Once the processing step has built a database, the generator of Generinator:RATS can be used to produce any number of files with random web content.

Example invocation of the generation step:

generinator-rats -n <number-of-tests> -o <output-dir>

For more information on their usage, use the --help command line option on any of the tools.

(Note: The processing step can be re-executed any number of times, even after executing the generator. Actually, it may be really useful to periodically run the processing step on new input files or test suites.)

Copyright and Licensing

See LICENSE.

generinator-rats's People

Contributors

akosthekiss avatar renatahodovan avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

generinator-rats's Issues

pip package of generinator-rats installs an older version than what in your git repository

Although the documentation points you to simply install everything via pip,
the pip version is broken and doesnt work at all.

this is also the case for fuzzinator, which i think that there are different class names between versions.
anyways i ended up installing the whole suite thru git (picireny picire fuzzinator etc) just to be sure, and for now it seems to be working

Thanks

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.