Update and rename js-detect.yaml to js-libraries-detect.yaml
parent
95ec5d3608
commit
00a4c783d4
|
@ -1,13 +1,13 @@
|
|||
id: js-detect
|
||||
id: js-libraries-detect
|
||||
|
||||
info:
|
||||
name: Common JS Library Detection
|
||||
name: Common JS Libraries - Detection
|
||||
author: adamparsons,cbadke,ChetGan,ErikOwen,jacalynli
|
||||
description: Checks a target web app for inclusion of common JavaScript libraries
|
||||
severity: info
|
||||
tags: headless,tech,js
|
||||
description: Checks a target web app for inclusion of common JavaScript libraries
|
||||
metadata:
|
||||
max-request: 1
|
||||
tags: headless,tech,js
|
||||
|
||||
headless:
|
||||
- steps:
|
||||
|
@ -35,6 +35,7 @@ headless:
|
|||
|
||||
return "Version not found"
|
||||
}
|
||||
|
||||
- action: script
|
||||
name: fingerprintBootstrap
|
||||
args:
|
||||
|
@ -52,6 +53,7 @@ headless:
|
|||
|
||||
return ""
|
||||
}
|
||||
|
||||
- action: script
|
||||
name: fingerprintJQuery
|
||||
args:
|
||||
|
@ -72,6 +74,7 @@ headless:
|
|||
|
||||
return "";
|
||||
}
|
||||
|
||||
- action: script
|
||||
name: fingerprintLodash
|
||||
args:
|
||||
|
@ -82,6 +85,7 @@ headless:
|
|||
} catch (e) {}
|
||||
return "";
|
||||
}
|
||||
|
||||
- action: script
|
||||
name: fingerprintMomentJs
|
||||
args:
|
||||
|
@ -92,6 +96,7 @@ headless:
|
|||
} catch (e) {}
|
||||
return "";
|
||||
}
|
||||
|
||||
- action: script
|
||||
name: fingerprintReact
|
||||
args:
|
||||
|
@ -102,6 +107,7 @@ headless:
|
|||
} catch (e) {}
|
||||
return "";
|
||||
}
|
||||
|
||||
- action: script
|
||||
name: fingerprintReactDOM
|
||||
args:
|
||||
|
@ -114,6 +120,7 @@ headless:
|
|||
} catch (e) {}
|
||||
return "";
|
||||
}
|
||||
|
||||
- action: script
|
||||
name: fingerprintAngular
|
||||
args:
|
||||
|
@ -132,6 +139,7 @@ headless:
|
|||
|
||||
return ""
|
||||
}
|
||||
|
||||
- action: script
|
||||
name: fingerprintBackboneJs
|
||||
args:
|
||||
|
@ -143,6 +151,7 @@ headless:
|
|||
} catch (e) {}
|
||||
return ""
|
||||
}
|
||||
|
||||
- action: script
|
||||
name: fingerprintEmberJs
|
||||
args:
|
||||
|
@ -153,6 +162,7 @@ headless:
|
|||
} catch (e) {}
|
||||
return "";
|
||||
}
|
||||
|
||||
- action: script
|
||||
name: fingerprintVue
|
||||
args:
|
||||
|
@ -197,6 +207,7 @@ headless:
|
|||
} catch (e) {}
|
||||
return ""
|
||||
}
|
||||
|
||||
- action: script
|
||||
name: fingerprintDojoJs
|
||||
args:
|
||||
|
@ -207,6 +218,7 @@ headless:
|
|||
} catch (e) {}
|
||||
return ""
|
||||
}
|
||||
|
||||
- action: script
|
||||
name: fingerprintDomPurify
|
||||
args:
|
||||
|
@ -217,6 +229,7 @@ headless:
|
|||
} catch (e) {}
|
||||
return ""
|
||||
}
|
||||
|
||||
- action: script
|
||||
name: fingerprintModernizr
|
||||
args:
|
||||
|
@ -252,83 +265,82 @@ headless:
|
|||
type: regex
|
||||
part: fingerprintAxios
|
||||
regex:
|
||||
# https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string
|
||||
- ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
|
||||
|
||||
- name: bootstrap
|
||||
type: regex
|
||||
part: fingerprintBootstrap
|
||||
regex:
|
||||
# https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string
|
||||
- ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
|
||||
|
||||
- name: jquery
|
||||
type: regex
|
||||
part: fingerprintJQuery
|
||||
regex:
|
||||
# https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string
|
||||
- ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
|
||||
|
||||
- name: lodash
|
||||
type: regex
|
||||
part: fingerprintLodash
|
||||
regex:
|
||||
# https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string
|
||||
- ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
|
||||
|
||||
- name: moment
|
||||
type: regex
|
||||
part: fingerprintMomentJs
|
||||
regex:
|
||||
# https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string
|
||||
- ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
|
||||
|
||||
- name: react
|
||||
type: regex
|
||||
part: fingerprintReact
|
||||
regex:
|
||||
# https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string
|
||||
- ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
|
||||
|
||||
- name: reactdom
|
||||
type: regex
|
||||
part: fingerprintReactDOM
|
||||
regex:
|
||||
# https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string
|
||||
- ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
|
||||
|
||||
- name: angular
|
||||
type: regex
|
||||
part: fingerprintAngular
|
||||
regex:
|
||||
# https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string
|
||||
- ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
|
||||
|
||||
- name: backbone
|
||||
type: regex
|
||||
part: fingerprintBackboneJs
|
||||
regex:
|
||||
# https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string
|
||||
- ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
|
||||
|
||||
- name: emberjs
|
||||
type: regex
|
||||
part: fingerprintEmberJs
|
||||
regex:
|
||||
# https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string
|
||||
- ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
|
||||
|
||||
- name: vuejs
|
||||
type: regex
|
||||
part: fingerprintVue
|
||||
regex:
|
||||
# https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string
|
||||
- ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
|
||||
|
||||
- name: dojo
|
||||
type: regex
|
||||
part: fingerprintDojoJs
|
||||
regex:
|
||||
# https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string
|
||||
- ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
|
||||
|
||||
- name: dompurify
|
||||
type: regex
|
||||
part: fingerprintDomPurify
|
||||
regex:
|
||||
# https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string
|
||||
- ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
|
||||
|
||||
- name: modernizr
|
||||
type: regex
|
||||
part: fingerprintModernizr
|
||||
regex:
|
||||
# https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string
|
||||
- ^(0|[1-9]\d*)(?:\.(0|[1-9]\d*))?(?:\.(0|[1-9]\d*))?(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
|
||||
- ^(0|[1-9]\d*)(?:\.(0|[1-9]\d*))?(?:\.(0|[1-9]\d*))?(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
|
Loading…
Reference in New Issue