CutyCapt

14 марта 2019 в Web Applications

Описание пакета CutyCapt

CutyCapt - это небольшая кроссплатформенная утилита командной строки для захвата рендеринга WebKit веб-страницы в различные векторные и растровые форматы, включая SVG, PDF, PS, PNG, JPEG, TIFF, GIF и BMP.

Инструменты, включенные в пакет cutycapt

cutycapt - утилита для захвата рендеринга WebKit веб-страницы

root@kali:~# 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=<get|post|put>        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=<on|off>          JavaScript execution (default: on)          
        --java=<on|off>                Java execution (default: unknown)            
        --plugins=<on|off>             Plugin execution (default: unknown)          
        --private-browsing=<on|off>    Private browsing (default: unknown)          
        --auto-load-images=<on|off>    Automatic image loading (default: on)        
        --js-can-open-windows=<on|off> Script can open windows? (default: unknown)  
        --js-can-access-clipboard=<on|off> Script clipboard privs (default: unknown)
        --print-backgrounds=<on|off>   Backgrounds in PDF/PS output (default: off)  
        --zoom-factor=          Page zoom factor (default: no zooming)      
        --zoom-text-only=<on|off>      Whether to zoom only the text (default: off)
        --http-proxy=             Address for HTTP proxy server (default: none)
        --smooth                       Attempt to enable Qt's high-quality settings.
        --insecure                     Ignore SSL/TLS certificate errors            
       -----------------------------------------------------------------------------
         is svg,ps,pdf,itext,html,rtree,png,jpeg,mng,tiff,gif,bmp,ppm,xbm,xpm    
       -----------------------------------------------------------------------------
       http://cutycapt.sf.net - (c) 2003-2013 Bjoern Hoehrmann - bjoern@hoehrmann.de

Пример использования cutycapt

Взять URL-адрес (–url = http: //www.kali.org) и сохранить его на диск (–out = kali.png):

root@kali:~# cutycapt --url=http://www.kali.org --out=kali.png
      libpng warning: iCCP: known incorrect sRGB profile
      libpng warning: iCCP: known incorrect sRGB profile