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 | |
WEBCONTAINERID=$(docker run -d -P --name web training/webapp python app.py) | |
echo Container ID = $WEBCONTAINERID | |
WEBDOCKERIP=$(docker inspect $WEBCONTAINERID | grep -w IPAddress | sed 's/.*IPAddress": "//' | sed 's/",$//') | |
echo Webapp Docker IP = $WEBDOCKERIP |
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
FROM owasp/zap2docker-stable | |
MAINTAINER Anshuman Bhartiya <anshuman.bhartiya@gmail.com> | |
RUN apt-get update && apt-get install -y \ | |
python-pip | |
RUN pip install python-owasp-zap-v2 | |
ADD runzap.py /zap/ZAP_2.4.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
#!/usr/bin/env python | |
import os | |
import subprocess | |
import time | |
import urllib | |
from pprint import pprint | |
from zapv2 import ZAPv2 | |
import sys |
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 | |
unset http_proxy | |
unset https_proxy | |
echo "Activating and entering virtualenv env" | |
virtualenv env | |
. env/bin/activate |
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 | |
unset http_proxy | |
unset https_proxy | |
virtualenv env | |
. env/bin/activate | |
export JIRA=jira.app.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
#!/usr/bin/env python | |
import os | |
import subprocess | |
import time | |
import urllib | |
from pprint import pprint | |
from zapv2 import ZAPv2 | |
import sys |
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 | |
import googleapiclient.discovery | |
import base64 | |
from gcloud import pubsub | |
project_id="<>" | |
location="global" | |
keyring="<>" | |
cryptokey="<>" |
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 | |
from oauth2client.client import GoogleCredentials | |
from googleapiclient.discovery import build | |
import base64 | |
from gcloud import pubsub | |
import time | |
project_id="<>" | |
location="global" |
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
print "test" |
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
package main | |
import ( | |
"fmt" | |
"os" | |
"testing" | |
"time" | |
"github.com/DATA-DOG/godog" | |
) |
OlderNewer