Comments (7)
Exploring more avenues for taking screenshots would absolutely be awesome! Lets experiment :)
from gowitness.
Great! FWIW, I was able to prototype my use case (auto-capture screenshot of execution trace during a CI/CD pipeline) in about 15 minutes. Relevant code at https://github.com/hamiltont/trace-grok/blob/master/harness.go#L121 shows that IMO it's really easy to use this chromedp
project. The project documentation is really good. It does require the google-chrome
binary to be available on the PATH
(not sure if gowitness
requires that already)
The added power of this tool would also allow a lot of new capabilities. In addition to my requested capability (a timer that only starts when the page is rendered), we could add support for partial screenshots (e..g --screenshot-id "#sidebar"
--screenshot-query "body > overlay .buynow"
--screenshot-frame <some frame id>
) which is kind of neat.
from gowitness.
Going to experiment with using chromedp in gowitness and will let you know how it goes, hopefully it'll clear up the blank screenshot issues we run across
from gowitness.
@randomactsofsecurity awesome! Please feel free to reuse any code of mine in your attempt, I've no claim to it, just never got around to making a proper PR
from gowitness.
Hah! @randomactsofsecurity I have ported the screenshot logic to use chromedp this week and it seems to work fine. I am actually busy refactoring large parts of the code for what might end up being v2 of gowitness. Should see some commits land soonβ’
from gowitness.
Sweet sounds great, looking forward to testing it out!
from gowitness.
V2 just landed using chromedp!
from gowitness.
Related Issues (20)
- Include screenshots using domain name and 'Host' header when using nmap XML
- Segfault
- Docker images fail with GLIBC error HOT 2
- Dashboard navigation pages don't wrap
- Could it take screenshot for just one DOM element?
- Can I import this project as a library ? HOT 1
- File Screenshot Errors HOT 5
- Snap-Chromium eating disk space HOT 2
- Unable to save long URL filenames by default
- How to specify the SQLite3 file when it is not in the current directory? Similar to sqlite://gowitness.sqlite3. HOT 1
- cleanup / prune data based on perception hash
- Exclude port(s) from being accessed
- Database merging is broken after version 2.4.2 - error unsupported database URI provided
- How to delete old records? HOT 1
- [FEATURE REQUEST] Add ability to specify CDP websocket for a remote chrome instance
- Getting error while taking screenshot
- In standalone mode, can multiple instances of screenshotting be done in parallel? HOT 2
- executable file not found in $PATH
- blank pages and following window.location HOT 1
- need target deduplication and database removal API support
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 gowitness.