srecord ScannedBot(S helloString, S address) {} static L<ScannedBot> fullBotScan() { ret fullBotScan(""); } static L<ScannedBot> fullBotScan(S searchPattern) { new L<ScannedBot> bots; for (ProgramScan.Program p : quickBotScan()) { S botName = firstPartOfHelloString(p.helloString); boolean isVM = startsWithIgnoreCase(p.helloString, "This is a JavaX VM."); boolean shouldRecurse = swic(botName, "Multi-Port") || isVM; if (swic(botName, searchPattern)) bots.add(new ScannedBot(botName, "" + p.port)); if (shouldRecurse) try { Map<Number, S> subBots = (Map) unstructure(sendToLocalBotQuietly(p.port, "list bots")); for (Number vport : subBots.keySet()) { botName = subBots.get(vport); if (swic(botName, searchPattern)) bots.add(new ScannedBot(botName, p.port + "/" + vport)); } } catch (Exception e) { e.printStackTrace(); } } ret bots; }
download show line numbers debug dex old transpilations
Travelled to 17 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney, xrpafgyirdlv, yanjaxplzisb
No comments. add comment
| Snippet ID: | #1001771 | 
| Snippet name: | fullBotScan | 
| Eternal ID of this version: | #1001771/3 | 
| Text MD5: | 5370c984902a0259638859fcf18a7229 | 
| Author: | stefan | 
| Category: | |
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2020-05-25 22:38:21 | 
| Source code size: | 948 bytes / 26 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 959 / 1195 | 
| Version history: | 2 change(s) | 
| Referenced in: | [show references] |