Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save greenmind-sec/d068c75c98eba3d91d651430f66b343b to your computer and use it in GitHub Desktop.
Save greenmind-sec/d068c75c98eba3d91d651430f66b343b to your computer and use it in GitHub Desktop.
Gitlab CI - Recon
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