feature: multibyte cutb
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
Direzione di ricerca
Start by locating the existing cutb implementation in the C sources and reading how it slices input by byte offset and length. Decide whether character-based cutting becomes a flag on cutb or a separate tool, since the issue leaves this open. Done when the example echo Τηεοδ29 | <tool> 1 3 prints ηεο, with the byte-oriented behaviour unchanged. Negative offsets are not covered by the issue.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
When input is UTF-8, cutting on character count - even when it is not aligned with byte count - would be useful. This could be added to cutb as a flag, or could be a separate utility.
This script produces some of the desired behavior:
$ cat multicutb
#!/bin/bash
if [ -z "$1" -o -z "$2" ]; then
echo "Usage: $0 [offset] [length]"
echo "(similar to cutb from hashcat utils)"
exit 1
fi
offset=$1
length=$2
grep -Po "^.{$offset}\K.{$length}"
$ echo Τηεοδ29 | multicutb 1 3
ηεο
(but doesn't cover the negative-offset functionality)
- Lingua principale
- C
- Stelle
- 1.6k
- Fork
- 421
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di hashcat/hashcat-utils
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 22/100
hashcat/hashcat-utils#104 · 7 commenti · 1 reazione ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 42/100
hashcat/hashcat-utils#97 · 2 commenti ·
-
Link Type 1 UnsupportedAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 18/100
hashcat/hashcat-utils#92 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
hashcat/hashcat-utils#87 ·
-
BUG reportAperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
hashcat/hashcat-utils#86 · 1 reazione ·
Tutte le issue di hashcat/hashcat-utils
Issue simili
-
bug intrinsic low priority wrong result
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 80/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
login
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
`table_create()` crashes when an `hccalloc()` for the option table failsForse già presa @marinelay l’ha presa oggi. Apertatype: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno