Coder Social home page Coder Social logo

phantom-browserless's Introduction

phantom-browserless

Splunk Phantom App for Browserless/chrome & Browserless.io

This will allow you to perform local screenshotting when using the docker or github app. Additionally you can use the broswerless.io service.

Features

  • Get Screenshot - Provides the ability to take a screenshot of a URL using a headless chrome browser. Supports JPEG and PNG
  • Get PDF - Provides the ability print a webpage as PDF (supports several Chrome PDF Print Settings)
  • Get Content - Provides the ability to get the download of the HTML source of a URL provided

Installing browserless as docker

See more options on browserless.io's full documentation site.

If docker is already installed docker run -p 3000:3000 browserless/chrome

Install phbrowserless on phantom

  1. Download and extract phbrowserless to you phantom server
  2. cd to this new directory
  3. phenv python2.7 /opt/phantom/bin/compile_app.pyc -i

    currently only Python2 is supported by Phantom UI - App already Python3 compliant phenv python3 /opt/phantom/bin/py3/compile_app.pyc -i

  4. Procced to Phantom UI for configuration

Configure phbrowserless

  1. Navigate to Apps in the Phantom UI
  2. Select Unconfigured apps and look for "Browserless"
  3. Click the "CONFIGURE NEW ASSET" button
  4. Provide an asset name
  5. Click asset settings
  6. Provide the url for your docker host http://(hostname/ip):3000 if you are using browserless.io use http://chrome.browserless.io and don't forget to provide the Token.

    Token's can be used for self hosted instances as well, follow the instructions provided by browserless.io for how.

  7. Click Save
  8. Click Test Connectivity.

phantom-browserless's People

Contributors

stboch avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.