Skip to content

Instantly share code, notes, and snippets.

View msaperst's full-sized avatar

Max Saperstone msaperst

View GitHub Profile
@msaperst
msaperst / cobertura.xml
Last active August 5, 2021 18:41
empty cobertura file
<?xml version="1.0" ?>
<!DOCTYPE coverage SYSTEM "http://cobertura.sourceforge.net/xml/coverage-04.dtd">
<coverage lines-valid="0" lines-covered="0" line-rate="0" branches-valid="0" branches-covered="0" branch-rate="0" timestamp="1394890504210" complexity="0" version="0.1">
</coverage>
@msaperst
msaperst / dependency-check.js
Last active January 30, 2023 16:33
NPM OWASP Dependency Check
const path = require('path');
const fs = require('fs');
const { exec } = require('child_process');
const { program } = require('commander');
const { isReady, install, getExecutable } = require("./cli");
const { getBinDir, cleanDir } = require('./utils');
const envOwaspBin = process.env.OWASP_BIN;
function getCmdArguments() {
<html lang="en">
<head>
<title>$PAGE_TITLE</title>
<style>
.r0 { color: green; }
.r1,.r10 { color: yellow; }
.r3 { color: orangered }
.r4,.r99 { color: red }
</style>
<script>function toggleImg(e) {