Skip to content

Commit 706d9b8

Browse files
committed
chore: improve run_awesome_bot.sh
1 parent 0d2dcef commit 706d9b8

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/validate-links.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- name: Install urlsup
4747
# Check if the urlsup was already installed and retrieved
4848
# from the cache in the previous step
49-
run: command -v urlsup || cargo install urlsup
49+
run: command -v urlsup || cargo install --locked urlsup
5050

5151
- name: Validate links
5252
run: |

run_awesome_bot.sh

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ DEAD_URLS='opencollective.com','http://copperdroid.isg.rhul.ac.uk/copperdroid/',
1616
'http://www.mobilemalware.com.br','https://appscan.bluemix.net',\
1717
'http://siis.cse.psu.edu/tools.html','http://siis.cse.psu.edu/dare/index.html',\
1818
'http://codekiem.com/2012/02/24/apk-downloader/','https://apkscan.nviso.be',\
19-
'http://ww38.xchg.info','https://thecobraden.com/projects/cobradroid',\
19+
'http://ww38.xchg.info','https://thecobraden.com/projects/cobradroid/',\
2020
'https://bitbucket.org/mstrobel/procyon/wiki/',\
2121
'https://code.google.com/p/androguard/wiki/DatabaseAndroidMalwares',\
2222
'https://github.com/ashishb/android-security-awesome/actions',\
@@ -39,7 +39,10 @@ DEAD_URLS='opencollective.com','http://copperdroid.isg.rhul.ac.uk/copperdroid/',
3939
'https://web.archive.org/web/20180721134044/http://www.fasteque.com:80/android-reverse-engineering-101-part-1/',\
4040
'https://manifestsecurity.com/appie/',\
4141
'https://www.cs.washington.edu/sparta',\
42-
'https://appsec-labs.com/AppUse/',
42+
'https://appsec-labs.com/AppUse/',\
43+
'http://dunkelheit.com.br/amat/analysis/index_en.php',\
44+
'https://github.com/BaiduSecurityLabs/ZjDroid',\
45+
'https://github.com/yangbean9/ZjDroid'
4346

4447

4548
FLAKY_URLS='http://safe.ijiami.cn/',\
@@ -58,6 +61,6 @@ BLOCKED_URLS='https://scholar.google.com/scholar?q=github.com%2Fashishb%2Fandroi
5861
SRC_FILE=README.md
5962
# Install urlsup with `cargo install urlsup`
6063
urlsup \
61-
--allowlist 301,302 \
62-
--exclude-pattern ${DEAD_URLS},${FLAKY_URLS},${BLOCKED_URLS} \
64+
--allow-status 301,302 \
65+
--exclude-pattern "${DEAD_URLS}","${FLAKY_URLS}","${BLOCKED_URLS}" \
6366
${SRC_FILE}

0 commit comments

Comments
 (0)