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:
9
codegrab/uniq.py
Executable file
9
codegrab/uniq.py
Executable 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="")
|
||||
Reference in New Issue
Block a user