Libraryless. Click here for Pure Java version (1381L/10K/31K).
1 | !747 |
2 | |
3 | m { |
4 | |
5 | static S masterKey = loadSnippet("#1001582"); |
6 | |
7 | p { |
8 | S botID = "Boot Bot"; |
9 | S msg = "n"; |
10 | S text = format3("please forward to bot *: *", botID, msg); |
11 | S signed = signWithComputerID(text); |
12 | print(signed); |
13 | print("OK? " + isSignedWithKey(signed, masterKey)); |
14 | |
15 | DialogIO io = talkTo("second.tinybrain.de", 4999); |
16 | S greeting = io.readLine(); |
17 | S line = format3("signed: *", signed); |
18 | print (">> " + line); |
19 | io.sendLine(line); |
20 | S answer = io.readLine(); |
21 | print ("<< " + answer); |
22 | io.close(); |
23 | } |
24 | } |
Works only on authorized machine
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1001589 |
Snippet name: | Tunnel signed command to remote bot |
Eternal ID of this version: | #1001589/1 |
Text MD5: | 2bed58ac942d16c5971ab9bb21b25bf1 |
Transpilation MD5: | f248ddfb50fa7714139d4bf6298236af |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-10-25 22:19:16 |
Source code size: | 575 bytes / 24 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 684 / 720 |
Referenced in: | [show references] |