This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INFO *** Processing year 1988 *** | |
INFO Found existing local cache for year 1988. Cache was created/updated on Tue, 11 Feb 2025 12:23:36 GMT | |
INFO Only fetching items that have been changed since then from the API | |
rate limited call delay: 600 | |
rate limited call delay: 600 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## mvn dependency:tree -DoutputFile=./target/tree.txt | |
## mvn org.owasp:dependency-check-maven:6.5.0:check -Dformats=HTML,JSON | |
## python3 odc-maven-tree.py ./target/tree.txt ./target/dependency-check-report.json > ./target/odc_tree.html | |
import json | |
import sys | |
import re | |
if len(sys.argv) != 3: | |
sys.exit("Missing path to dependency:tree report and/or the odc json report") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var existing = document.getElementsByTagName("script")[0]; | |
var nonce = existing.getAttribute("nonce"); | |
var newScript = document.createElement("script"); | |
var att = document.createAttribute("nonce"); | |
att.value = nonce; | |
newScript.setAttributeNode(att); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am jeremylong on github. | |
* I am ctxt (https://keybase.io/ctxt) on keybase. | |
* I have a public key ASAql61mIWSSolrhG_4ZfciMvbefNKfoq71kw-d43wbw6Qo | |
To claim this, I am signing this object: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>org.owasp</groupId> | |
<artifactId>dependency-check-maven-mysql</artifactId> | |
<version>1.3.1</version> | |
<packaging>maven-plugin</packaging> | |
<properties> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
<maven.compiler.source>1.7</maven.compiler.source> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DataTable dt = new DataTable(); | |
dt.Columns.Add("id", typeof(int)); | |
var row = dt.NewRow(); | |
row["id"] = 1; | |
dt.Rows.Add(row); | |
row = dt.NewRow(); | |
row["id"] = 2; | |
dt.Rows.Add(row); | |
SqlConnection conn = new SqlConnection("Data Source=localhost;Integrated Security=SSPI;Initial Catalog=test"); | |
conn.Open(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TYPE [dbo].[PrimaryKeyINT] AS TABLE( | |
[id] [int] | |
) | |
GO | |
CREATE PROCEDURE [dbo].[usp_GetDetails] | |
( | |
@inClause PrimaryKeyINT READONLY | |
) |