โก๏ธ Discord โฌ
๏ธ
The easiest way to identify anything
pip3 install pywhat && pywhat --help
Imagine this: You come across some mysterious text ๐งโโ๏ธ 0x52908400098527886E0F7030069857D2E4169EE7
or dQw4w9WgXcQ
and you wonder what it is. What do you do?
Well, with what
all you have to do is ask what "0x52908400098527886E0F7030069857D2E4169EE7"
and what
will tell you!
what
's job is to identify what something is. Whether it be a file or text! Or even the hex of a file! What about text within files? We have that too! what
is recursive, it will identify everything in text and more!
$ pip3 install pywhat
or
# installs optional dependencies that may improve the speed
$ pip3 install pywhat[optimize]
$ brew install pywhat
Or for our MacPorts fans:
$ sudo port install pywhat
You come across a new piece of malware called WantToCry. You think back to Wannacry and remember it was stopped because a researcher found a kill-switch in the code.
When a domain, hardcoded into Wannacry, was registered the virus would stop.
You use What
to identify all the domains in the malware, and use a domain registrar API to register all the domains.
Say you have a .pcap
file from a network attack. What
can identify this and quickly find you:
- All URLs
- Emails
- Phone numbers
- Credit card numbers
- Cryptocurrency addresses
- Social Security Numbers
- and much more.
With what
, you can identify the important things in the pcap in seconds, not minutes.