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
10 lines
163 B
Python
Executable File
10 lines
163 B
Python
Executable File
#!/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="")
|