Trying to find some example code using getpwd but it seems to be a command lesser used... I'm well aware that the command could be used with a bind - <command>... but could it be used in some other way? Say... If i wanted a script to do something when a user enters a certain directory.... Any help a...
yea ;) Any user with access to the !get command and a known filename could use it like this f.i.: 03:54 <@dMG> !get ../../../../etc/passwd 03:54 <@hosee2> requesting transfer of ../../../../etc/passwd to dMG 03:54 <@hosee2> ok! sending file 03:54 <@hosee2> ---==(\/)- getdiz by dmg -(\/)==--- so they...
Hi guys! I'm a beginner at tcl scripting and i've made a script that looks something like this: set chan "#ascii" set botdir "/home/dmg/hosee2" set rootdir "$botdir/filesys" set scrver "getdiz" set author "dmg" bind pub v !get get_file proc get_file ...