Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

16
LINES

< > BotCompany Repo | #1011376 // Search Smart Bot's Public URL

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (5474L/37K).

!7

p {
  startSmartBot();
  
  S ip = myFirewallIP();
  for (int port = 4678; port <= 4680; port++) {
    S url = "http://" + ip + ":" + port; 
    if (canLoadPage(url)) {
      print("Found: " + url);
      openBrowser(url);
    }
  }
  
  print("Port isn't forwarded");
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1011376
Snippet name: Search Smart Bot's Public URL
Eternal ID of this version: #1011376/1
Text MD5: 2e900ba8a35bebe85e28c91d185d47ff
Transpilation MD5: c47722eb152677169cddc906ce363443
Author: stefan
Category: javax / networking
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-26 04:57:51
Source code size: 289 bytes / 16 lines
Pitched / IR pitched: No / No
Views / Downloads: 500 / 1039
Referenced in: [show references]