A program to reimplement copy-paste..? Removing

exquo 2021-08-10 07:36:15 +00:00
parent 33eb8e73e3
commit 3d69525fb3

@ -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)
```