From dac0a9ba477cc8440c44053787ec711ef7c661d6 Mon Sep 17 00:00:00 2001 From: Wayne Workman <13314799+wayneworkman@users.noreply.github.com> Date: Sat, 7 Aug 2021 11:34:54 -0500 Subject: [PATCH] Updated Registration with captcha (markdown) --- Registration-with-captcha.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Registration-with-captcha.md b/Registration-with-captcha.md index f7fd0c0..4670910 100644 --- a/Registration-with-captcha.md +++ b/Registration-with-captcha.md @@ -11,6 +11,22 @@ Check the console in the developer tools for a redirect starting with `signalcap Everything after `signalcaptcha://` is the captcha token. ![](https://user-images.githubusercontent.com/292790/113993106-a8cd5280-9886-11eb-9380-4afe7b71482f.png) +Using Linux with Firefox, you are prompted what program to open the link with. You can create the following python file, browse to it in Firefox, and select it. This scirpt will output the captcha link to /tmp/captcha.txt + +``` +#!/usr/bin/python3 +from sys import argv + +def write_file(content,file): + fh = open(file,'w') + fh.write(content) + fh.close() + +write_file(str(argv[1]), "/tmp/captcha.txt") + +``` + + Then execute the `register` command again with the `--captcha` argument (https://github.com/AsamK/signal-cli/blob/master/man/signal-cli.1.adoc#register) ```