Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Using rli - https://hashcat.net/wiki/doku.php?id=hashcat_utils#rli
- # Downloadable from https://github.com/hashcat/hashcat-utils/releases
- # Example 1
- $ cat 1.txt
- e10adc3949ba59abbe56e057f20f883e
- f8b46e989c5794eec4e268605b63eb59
- e3ceb5881a0a1fdaad01296d7554868d
- $ cat 2.txt
- e10adc3949ba59abbe56e057f20f883e:1111
- 679ab793796da4cbd0dda3d0daf74ec1:1234
- f8b46e989c5794eec4e268605b63eb59:1@/233:
- $ cut -d: -f1 2.txt >2-hashes.txt
- $ cat 2-hashes.txt
- e10adc3949ba59abbe56e057f20f883e
- 679ab793796da4cbd0dda3d0daf74ec1
- f8b46e989c5794eec4e268605b63eb59
- $ rli 1.txt 1-unfound.txt 2-hashes.txt
- Caching 1.txt...
- Cached 3 lines
- Sorting...
- Checking 2-hashes.txt against cache
- Lines compared 3
- Removed 2 lines from cache
- Sorting back to original positions...
- Finished!
- Removed 2 lines from cache
- Writing 1 lines to 1-unfound.txt
- $ cat 1-unfound.txt
- e3ceb5881a0a1fdaad01296d7554868d
- # Example 2
- $ cat color.txt
- red
- blue
- green
- yellow
- $ cat color-to-remove.txt
- red
- $ rli color.txt color-left.txt color-to-remove.txt
- Caching color.txt...
- Cached 4 lines
- Sorting...
- Checking color-to-remove.txt against cache
- Lines compared 1
- Removed 1 lines from cache
- Sorting back to original positions...
- Finished!
- Removed 1 lines from cache
- Writing 3 lines to color-left.txt
- $ cat color-left.txt
- blue
- green
- yellow
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement