Skip to content

Commit

Permalink
Fix DNS-propagation bug when renewing cert
Browse files Browse the repository at this point in the history
  • Loading branch information
putsi committed Sep 15, 2022
1 parent 56c0ca4 commit e638210
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions dnshook.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ service burpcollaborator stop &>/dev/null
python3 -m dnslib.fixedresolver -a $1 --zonefile /tmp/collab.zonefile &>/dev/null &disown

# Sleep to avoid DNS propagation issues.
sleep 10

sleep 15
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ snap install --classic certbot
snap refresh certbot
ln -s /snap/bin/certbot /usr/bin/certbot

apt update -y && apt install -y python3 python3-pip && pip3 install dnslib
apt update -y && apt install -y python3 python3-dnslib

mkdir -p /usr/local/collaborator/
cp "$SRC_PATH/dnshook.sh" /usr/local/collaborator/
Expand Down

0 comments on commit e638210

Please sign in to comment.