CutyCapt包装说明
CutyCapt是一个小的跨平台命令行实用程序来捕获网页的WebKit的渲染成各种矢量和位图格式,包括SVG,PDF,PS,PNG,JPEG,TIFF,GIF和BMP。 资料来源:http://cutycapt.sourceforge.net/
- 作者:比约恩Höhrmann
许可:GPL第二版
0x01 包含在cutycapt包工具
cutycapt - 实用程序来捕获网页的WebKit的渲染 ```bash
:~# cutycapt --help
Usage: CutyCapt --url=http://www.example.org/ --out=localfile.png
--help Print this help page and exit
--url=The URL to capture (http:...|file:...|...)
--out=The target file (.png|pdf|ps|svg|jpeg|...)
--out-format=Like extension in --out, overrides heuristic --min-width= Minimal width for the image (default: 800)
--min-height=Minimal height for the image (default: 600)
--max-wait=Don't wait more than (default: 90000, inf: 0) --delay= After successful load, wait (default: 0)
--user-style-path=Location of user style sheet file, if any
--user-style-string=User style rules specified as text
--header=: request header; repeatable; some can't be set --method= Specifies the request method (default: get)
--body-string=Unencoded request body (default: none)
--body-base64=Base64-encoded request body (default: none)
--app-name=appName used in User-Agent; default is none
--app-version=appVers used in User-Agent; default is none
--user-agent=Override the User-Agent header Qt would set
--javascript=JavaScript execution (default: on)
--java=Java execution (default: unknown)
--plugins=Plugin execution (default: unknown)
--private-browsing=Private browsing (default: unknown)
--auto-load-images=Automatic image loading (default: on)
--js-can-open-windows=Script can open windows? (default: unknown)
--js-can-access-clipboard=Script clipboard privs (default: unknown) --print-backgrounds= Backgrounds in PDF/PS output (default: off)
--zoom-factor=Page zoom factor (default: no zooming)
--zoom-text-only=Whether to zoom only the text (default: off) --http-proxy=
Address for HTTP proxy server (default: none) is svg,ps,pdf,itext,html,rtree,png,jpeg,mng,tiff,gif,bmp,ppm,xbm,xpm http://cutycapt.sf.net - (c) 2003-2010 Bjoern Hoehrmann -
## 0x02 cutycapt用法示例
以捕获的 *URL(-url = HTTP://www.kali.org),*
并将其保存 *到*
硬盘上( *退房手续= kali.png):*
```bash
:~# cutycapt --url=http://www.kali.org --out=kali.png
QFont::setPixelSize: Pixel size <= 0 (0)
QFont::setPixelSize: Pixel size <= 0 (0)
原文来自:https://www.hackfun.org/kali-tools/cutycapt_zh.html。转载请注明原出处,商用请联系原作者授权。