-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcollector.sh
executable file
·41 lines (31 loc) · 1.44 KB
/
collector.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#! /bin/sh
set -e
function scan() {
project=$1
folder=$2
commit=$3
git clone "[email protected]:$project.git" $folder
cd $folder
git checkout $commit
gradle-bodyguard -p . -d .
cd ..
}
# commits@HEAD collected at June 4th / 2020
# Demos from Google
scan 'google/santa-tracker-android' 'santa-tracker' 'bac925e399877e268e9faff0c3131befcc70f2e8'
scan 'android/plaid' 'plaid' 'e703957b5e5d4728dea94f11f8d0d27d227f9725'
scan 'android/uamp' 'uamp' '25ff0f3162907ce308246c34319c365746392665'
scan 'google/iosched' 'iosched' '4054aa3f8934b8b1208d5823fdbf531a8eb367af'
scan 'android/sunflower' 'sunflower' 'a4a7cd385f4268680ba1b7f02b162395dc967cf9'
# Privacy related
scan 'duckduckgo/Android' 'duckduckgo' '03c57e9a21c6071bd0c2ab4b7b19a44cbe6c28ba'
scan 'signalapp/Signal-Android' 'signal' '26a9dd98c105cb7f5af69ade4d3e51e569a1de7b'
# COVID-related
scan 'corona-warn-app/cwa-app-android' 'corona-warn-app' 'd842f1a80bfca14438f91877cdb8699da8cada79'
scan 'immuni-app/immuni-app-android' 'immuni-app' '04d6db8e1025716fa095719c680ca940c9f8131c'
# Security related
scan 'freeotp/freeotp-android' 'freeotp' 'eb2f12f33a38235433fd83e0ad3eb15affae871f'
scan 'guardianproject/haven' 'haven' '8b8a7d26bc47c3c62a185da82247f8d32e081d6f'
scan 'mozilla-lockwise/lockwise-android' 'mozilla-lockwise' '436557c6c56303b251628c4620f7cc3486a38624'
scan 'WireGuard/wireguard-android' 'wireguard' 'd60efcd7c7acfae583cdb0349dc2ab5ce4ae3824'
echo "\nDone. Collected CVEs from all projects.\n"