Search Results

Search: Posts Made By: frad
2,720
Posted By Corona688
If you install Apache, you can put your scripts...
If you install Apache, you can put your scripts in a cgi-bin directory. When the client accesses www.mywebsite.com/cgi-bin/myscript.sh?var1=a&var2=b&var3=cv, it will run your script with...
34
80,642
Posted By ungalnanban
Vim tips and tricks
Vim Tips and Tricks


Save and quit



:w => Save [:w filename writes the content to the specified file from current file]

:q => Exit as long as there have been no changes

:q! =>...
6,244
Posted By Corona688
You cannot because, no matter how you hide it,...
You cannot because, no matter how you hide it, when you run it, it will feed the complete unencrypted text into the shell. It has to, or else system() couldn't run it!

That is always the problem...
6,244
Posted By Corona688
The question is not "how much safer can I make...
The question is not "how much safer can I make it". The question is, "how many more hoops can I put in the way of the unobscured code".

That is always the problem with rube goldberg solutions. ...
6,048
Posted By alister
The shebang, #!/bin/bash ... is irrelevant; the...
The shebang, #!/bin/bash ... is irrelevant; the system(3) library function will use /bin/sh. The OP's /bin/sh does not support the necessary features (arrays, indirect vars).

Regards,
Alister
6,048
Posted By wisecracker
I am not sure what you are trying to do but is it...
I am not sure what you are trying to do but is it this?
OSX 10.7.5, default bash terminal...
Last login: Sun Dec 1 15:55:50 on ttys000
AMIGA:barrywalker~> var=VAR
AMIGA:barrywalker~> k=0...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 08:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy