
cmd ioslave
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
The cmd ioslave is a simple tool which executes a command in bash while capturing its output. Entering "cmd:date" in the location bar of konqueror would thus display the date. More complex commands using pipes and perl one-liners may also be used.
16 years ago
Capture stderr also, not just stdout.
16 years ago
Capture stderr also, not just stdout.
Superstoned
16 years ago
Report
fprog26
16 years ago
This would avoid any security risk, any created/modified files should be made on /tmp.
Again, we don't want ActiveX nightmare inside webpage for KDE users using cmd ioslave.
For instance, remembers me, webpage forcing people to turn on ActiveX, Java, JavaScript and install spyware...
else the website is not display!
Having cmd ioslave with a default read-only that can be turn to Read-write would result in some webpage forcing people to have read-write to view the page or accept a message box prompt recursively ala ActiveX.
e.g.
You must Accept this message.
Allow read-write cmd ioslave?
Yes No
No -> Force a loop... until user press Yes.
Another way would be to have cmd ioslave to be run EXCLUSIVELY as another user, like cmd_nobody:cmd_nobody on /tmp.
This would means that only world read accessible files could be read/parse, etc.
Fred.
Report
tilo
16 years ago
<a href="cmd: rm -rf ~">click me (not really!)</a>
keep careful;-)
Report
thomas12777
16 years ago
Anyway, beginners really shouldn't use this. (as a redirection would be even worse)
Report
StefanT
16 years ago
Is it possible to allow only local resources to use this ioslave?
Otherwise its a potential security risk to use it, IMO.
Report
fornwall
16 years ago
Entering something into the location bar of your browser should IMO not be able to result in your home partition being erased, warning or no warning. So this should really only be used by those understanding the risk taken.
Report
shafff
16 years ago
cdparanoia 1 - | lame - 1.mp3 --alt-preset standard
I assume, working dir is ~ ?
Report
meyerm
16 years ago
meyerm@yavin cmd $ make
cd . && /bin/sh /usr/local/src/Programme/cmd-ioslave/cmd/admin/missing --run aclocal-1.7
cd . && \
/bin/sh /usr/local/src/Programme/cmd-ioslave/cmd/admin/missing --run automake-1.7 --gnu Makefile
Can't locate object method "path" via package "Request" at /usr/share/autoconf/Autom4te/C4che.pm line 69, line 111.
configure.in: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE,
configure.in: that aclocal.m4 is present in the top-level directory,
configure.in: and that aclocal.m4 was recently regenerated (using aclocal).
configure.in: required file `./install-sh' not found
configure.in: required file `./mkinstalldirs' not found
configure.in: required file `./missing' not found
SUBDIRS: variable `TOPSUBDIRS' is used but `TOPSUBDIRS' is undefined
make: *** [Makefile.in] Error 1
Report
fornwall
16 years ago
Report