TIP: Click on subject to list as thread! ANSI
echo: fidosoft.husky
to: Alex Woick
from: Dmitry Sergienko
date: 2004-01-14 21:42:56
subject: Re: hpt expanding variables in area description

Hi, Alex!

‘।  Ÿ­¢ àì 14 2004, at 00:13 Alex Woick wrote to All:

 AW> If there is a line like this in fidoconfig:
 AW> EchoArea ANNOUNCE.OS2 /var/lib/fido/msg/a/announce.os2 -g fidonet -a
 AW> 2:244/1500 -d "[_] Announcements von OS/2 Files" 2:244/1200 -def
 AW> 2:244/1363
 AW>
 AW> then you get such an output from hpt areafix for this area:
 AW>
 AW>  S   ANNOUNCE.OS2 ........... "/usr/local/bin/hpt Announcements von
 AW> OS/2 Files"
 AW>
 AW> Hpt takes [_] as environment variable _ and expands it to the
 AW> bash-supplied path to hpt. If your area forwarding lists are generated
 AW> by a coordinator and not by yourself, and you use them without
 AW> filtering such variable references, he could inject arbitrary
 AW> variables there and let people peek at them via areafix %list. I
 AW> suggest a modification of the config file scanner. I imagine, htick
 AW> has the same problem.

What exact modifications do you propose?

    Dmitry

--- GoldED+/LNX 1.1.5
* Origin: LinuxLand II * trooper{at}email.dp.ua * ICQ: 38304000 (2:464/910.1)
SEEN-BY: 633/267 270
@PATH: 464/910 2411/12 413 2432/200 2476/418 140/1 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.