Flavio Campelo
Posted on February 16, 2022
📮 Contact 🇧🇷 🇺🇸 🇫🇷
Content
binwalk
The fastest way to check for embedded files and executable code
binwalk file.txt
objdump in kali tools
objdump
Can display some important information from a file like its assembler mnemonics for the machine instructions
objdump -D file.bin
strings
It prints a sequence of printable caracteres from a file
strings -a file.txt
exiftool
Read and write meta information in files
exiftool file.txt
vim
A powerful text editor.
vim file.txt
You can use vim to combine commands to edit a file.
For example, you can format a SQL query using sqlformat...
vim sqlFile.txt
:%! sqlformat --reindent --keywords upper --identifiers lower
...or edit the hexcode of a file using xxd
vim file.txt
:%! xxd
xxd
Used to see or modify the hex dump from a file.
xxd file.txt
stat
It displays information about the file
stat file.txt
file
Determine the file type
stat file.txt
unzip
Commonly used to extract files from a zip file.
unzip file.zip
curl
You can use it to transfer data from or to a server.
curl http://mysite.com -H "Authorization: Bearer token"
curl -X POST http://mysite.com -H "Authorization: Bearer token" -d "{ 'data': 'something' }"
curl -I HEAD http://mysite.com
wget
Download files from internet.
wget http://mysite.com/file
Typos or suggestions?
If you've found a typo, a sentence that could be improved or anything else that should be updated on this blog post, you can access it through a git repository and make a pull request. If you feel comfortable with github, instead of posting a comment, please go directly to https://github.com/campelo/documentation and open a new pull request with your changes.
Posted on February 16, 2022
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.