Link to this headingSetup
Set Windows Code Scanner:
SET HTTPS_PROXY=proxy.example.com:8080
REM Windows Java Home
$Env:JAVA_HOME = "C:\Program Files\JDK\1.8\"
set JAVA_OPTS="-Dcom.sun.security.enableAIAcaIssuers=true"
REM Install python packages without admin
./Scripts/pip.exe install requests --user
Link to this headingCLOC
Link to this headingFortify
Install again and specify the proxy server and port
sourceanalyzer -b mybuild clang -ObjC HelloWorld.m
C:\Fortify\Fortify_SCA_and_Apps_18.20\bin\sourceanalyzer.exe -b android2 .\gradlew -a bundleRelease
C:\Fortify\Fortify_SCA_and_Apps_18.20\bin\sourceanalyzer.exe -b android2 -scan
Link to this headingDependency Checker
- Download from https://owasp.org/www-project-dependency-check/
- Run
./bin/dependency-check.sh --updateonly --proxyserver=127.0.0.1 --proxyport=8080
Link to this headingMaven
Run command:
mvn org.owasp:dependency-check-maven:5.3.1:check
If run in to Failed to initialize the RetireJS repo error run version 3.2.1
If you run into the Failed to initialize the RetireJS repo error, run version 3.2.1
Link to this headingCygwin Package Manager
Install The Package Manager:
Link to this headingGradle
Add proxy settings to the gradle.properties file
# Add proxy settings
systemProp.http.proxyHost=proxy.example.com
systemProp.http.proxyPort=8080
systemProp.https.proxyHost=proxy.example.com
systemProp.https.proxyPort=8080
Link to this headingAndroid
Run Emulator:
PS C:\Users\user1\AppData\Local\Android\Sdk\emulator> .\emulator.exe -avd Nexus_5X_API_19
Setting up Proxy on a Emulator
Link to this headingNode
Run Node Audit through burp to forward proxy:
Link to this headingGems
Install through proxy:
Link to this headingCheckmarx
[Link](/Code Review/Code Scanners/Checkmarx)