From 3d69525fb365a2ae5023aa9a34b56e77db9c1f63 Mon Sep 17 00:00:00 2001 From: exquo <62397152+exquo@users.noreply.github.com> Date: Tue, 10 Aug 2021 07:36:15 +0000 Subject: [PATCH] A program to reimplement copy-paste..? Removing --- Registration-with-captcha.md | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/Registration-with-captcha.md b/Registration-with-captcha.md index 36b123e..971408b 100644 --- a/Registration-with-captcha.md +++ b/Registration-with-captcha.md @@ -11,22 +11,6 @@ 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. You must set this script as executable. After completing the captcha and prompted for how to open, browse to this script and select it. This script 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) ```