Added some Tools

imphash    :  generates a Virustotal compatible IMPHASH for a binary
ltop       :  does 'sort|uniq -c' but with live update in ncurses
smtpbanner :  grabs smtp banner
uniq       :  like uniq but does not need sorting.
uniqrs     :  same as uniq but written in Rust
This commit is contained in:
TKE
2023-05-04 08:10:52 +02:00
parent 2ecb7d5ea0
commit 6fddcd2a43
5 changed files with 114 additions and 0 deletions

9
codegrab/uniq.py Executable file
View File

@@ -0,0 +1,9 @@
#!/usr/bin/env python3
import sys
hashes=set()
for line in sys.stdin:
h = hash(line)
if not h in hashes:
hashes.add(h)
print(line,end="")