Skip to content

Commit

Permalink
add trim mechanism to generation script
Browse files Browse the repository at this point in the history
  • Loading branch information
felixevers committed Nov 11, 2023
1 parent 6d44e2c commit 0d330f5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ jobs:
- run: bash generate.sh
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: updated files using generate.sh
commit_message: update files using generate.sh
branch: master
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ This wordlist contains 502 words. IT IS SOOO AMAZING!
rockme.tar.gz
| Algorithm | Checksum |
|:----------|:----------------------------|
| MD5 | cbe4044fa97e496d195d08f03b894cfd |
| SHA1 | 450e3fcac996ab4532c9dda2471f4a31220162d8 |
| SHA256 | 32e737558a13afac3a4d4fb4bce4853ec4f5be11dcc291bb3f7dc8c811dd945f |
| MD5 | b45618de8a08f78d99d62c4924bcf963 |
| SHA1 | e1ca9210368eda4ee8b4dc74fe238d9c6fa642d8 |
| SHA256 | 0967157a2722ee211dde7cf2083b24396ad9ecc0ffeb4ecfafd312f058705518 |
## Important
Don't use normal text editors to open this file unless you have about 16 GB of RAM, or you may face RAM Crash.
5 changes: 5 additions & 0 deletions generate.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
README="README.md"
WORDLIST="rockme.txt"
TMP_WORDLIST="tmp_rockme.txt"
WORDLIST_COMPRESSED="rockme.tar.gz"

echo "Trim entire wordlist..."
sed 's/^ *//; s/ *$//; /^$/d' $WORDLIST > $TMP_WORDLIST
mv $TMP_WORDLIST $WORDLIST

echo "Sorting wordlist..."
sort -u -o $WORDLIST $WORDLIST

Expand Down
Binary file modified rockme.tar.gz
Binary file not shown.

0 comments on commit 0d330f5

Please sign in to comment.