Skip to content

Instantly share code, notes, and snippets.

View webmandman's full-sized avatar

Daniel Mejia webmandman

View GitHub Profile
<cfscript>
function run() {
describe("some password validation tests", () => {
passwords = [
{password="", ok=false},
{password="Bad1!", ok=false},
{password="Fine1!", ok=true},
{password="AAAAAA", ok=false},
{password="aaaaaa", ok=false},
{password="111111", ok=false},
@webmandman
webmandman / task.cfc
Created December 17, 2021 20:08 — forked from bdw429s/task.cfc
Scan a folder of jars recursively for CVE-2021-44228 vulnerability
/**
* Scan all jars in folder recursivley for log4j vuln
*/
component {
property name="progressableDownloader" inject="ProgressableDownloader";
property name="progressBar" inject="ProgressBar";
/**
* @scanPath absolute or relative path to folder to look for jars
*/