Sunday, April 5, 2020

Using Flameshot (Linux) or Greenshot (Windows/Mac)

Learned about some pretty cool screenshot tools from Heath Adams Udemy course Practical Ethical Hacking - the Complete Course today.

Documentation provided in a deliverable report to a client is arguably the most important part of any penetration testing/red team/etc engagement.

Screenshots are always needed as part of the report, and Heath mentioned using two tools. Greenshot for Windows/Mac and Flameshot for Linux.

Ubuntu is my primary operating system so I wanted to give it a test drive.

Installing on Ubuntu is very simple

sudo apt install flameshot

Searching for flameshot in Ubuntu's application finder, will show three items.


I added "Take graphical screenshot" to Favorites in order to be able to quickly/manually launch the tool.

You can remap the print screen (PrtSc) key on the keyboard to automatically launch the tool. Click here to view my tutorial on remapping the keyboard binding.

Flameshot - Remapping Print Screen Key in Ubuntu

If you would like to be able to quickly launch Flameshot using the print screen (PrtSc) key on the keyboard in Ubuntu Linux, do the following.

Launch Settings

Go to Devices -> Keyboard

Using search, look for screen, click on the highlighted Save a screenshot to Pictures (currently set to Printscreen (PrtSc keyboard key.)





Press the backspace key on the keyboard and it will disable the mapping.

Click on Set.




We now need to create a new mapping. Scroll all the way to the bottom of the keyboard shortcuts (remove your search query) and click the plus (+) button.




Name it something you will remember, and for the command path type in the path to Flameshot.

You will most likely want the graphical user interface to launch so add

/usr/bin/flameshot gui. Click on the X to close the window out.






Pressing the print screen (PrtSc) key on your keyboard should now launch Flameshot.