• js script?

    From Bill McGarrity@VERT/TEQUILAM to All on Mon Apr 2 20:55:37 2018
    Hello gang!ããWas wondering if there was a src or js script that will requst a raw ansi file over http and then do a console.printfile within an external program or to display a hotlink?ããThanks..ããBillããããã---ã þ Synchronet þ TequilaMockingbird Online - Toms River, NJã
  • From echicken@VERT/ECBBS to Bill McGarrity on Mon Apr 2 22:11:28 2018
    Re: js script?ã By: Bill McGarrity to All on Mon Apr 02 2018 20:55:37ãã BM> Was wondering if there was a src or js script that will requst a raw ansiã BM> file over http and then do a console.printfile within an external programã BM> or to display a hotlink? ããIt's doable. I host an ANSI archive on my BBS, which is viewable remotely viaãthe ansiview external program. The files are fetched via HTTP.ããThere's no simple script just to fetch and display a .ans file that I'm awareãof, but it would be easy to do. I can make it for you, but I might need a fewãmore details.ããOne gotcha is that if the file is hosted on a Synchronet webserver, the serverãmight convert it to an HTML rendering of the graphic before sending it to theãclient. (See ctrl/web_handler.ini, and whether asc_handler.js is set up toãserve .ans files.) There are ways around that, starting with just giving theãfile something other than a .ans extension.ãã---ãechickenãelectronic chicken bbs - bbs.electronicchicken.com - 416-273-7230ã þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.comã
  • From Bill McGarrity@VERT/TEQUILAM to echicken on Tue Apr 3 06:18:00 2018
    echicken wrote to Bill McGarrity on 04-02-18 22:11 <=-ãã ec> Re: js script?ã ec> By: Bill McGarrity to All on Mon Apr 02 2018 20:55:37ãã BM> Was wondering if there was a src or js script that will requst a raw ansiã BM> file over http and then do a console.printfile within an external programã BM> or to display a hotlink?ãã ec> It's doable. I host an ANSI archive on my BBS, which is viewableã ec> remotely via the ansiview external program. The files are fetched viaã ec> HTTP.ããThere's two ways I can do this. Fetch a raw ansi from the following:ããhttp://games.bbslink.net/score.php?door=lord&type=ansiããor... do a hotlink to the following:ããhttp://games.bbslink.net/score.php?door=lord&type=imageãã ãã ec> There's no simple script just to fetch and display a .ans file that I'mã ec> aware of, but it would be easy to do. I can make it for you, but Iã ec> might need a few more details.ããLet me know... :)ãã ec> One gotcha is that if the file is hosted on a Synchronet webserver, theã ec> server might convert it to an HTML rendering of the graphic beforeã ec> sending it to the client. (See ctrl/web_handler.ini, and whetherã ec> asc_handler.js is set up to serve .ans files.) There are ways aroundã ec> that, starting with just giving the file something other than a .ansã ec> extension.ããAs you can see above, they're using php. ããI'll await your reply to see what else you'll need.ããThanks!!ããã--ããBillããTelnet: tequilamockingbirdonline.netãWeb: bbs.tequilamockingbirdonline.netãFTP: ftp.tequilamockingbirdonline.net:2121ãIRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: +6697ãRadio: radio.tequilamockingbirdonline.net:8010/liveããã... Look Twice... Save a Life!!! Motorcycles are Everywhere!!!ã--- MultiMail/Win32 v0.50ã þ Synchronet þ TequilaMockingbird Online - Toms River, NJã
  • From echicken@VERT/ECBBS to Bill McGarrity on Tue Apr 3 08:26:36 2018
    Re: js script?ã By: Bill McGarrity to echicken on Tue Apr 03 2018 06:18:00ãã BM> There's two ways I can do this. Fetch a raw ansi from the following:ãã BM> http://games.bbslink.net/score.php?door=lord&type=ansiã BM> or... do a hotlink to the following:ãã BM> http://games.bbslink.net/score.php?door=lord&type=imageããDisplaying the ANSI should be easy enough. I could include a link to the fileãat the bottom, not sure if that's worthwhile.ãã BM> I'll await your reply to see what else you'll need.ããShould be enough to go on. This could be a script that you call fromãxtrn_sec.js after a user exits an external program, or it could be a menu-basedãthing where a user picks from a list of score files to view, or both. How doãyou want to invoke it?ãã---ãechickenãelectronic chicken bbs - bbs.electronicchicken.com - 416-273-7230ã þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.comã
  • From echicken@VERT/ECBBS to Bill McGarrity on Tue Apr 3 11:49:54 2018
    Re: js script?ã By: Bill McGarrity to echicken on Tue Apr 03 2018 06:18:00ãã BM> There's two ways I can do this. Fetch a raw ansi from the following:ãã BM> http://games.bbslink.net/score.php?door=lord&type=ansiããGive this a shot:ããhttps://github.com/echicken/bbslink-thingsããThe 'scores.js' module has two modes: ãã- clear the screen, display a particular score file, pause, then exitã- launch as a full-screen lightbar score browserããExecute it with an argument (eg. 'lord') to run it in the first mode, orãwithout arguments to run it in the other mode. Valid arguments can be found inãsettings.ini. If new score files are added to the site at some point, they canãbe added to settings.ini.ãã---ãechickenãelectronic chicken bbs - bbs.electronicchicken.com - 416-273-7230ã þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.comã
  • From Bill McGarrity@VERT/TEQUILAM to echicken on Tue Apr 3 13:49:00 2018
    echicken wrote to Bill McGarrity on 04-03-18 11:49 <=-ãã ec> Re: js script?ã ec> By: Bill McGarrity to echicken on Tue Apr 03 2018 06:18:00ãã BM> There's two ways I can do this. Fetch a raw ansi from the following:ãã BM> http://games.bbslink.net/score.php?door=lord&type=ansiãã ec> Give this a shot:ãã ec> https://github.com/echicken/bbslink-thingsãã ec> The 'scores.js' module has two modes:ãã ec> - clear the screen, display a particular score file, pause, then exitã ec> - launch as a full-screen lightbar score browserãã ec> Execute it with an argument (eg. 'lord') to run it in the first mode,ã ec> or without arguments to run it in the other mode. Valid arguments canã ec> be found in settings.ini. If new score files are added to the site atã ec> some point, they can be added to settings.ini.ããYou nailed it!!ããThank you so much!!ããã--ããBillããTelnet: tequilamockingbirdonline.netãWeb: bbs.tequilamockingbirdonline.netãFTP: ftp.tequilamockingbirdonline.net:2121ãIRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: +6697ãRadio: radio.tequilamockingbirdonline.net:8010/liveããã... Look Twice... Save a Life!!! Motorcycles are Everywhere!!!ã--- MultiMail/Win32 v0.50ã þ Synchronet þ TequilaMockingbird Online - Toms River, NJã
  • From Bill McGarrity@VERT/TEQUILAM to echicken on Tue Apr 3 15:06:34 2018
    Re: js script?ã By: echicken to Bill McGarrity on Tue Apr 03 2018 11:49:54ããHiya echicken..ãã ec> Give this a shot:ãã ec> https://github.com/echicken/bbslink-thingsãã ec> The 'scores.js' module has two modes:ããAs I previously stated, it works perfectl but just a thought. The line inãthe code: console.putmsg(bbs.text(563)); really isn't needed. It gives aãdouble Hit a Key at the end of the file.ããThanks again...ãã--ããBillããTelnet: tequilamockingbirdonline.netãWeb: bbs.tequilamockingbirdonline.netãFTP: ftp.tequilamockingbirdonline.net:2121ãIRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: 6697ãRadio: radio.tequilamockingbirdonline.net:8010/liveãã---ã þ Synchronet þ TequilaMockingbird Online - Toms River, NJã
  • From echicken@VERT/ECBBS to Bill McGarrity on Tue Apr 3 15:30:10 2018
    Re: js script?ã By: Bill McGarrity to echicken on Tue Apr 03 2018 15:06:34ãã BM> As I previously stated, it works perfectl but just a thought. The line inã BM> the code: console.putmsg(bbs.text(563)); really isn't needed. It gives aã BM> double Hit a Key at the end of the file.ããOkay, I've removed that.ããAlso I should point out that this thing caches the .ans files locally. Theã'cache_ttl' setting in 'settings.ini' controls how long a cached file remainsãvalid for, in seconds. The default value is 86400 (one day). You can turnãcaching off by setting that to 0.ãã---ãechickenãelectronic chicken bbs - bbs.electronicchicken.com - 416-273-7230ã þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.comã
  • From Bill McGarrity@VERT/TEQUILAM to echicken on Tue Apr 3 20:10:00 2018
    echicken wrote to Bill McGarrity on 04-03-18 15:30 <=-ãã ec> Re: js script?ã ec> By: Bill McGarrity to echicken on Tue Apr 03 2018 15:06:34ãã BM> As I previously stated, it works perfectl but just a thought. The line inã BM> the code: console.putmsg(bbs.text(563)); really isn't needed. It gives aã BM> double Hit a Key at the end of the file.ãã ec> Okay, I've removed that.ããGreat!!ãã ec> Also I should point out that this thing caches the .ans files locally.ã ec> The 'cache_ttl' setting in 'settings.ini' controls how long a cachedã ec> file remains valid for, in seconds. The default value is 86400 (oneã ec> day). You can turn caching off by setting that to 0.ããGood to know. I'll play with it. :)ããThanks again... ããPS... ããNow this is strange. Everytime I choose the Assassin score ansi, it loads it onãthe screen but it also sends it to the printer. This is the only one that doesãit. Possible 'print' command snuck in there? For now I just removed it as it'sãnot that popular of a game. ããã--ããBillããTelnet: tequilamockingbirdonline.netãWeb: bbs.tequilamockingbirdonline.netãFTP: ftp.tequilamockingbirdonline.net:2121ãIRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: +6697ãRadio: radio.tequilamockingbirdonline.net:8010/liveããã... Look Twice... Save a Life!!! Motorcycles are Everywhere!!!ã--- MultiMail/Win32 v0.50ã þ Synchronet þ TequilaMockingbird Online - Toms River, NJã
  • From echicken@VERT/ECBBS to Bill McGarrity on Tue Apr 3 21:55:06 2018
    Re: js script?ã By: Bill McGarrity to echicken on Tue Apr 03 2018 20:10:00ãã BM> Now this is strange. Everytime I choose the Assassin score ansi, it loadsã BM> it on the screen but it also sends it to the printer. This is the only oneããTo ... your actual ... printer? That's interesting.ãã BM> that does it. Possible 'print' command snuck in there? For now I justã BM> removed it as it's not that popular of a game. ããI guess there could be something strange in that particular file that's causingãthis. The script just downloads the file (or reads the cached copy from disk)ãand writes it to the terminal. It does use the JS console.putmsg() method,ãwhich interprets various special codes (ctrl-A, at-symbol, pipe, etc.) - notãsure if anything funky could be happening there.ããAre you using SyncTERM when this happens? Something else?ãã---ãechickenãelectronic chicken bbs - bbs.electronicchicken.com - 416-273-7230ã þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.comã
  • From echicken@VERT/ECBBS to Bill McGarrity on Tue Apr 3 22:12:20 2018
    Re: js script?ã By: Bill McGarrity to echicken on Tue Apr 03 2018 20:10:00ãã BM> Now this is strange. Everytime I choose the Assassin score ansi, it loadsã BM> it on the screen but it also sends it to the printer. This is the only oneããThe last (non-empty) line in that file is a bit odd and appears to contain anãesc[i sequence (among others), which seems to mean 'print screen' if yourãterminal supports it. Something funny going on with that player's nameãperhaps - 'ASSasin' followed by some junk, with 'sin' mixed in; botched attemptãat fixing a typo? I dunno. Maybe the BBSLink operator can correct it.ãã---ãechickenãelectronic chicken bbs - bbs.electronicchicken.com - 416-273-7230ã þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.comã
  • From Bill McGarrity@VERT/TEQUILAM to echicken on Wed Apr 4 00:20:00 2018
    echicken wrote to Bill McGarrity on 04-03-18 21:55 <=-ãã ec> Re: js script?ã ec> By: Bill McGarrity to echicken on Tue Apr 03 2018 20:10:00ãã BM> Now this is strange. Everytime I choose the Assassin score ansi, it loadsã BM> it on the screen but it also sends it to the printer. This is the only oneãã ec> To ... your actual ... printer? That's interesting.ããYes... I had a 'wtf' moment.. lol!ããã BM> that does it. Possible 'print' command snuck in there? For now I justã BM> removed it as it's not that popular of a game.ãã ec> I guess there could be something strange in that particular file that'sã ec> causing this. The script just downloads the file (or reads the cachedã ec> copy from disk) and writes it to the terminal. It does use the JSã ec> console.putmsg() method, which interprets various special codesã ec> (ctrl-A, at-symbol, pipe, etc.) - not sure if anything funky could beã ec> happening there.ããQuite possible but as I said, I removed it being the game isn't that popularãand I'm not sure I want to purchase a ream of paper every week. :)ãã ec> Are you using SyncTERM when this happens? Something else?ããPC+ ããNo biggie... I just found it curiously strange... ããThanks again...ããã--ããBillããTelnet: tequilamockingbirdonline.netãWeb: bbs.tequilamockingbirdonline.netãFTP: ftp.tequilamockingbirdonline.net:2121ãIRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: +6697ãRadio: radio.tequilamockingbirdonline.net:8010/liveããã... Look Twice... Save a Life!!! Motorcycles are Everywhere!!!ã--- MultiMail/Win32 v0.50ã þ Synchronet þ TequilaMockingbird Online - Toms River, NJã
  • From Bill McGarrity@VERT/TEQUILAM to echicken on Wed Apr 4 00:22:00 2018
    echicken wrote to Bill McGarrity on 04-03-18 22:12 <=-ãã ec> Re: js script?ã ec> By: Bill McGarrity to echicken on Tue Apr 03 2018 20:10:00ãã BM> Now this is strange. Everytime I choose the Assassin score ansi, it loadsã BM> it on the screen but it also sends it to the printer. This is the only oneãã ec> The last (non-empty) line in that file is a bit odd and appears toã ec> contain an esc[i sequence (among others), which seems to mean 'printã ec> screen' if your terminal supports it. Something funny going on withã ec> that player's name perhaps - 'ASSasin' followed by some junk, withã ec> 'sin' mixed in; botched attempt at fixing a typo? I dunno. Maybe theã ec> BBSLink operator can correct it.ããI'll drop him a line but I doubt it. He just uses the ansi files created byãthe game itself but I'll let him know.ããThanks..ããã--ããBillããTelnet: tequilamockingbirdonline.netãWeb: bbs.tequilamockingbirdonline.netãFTP: ftp.tequilamockingbirdonline.net:2121ãIRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: +6697ãRadio: radio.tequilamockingbirdonline.net:8010/liveããã... Look Twice... Save a Life!!! Motorcycles are Everywhere!!!ã--- MultiMail/Win32 v0.50ã þ Synchronet þ TequilaMockingbird Online - Toms River, NJã
  • From echicken@VERT/ECBBS to Bill McGarrity on Wed Apr 4 10:52:37 2018
    Re: js script?ã By: Bill McGarrity to echicken on Wed Apr 04 2018 00:20:00ãã ec> Are you using SyncTERM when this happens? Something else?ãã BM> PC+ ããI'm going to guess it interprets "print screen" very literally, then. ãInteresting quirk with this particular file, but it probably won't affect manyãpeople.ãã---ãechickenãelectronic chicken bbs - bbs.electronicchicken.com - 416-273-7230ã þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.comã
  • From Bill McGarrity@VERT/TEQUILAM to echicken on Wed Apr 4 13:13:00 2018
    echicken wrote to Bill McGarrity on 04-04-18 10:52 <=-ãã ec> Re: js script?ã ec> By: Bill McGarrity to echicken on Wed Apr 04 2018 00:20:00ãã ec> Are you using SyncTERM when this happens? Something else?ãã BM> PC+ãã ec> I'm going to guess it interprets "print screen" very literally, then.ã ec> Interesting quirk with this particular file, but it probably won'tã ec> affect many people.ããMost likely that's why it's gone. I hope not. Your work is impeccable. ããã--ããBillããTelnet: tequilamockingbirdonline.netãWeb: bbs.tequilamockingbirdonline.netãFTP: ftp.tequilamockingbirdonline.net:2121ãIRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: +6697ãRadio: radio.tequilamockingbirdonline.net:8010/liveããã... Look Twice... Save a Life!!! Motorcycles are Everywhere!!!ã--- MultiMail/Win32 v0.50ã þ Synchronet þ TequilaMockingbird Online - Toms River, NJã
  • From Android8675@VERT/SHODAN to echicken on Tue Apr 10 11:13:34 2018
    Re: js script?ã By: echicken to Bill McGarrity on Tue Apr 03 2018 11:49 amãã ec> Give this a shot:ã ec> https://github.com/echicken/bbslink-thingsãã*Yoink!*ããã... History tends to exaggerate.ãã---ã þ Synchronet þ Shodan's Core @ ShodansCore.comã