Google Firing range Apache 2 Google Firing range Firing Range is a test bed for web application security scanners, providing synthetic, wide coverage for an array of vulnerabilities. It can be deployed as a Google App Engine application. License: Apache 2 , .

Related tags

Testing firing-range
Overview

What is Firing Range?

Firing Range is a test bed for web application security scanners, providing synthetic, wide coverage for an array of vulnerabilities.

It can be deployed as a Google App Engine application. A public instance is running at https://public-firing-range.appspot.com.

Local installation instructions

  1. sudo apt-get install git ant
  2. Download the Appengine SDK for Java from http://cloud.google.com/appengine/downloads and unzip it in a directory.
  3. mkdir github && cd github
  4. git clone https://github.com/google/firing-range.git
  5. cd firing-range
  6. Modify build.xml so that the appengine.sdk property points to the directory where you unpacked the appengine SDK (you could also unpack it on ../../, which is the default)
  7. ant runserver

The application then will be run locally at http://localhost:8080

License information

See the LICENSE file.

Comments
  • Add build configuration for lgtm.com

    Add build configuration for lgtm.com

    This pull request adds an .lgtm.yml configuration file to teach lgtm.com to build this repository.

    See also: https://discuss.lgtm.com/t/cannot-build-ant-build-logs-unhelpful/736/2 @paradoxengine

    opened by aibaars 10
  • Added ANT build file for local GAE. Added default index.html.

    Added ANT build file for local GAE. Added default index.html.

    Added support for local GAE via Ant, based off of the template in appengin-java-sdk-1.9.17.

    Added default index.html. I couldn't find the default in the pages directory. Just copy and pasted the default from the public running instance minus the version info. I don't know the best way to pull this data from the project. Should it be a property file, version.java file or introduce it into the build progress?

    If these changes make it in, then I can dockerize based off of the google master branch, rather then my branch.

    Thanks

    opened by jesuscmartinez 7
  • Firing Range live site failing with 503

    Firing Range live site failing with 503

    Example: https://public-firing-range.appspot.com/escape/serverside/escapeHtml/body?q=a Our ZAP regression tests are failing ;) https://github.com/zapbot/zap-mgmt-scripts/runs/6977470176?check_suite_focus=true

    opened by psiinon 4
  • Version 0.47 not published.

    Version 0.47 not published.

    Hi, could you please push the 0.47 version of firing range that is also deployed at https://public-firing-range.appspot.com/? Or is it not inteded to be public?

    The version on github is still 0.46.

    opened by 7085 4
  • Broken URLs

    Broken URLs

    https://public-firing-range.appspot.com/reverseclickjacking/singlepage/ParameterInQuery/?q=foo and others in the same section yield Invalid location of the vulnerable parameter. and they should be showing something completely different.

    opened by andresriancho 4
  • Need Solutions for some of the challenges

    Need Solutions for some of the challenges

    Hello, I am struggling in exploiting some of the challenges, can you provide the solutions for that it will be really helpful for me to learn and understand advanced level challenges of XSS as I solved all the Reflected XSS module but I am struggling in solving EscapedXSS module.

    opened by realworldpentesting 2
  • public-firing-range needs updating

    public-firing-range needs updating

    The public-firing-range is several versions old and a new version needs to be pushed. Note for example the difference between what is checked into the repo and what's hosted at public-firing-range.appspot.com/dom - specifically the lack of external script loading toxicdomscripts tests.

    opened by jasvir 1
  • Fix the html link in README

    Fix the html link in README

    Currently the link goes to a page showing an error: http://public-firing-range.appspot.com/%5D(http://public-firing-range.appspot.com/)

    Error: Not Found

    The requested URL /%5D(http://public-firing-range.appspot.com/) was not found on this server.

    opened by dmitris 1
  • Needs a Dockerfile

    Needs a Dockerfile

    https://github.com/jesuscmartinez/docker-firing-range has a Dockerfile that works, but only up to commit https://github.com/google/firing-range/commit/c7033adbd15551fc10c1041b5a29d41ccca55cc9.

    I adapted it to use the build context's copy of firing-range:

    FROM ubuntu:trusty
    RUN apt-get update \
     && apt-get install -y -qq wget unzip ant git openjdk-7-jdk \
     && apt-get clean
    RUN wget https://storage.googleapis.com/appengine-sdks/featured/appengine-java-sdk-1.9.24.zip \
     && unzip appengine-java-sdk-1.9.24.zip \
     && rm appengine-java-sdk-1.9.24.zip
    WORKDIR appengine-java-sdk-1.9.24/demos/firing-range
    COPY build.xml build.xml
    COPY src src
    COPY WEB-INF WEB-INF
    EXPOSE 8080
    CMD ["sh", "-c", "ant -Daddress=0.0.0.0 runserver && while true; do sleep 10000; done"]
    

    The next commit, https://github.com/google/firing-range/commit/fe45c389a9b58ec46bac0f305f6217f0ac838dd8, ported firing-range to java 8, and I couldn't figure out how to get firing-range working with that in Docker. My experience with Java predates ant... and I'm allergic to xml :-)

    opened by dkegel-fastly 0
  • Duplicated test cases - Escaped Body and Head

    Duplicated test cases - Escaped Body and Head

    The testcases with where the second parameter should be according to the description echoed withing the HEAD tag is being echoed inside the BODY tag.

    Body - HTML escaped - The parameter is echoed within the main BODY tag. Body - URL escaped - The parameter is echoed within the main BODY tag. Head - HTML escaped - The parameter is echoed within the HEAD tag. Head - URL escaped - The parameter is echoed within the HEAD tag.

    opened by oliver-smakal 0
  • xss in css context

    xss in css context

    Hello, I am trying to find a way how to perform XSS in style tags. However it seems to me that unless I rely on deprecated or not fixed features of old browsers like :expression and -moz-binding the following pages cannot be exploted. Is it true? If so, could you give me a hint on how to exploit them?

    The testcases: /serverside/escapeHtml/css_style /serverside/escapeHtml/css_style_font_value /serverside/escapeHtml/css_style_value /serverside/encodeUrl/css_style /serverside/encodeUrl/css_style_value /serverside/encodeUrl/css_style_value

    opened by oliver-smakal 0
  • scape/serverside/escapeHtml/href - link does not work

    scape/serverside/escapeHtml/href - link does not work

    Hello, this link does not work, the corresponding template is missing. The link is referenced here under URLs section in links "URL - HREF - HTML escaped" and "URL - HREF - URL escaped"

    opened by oliver-smakal 0
  • sereverside/encodeUrl XSS fails

    sereverside/encodeUrl XSS fails

    opened by ArkaprabhaChakraborty 4
  • Need some solutions for challenges

    Need some solutions for challenges

    Need challenges for some of the below-mentioned list https://public-firing-range.appspot.com/dom/toxicdom/document/cookie_set/eval https://public-firing-range.appspot.com/dom/toxicdom/document/referrer/eval https://public-firing-range.appspot.com/dom/toxicdom/window/name/eval https://public-firing-range.appspot.com/address/location.hash/documentwrite Please provide solutions from these mentioned URLs it will be a great help from your side

    thanks and regards

    opened by realworldpentesting 5
Owner
Google
Google ❤️ Open Source
Google
Advanced Java library for integration testing, mocking, faking, and code coverage

Codebase for JMockit 1.x releases - Documentation - Release notes How to build the project: use JDK 1.8 or newer use Maven 3.6.0 or newer; the followi

The JMockit Testing Toolkit 439 Dec 9, 2022
JUnit 5 Parameterized Test Yaml Test Data Source

Yamaledt — JUnit 5 Parameterized Tests Using Yaml and Jamal Introduction and usage Note This is the latest development documentation. This is a SNAPSH

Peter Verhas 4 Mar 23, 2022
JVM version of Pact. Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project.

pact-jvm JVM implementation of the consumer driven contract library pact. From the Ruby Pact website: Define a pact between service consumers and prov

Pact Foundation 962 Dec 31, 2022
AssertJ is a library providing easy to use rich typed assertions

AssertJ - Fluent assertions for java AssertJ provides a rich and intuitive set of strongly-typed assertions to use for unit testing (with JUnit, TestN

AssertJ 2.3k Dec 30, 2022
AssertJ is a library providing easy to use rich typed assertions

AssertJ - Fluent assertions for java AssertJ provides a rich and intuitive set of strongly-typed assertions to use for unit testing (with JUnit, TestN

AssertJ 2.3k Jan 8, 2023
A powerful open source test automation platform for Web Apps, Mobile Apps, and APIs

A powerful open source test automation platform for Web Apps, Mobile Apps, and APIs. Build stable and reliable end-to-end tests @ DevOps speed.

Testsigma Technologies Inc 466 Dec 31, 2022
Roman Beskrovnyi 248 Dec 21, 2022
Apache JMeter - An Open Source Java application designed to measure performance and load test applications

An Open Source Java application designed to measure performance and load test applications. By The Apache Software Foundation What Is It? Apache JMete

The Apache Software Foundation 6.7k Jan 1, 2023
🎉Ultimate test automation for testing any application on any platform

boyka-java Ultimate test automation for testing any application on any platform boyka-java Setup Write conventional commits 1.

Wasiq Bhamla 52 Dec 30, 2022
A virtual Linux shell environment application for Android OS. Runs Alpine Linux in QEMU system emulator. Termux app fork.

vShell (Virtual Shell) — a successor of Termux project which provides an alternate implementation of the Linux terminal emulator for Android OS.

null 2 Feb 1, 2022
Java UCI Protocol implementation (Universal Chess Engine)

A simple UCI (Universal Chess Interface) Client written in Java. Tested with Stockfish 13. Documentation Starting / Closing the client By using the st

Andrei Ciobanu 22 Jan 2, 2023
A Camunda Process Engine Plugin to execute Clojure Functions from Activities

camunda-clojure-plugin A Camunda Process Engine Plugin to execute Clojure Functions as Delegates Why do we need this? While Camunda is tightly integra

lambdaschmiede GmbH 11 Oct 11, 2022
The engine for the classification of texts into negative, neutral or positive sentiment (sentiment analysis)

Umigon-core The classification engine for sentiment analysis. The basic operations are: decompose the text into n-grams create a version of the n-gram

Clement Levallois 3 Jun 23, 2022
Test Automation Made Simple

Karate Test Automation Made Simple. Karate is the only open-source tool to combine API test-automation, mocks, performance-testing and even UI automat

Intuit 6.5k Dec 28, 2022
Serenity BDD is a test automation library designed to make writing automated acceptance tests easier, and more fun.

That feeling you get when you know you can trust your tests Serenity BDD is a library designed to make writing automated acceptance tests easier, and

Serenity BDD 654 Dec 28, 2022
A library for setting up Java objects as test data.

Beanmother Beanmother helps to create various objects, simple and complex, super easily with fixtures for testing. It encourages developers to write m

Jaehyun Shin 113 Nov 7, 2022
A Java architecture test library, to specify and assert architecture rules in plain Java

ArchUnit is a free, simple and extensible library for checking the architecture of your Java code. That is, ArchUnit can check dependencies between pa

TNG Technology Consulting GmbH 2.5k Jan 2, 2023
Test if a request/response matches a given raml definition

raml-tester Test if a request/response matches a given raml definition. Versioning Version Contents 0.8.x Stable version, uses RAML parser 0.8.x and s

Stefan Niederhauser 71 Mar 21, 2022
PowerMock is a Java framework that allows you to unit test code normally regarded as untestable.

Writing unit tests can be hard and sometimes good design has to be sacrificed for the sole purpose of testability. Often testability corresponds to go

PowerMock 3.9k Dec 28, 2022