-
The public forum looks terrible and appears based on off-the-shelf circa 2005 technology with ugly difficulties so common in ways big corporation force their products.
-
Fortify SCA 18.10 and 18.11 fail to analyze CocoaPods projects in MacOS after tracking only the Pods project.
-
SCA produces meagre analyses of Javascript (NodeJS) projects.
-
This feedback form is broken, too.
This file contains 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
/** | |
* The OWASP CSRFGuard Project, BSD License | |
* Eric Sheridan ([email protected]), Copyright (c) 2011 | |
* All rights reserved. | |
* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions are met: | |
* | |
* 1. Redistributions of source code must retain the above copyright notice, | |
* this list of conditions and the following disclaimer. |
This file contains 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
#! /bin/bash | |
set -e | |
function fun() { | |
echo fun called | |
} | |
trap ' | |
err=$? |
This file contains 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
#!/usr/bin/env python | |
# vim: et:ts=4:sts=4:sw=4:fileencoding=utf-8 | |
ur""" | |
A sample WSGI application. | |
http://lucumr.pocoo.org/2007/5/21/getting-started-with-wsgi/ | |
""" | |
import urlparse | |
html_escape_table = { |
This file contains 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
#! /usr/bin/python | |
# This file can be executed by either the Cygwin (os.name == "posix") build or the Windows native (os.name == "nt") build of Python. | |
import sys | |
import os | |
if os.name == "nt": | |
if "TZ" in os.environ: | |
# Windows Python appears confused with the TZ variable | |
# as it sets time.timezone to 0, time.altzone to -3600 (-1 hr) | |
# in the presence of TZ="America/New_York". |
This file contains 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
# Detect SSL certificate mismatch indicating either multiple hosts serving the | |
# same name with different certificates or middle boxes authorized by the local | |
# machine's software. | |
# Usage from CMD: | |
# powershell -noprofile -noninteractive "$VerbosePreference = 'Continue'; .\grc.ps1 www.example.com" | |
# Usage from Cygwin: | |
# powershell -noprofile -noninteractive '$VerbosePreference = "Continue"; .\grc.ps1 www.example.com' |
This file contains 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
goto start | |
@rem Usage: | |
@rem | |
@rem Optionally: | |
@rem set ALL_PROXY=HOST:PORT | |
@rem set CYGWIN_SETUP_MIRROR=https://ARTIFACTORY/REPO/cygwin-setup | |
@rem set CYGWIN_MIRROR=https://ARTIFACTORY/REPO/cygwin | |
@rem | |
@rem call fixcygwin.bat [/f] |
This file contains 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
#! /bin/bash | |
function usage() { | |
cat >&2 <<EOT | |
Usage: | |
$ $0 USER_ID [-a PREVIOUS_COMMENT_ID] [-l LIMIT] [-p] [TEST] | |
e.g, | |
$ $0 10556300003468 -a 9674100014926 "justin|wynne|liberal|putin|trump|russia|petersburg|moscow" |
This file contains 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
// "the pattern will be applied at most n - 1 times, | |
// the array's length will be no greater than n, | |
// and the array's last entry will contain all input | |
// beyond the last matched delimiter" | |
// java_split("a=b=c", "=", 2) => ["a", "b=c"] | |
function java_split(s, sep, max_num_elements) { | |
// "stops when limit entries have been placed into the array" | |
// "a=b=c".split("=", 2) => ["a", "b"] | |
var p = s.split(sep, max_num_elements); | |
var stopped_length = p.reduce((acc, v) => acc + v.length + sep.length, 0); |
This file contains 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
// vim: et:ts=2:sts=2:sw=2:fileencoding=utf-8 | |
// Usage: | |
// JAVA_HOME=c:/jdk8 gradle build | |
apply plugin: 'groovy' | |
repositories { | |
maven { | |
url "${artifactory_plugins_url}" |
OlderNewer