Comments (2)
It appears that windows does include some functionality to create screenshots but it doesn't seem to quite have a good enough solution built in. Windows 10 provides two different applications: SnippingTool.exe and "Snip and Sketch".
SnippingTool.exe seems to be deprecated or at least getting replaced by Snip and Sketch though it does not provide a timeline for when that will happen. It provides a flag /clip
to allow you to select a region of the screen but does not appear to have a flag what will just grab the current screen. Running it without the /clip
flag will cause the program to launch the gui to interact with. SnippingTool also does not provide the ability to specify where to save the screenshot to from the command line, it can only be saved from within the gui app. Using the /clip
flag will simply save it to the clipboard. This is not ideal as we'd have to build custom logic from windows to handle pulling the bitmap from the clipboard and saving it and we still wouldn't have support for full screen captures.
Snip and Sketch appears to be the future of where Windows is going with included screenshot functionality. This tool is implemented as a UWP. It can be invoked via a protocol handler, as documented here but it doesn't appear to be an application that can be launched that way that we are in ashirt or have the ability to specify a location to write it the screenshot. It appears to copy the screenshot to the clipboard, but not save it, and not pass it back to the calling application. We maybe able to build a helper application that we can include on the windows side to invoke this tool and write out the screenshot but it's not clear if overwriting the clipboard would make us a bad citizen in the windows world of expected behavior.
Other options we can look into are identifying open source screenshotting apps, or imagmagick's import, and simply include a helper to handle the screen capture functionality. A user will always be able to supply their own option but given that this doesn't appear to be as common as in the linux world and there isn't an included option, like in macos, we may want to provide an option.
from ashirt.
flameshot seems like it may be a good option to ship with the windows build. Not clear that it makes sense to ship with all platforms as macos has something that works out of the box and linux users may want to bring their own. Maybe providing as a default would be a good user experience though and provide the opportunity to switch to whatever the user wants.
from ashirt.
Related Issues (20)
- Sign windows builds
- Dialogs missing buttons
- Crash on quit HOT 1
- Crash on delete of evidence when tags have not yet been returned HOT 1
- Duplicate evidence capture dialogs on windows
- Produce debug builds/debug data HOT 1
- Remove icon in dock on MacOS
- Icon not changing to theme update HOT 3
- Windows screenshot exec
- New Operations are not added to the list until restart
- Update set-output in actions
- Cached action isn't setup correctly
- Submission of multiple tag using the linux client breaks client and server
- Automatically determine linux screen capture application
- No feedback on no operation selected HOT 1
- Client submits tags that have been deleted from the evidence creation modal HOT 2
- xdg-freedesktop-portal use
- Out of Date build directions in Readme_Developer.md HOT 1
- Replace deprecated actions HOT 1
- Upgrade altool to notarytool HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ashirt.