Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ronn vs ronn-ng: bare pipes and option descriptions missing #104

Open
noraj opened this issue Nov 6, 2023 · 1 comment
Open

ronn vs ronn-ng: bare pipes and option descriptions missing #104

noraj opened this issue Nov 6, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@noraj
Copy link

noraj commented Nov 6, 2023

Input file

haiti.ronn

HAITI(1) -- HAsh IdenTifIer
=============================================

## SYNOPSIS

`haiti` [options] <hash>

`haiti` samples (<ref> | <name>)

`haiti` [options] list

`haiti` --ascii-art

`haiti` -h | --help

`haiti` --version

## DESCRIPTION

**HAITI** is a CLI tool and library for identifying hash types (hash type identifier).

## OPTIONS

* `--no-color`:

  Disable colorized output (NO_COLOR environment variable is respected too).

* `-e, --extended`:

  List all possible hash algorithms, including ones using salt.

* `--short`:

  Display in a short format: do not display hashcat and john the ripper references.

* `--hashcat-only`:

  Show only hashcat references.

* `--john-only`:

  Show only john the ripper references.

* `--ascii-art`:

  Display the logo in colored ascii-art.

* `--debug`:

  Display arguments.

* `-h, --help`:

  Show this screen.

* `--version`:

  Show version.

## COMMANDS

* **samples**:

  Display hash samples for the given type.

* **list**:

  Display a list of all the available hash types.

## PARAMETERS

* `<hash>`:

  Hash string to identify, read from STDIN if equal to "-".

* `<ref>`:

  Hashcat or John the Ripper reference.

* `<name>`:

  Hash type name.

## EXAMPLES

`haiti` -e d41d8cd98f00b204e9800998ecf8427e

`haiti` --no-color --short d41d8cd98f00b204e9800998ecf8427e

b2sum /etc/os-release | awk '{print $1}' | `haiti` -

`haiti` samples crc32

## AUTHOR

Made by Alexandre ZANNI (@noraj).

Forked from Orange-Cyberdefense/haiti (https://github.com/Orange-Cyberdefense/haiti).

## COPYRIGHT

Copyright © 2019-2022 Alexandre ZANNI (independent)

Copyright © 2019-2020 Alexandre ZANNI at Orange Cyberdefense

This software is distributed under the terms of the MIT License. You may freely
redistribute copies of it, subject to the conditions of the license.

## VERSION

2.0.0

## REPORTING BUGS

Report bugs to https://github.com/noraj/haiti/issues.

## SEE ALSO

Project homepage and documentation: https://noraj.github.io/haiti

Source code: https://github.com/noraj/haiti

Comparison

  • ronn 0.7.3
  • ronn-ng 0.9.1

ronn-ng display is worse than old ronn, commands with with a pipe (or) are hidden and not options description is displayed

image

the pipe seems to be removed and is surrounded by .TS allbox; + .TE instead of .P

image

However, options description are just removed

image

Workaround

Definition list in ronn are taken into consideration either there is a blank line between the : and the content or not, while in ronn-ng it only works if there is an empty line between.

For the pipes, in ronn it works either there are escaped or not, in ronn-ng it works only if the pipes are escaped \|.

@noraj
Copy link
Author

noraj commented Nov 7, 2023

It may be due to the change from hpricot to nokogiri

@apjanke apjanke changed the title ronn vs ronn-ng ronn vs ronn-ng: bare pipes and option descriptions missing Jan 4, 2024
@apjanke apjanke self-assigned this Jan 4, 2024
@apjanke apjanke added the bug Something isn't working label Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: High priority
Development

No branches or pull requests

2 participants