Libraryless. Click here for Pure Java version (1138L/8K/27K).
1 | !747 |
2 | |
3 | m {
|
4 | p {
|
5 | if (l(args) != 0 && isInteger(args[0])) |
6 | telnetFromConsoleTo("localhost", parseInt(args[0]));
|
7 | else {
|
8 | while (true) {
|
9 | print(); |
10 | for (ProgramScan.Program p : quickBotScan()) |
11 | print("Port " + p.port + " - " + p.helloString);
|
12 | print("Enter a port number to connect.");
|
13 | S s = readLine(); |
14 | if (match("bye", s) || match("", s)) break;
|
15 | int port = parseInt(s); |
16 | telnetFromConsoleTo("localhost", port);
|
17 | } |
18 | print("bye!");
|
19 | } |
20 | } |
21 | } |
Began life as a copy of #1001140
download show line numbers debug dex old transpilations
Travelled to 17 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, dhtvkmknsjym, gwrvuhgaqvyk, ishqpsrjomds, jtubtzbbkimh, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1001146 |
| Snippet name: | Tel bot (list running bots on console, allow to connect to one) |
| Eternal ID of this version: | #1001146/1 |
| Text MD5: | 6edc32ff0d13b7c406fe74cc022bf405 |
| Transpilation MD5: | 3dcc2a53c8fb63a507ee16c19de14b28 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX source code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2015-12-11 01:14:59 |
| Source code size: | 548 bytes / 21 lines |
| Pitched / IR pitched: | No / Yes |
| Views / Downloads: | 811 / 1423 |
| Referenced in: | [show references] |