Created
July 27, 2020 22:54
-
-
Save greenmind-sec/d068c75c98eba3d91d651430f66b343b to your computer and use it in GitHub Desktop.
Gitlab CI - Recon
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
stages: | |
- whois | |
- sharingmyip | |
- crt | |
variables: | |
IMAGE_CRT: "greenmind/crt.sh:1.1" | |
IMAGE_WHOIS_URL: "greenmind/whois-url:1" | |
IMAGE_SHARINGMYIP: "greenmind/sharingmyip:1" | |
ALVO: "globo.com" | |
whois-url: | |
stage: whois | |
image: ${IMAGE_WHOIS_URL} | |
script: | |
- python3 /root/whois-url.py ${ALVO} > ./saida-whois-url.txt | |
artifacts: | |
name: "Whois-URL" | |
when: always | |
paths: | |
- ./ | |
expire_in: 2 hrs | |
sharingmyip: | |
stage: sharingmyip | |
image: ${IMAGE_SHARINGMYIP} | |
script: | |
- python3 -c '/root/script-sharingmyip.py ${ALVO}' | |
crt-sh: | |
stage: crt | |
image: ${IMAGE_CRT} | |
script: | |
- sh /root/crt.sh ${ALVO} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment