From 2d5bffe8219af688f0783c594386af88cd3d46b6 Mon Sep 17 00:00:00 2001 From: Benjamin Loison <12752145+Benjamin-Loison@users.noreply.github.com> Date: Fri, 23 Jan 2026 20:40:40 +0100 Subject: [PATCH] Add Bash syntax highlighting --- Registration-with-captcha.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Registration-with-captcha.md b/Registration-with-captcha.md index d61b60c..bd2cd16 100644 --- a/Registration-with-captcha.md +++ b/Registration-with-captcha.md @@ -4,7 +4,7 @@ If you try registering without one, it normally fails with a captcha required er ## Register with captcha token When you have the captcha code, execute the `register` command again with the `--captcha` argument (https://github.com/AsamK/signal-cli/blob/master/man/signal-cli.1.adoc#register) -``` +```bash signal-cli -a ACCOUNT register --captcha "signal-recaptcha...03AG...Uonw" ``` @@ -22,15 +22,15 @@ After filling the captcha, the site doesn't immediately show the token but tries * After a short moment, a link will appear underneath the captcha called "Open Signal". * Get the token by right clicking on it and clicking: `copy url`. You can paste that directly into: -``` +```bash signal-cli -a $PHONE_NR register --captcha what_you_copied ``` and it will look a bit like below (Note: don't put the signalcaptcha://... bit in quotes, otherwise it will be considered invalid): -``` +```bash signal-cli -a $PHONE_NR register --captcha "signalcaptcha://signal-recaptcha-v2.someshortercode.registration.someverylongcode" ``` * Then you should receive an sms with a verification code. Copy only the 6 digits and enter them in the CLI like: -``` +```bash signal-cli -a $PHONE_NR verify 123456 ``` * That should be it, now you should be able to send a message with: