I've search the forums regarding posts similar to this already but can't find the suitable response. Am actually looking for something very trivial I think. I just want to mask/obfuscate the a.out file and run it like a normal UNIX program. I've look at gpg and encryption but it requires a pass phrase which is not possible if I want to run the program via a cron job.
Any advise will be very much appreciated. Note that the code below is just an example. I suppose am looking for someting like a Base64 encoder/decoder kind of thing that some PHP sites uses so that the PHP codes are still runnable but the visitors does not see the actual PHP codes.
Thanks in advance.
strings a.out:
Last edited by Scott; 05-30-2010 at 08:27 AM..
Reason: Fixed code tags - [code][/code], not <code></code>
Hello I am having serious trouble with the fork command, i basically want to create 9 or 10 child processes and store their pid numbers in array while the children stay resident until i kill() them later , i cannot seem to control how many are made as they all seem to create their own children.
... (16 Replies)
Hi,
I have the following requirement. I am building a product on linux. The final build executables and libraries are all in different directories. I am writing a release script to collect all these final build items into a directory in /home/$USER/release.
I have the following condition:
... (9 Replies)
i am using redhat 8.0 and trying to connect to my local port 80 to run some HTTP. i know this can easily be done with telnet localhost 80, however telnet is not running, ssh is. ssh localhost -p 80 gives me a "Connection refused" error.
i've been trying to find out more information on the web,... (3 Replies)
If I have a directory /directory1 and want to tar and zip everything in it into a file new_tar.tar.gz on disk (not tape)
How can I do it?
I tried tar -cv /new_tar.tar /directory1/*
But I got an error: tar: /dev/rmt/0: No such device or address (4 Replies)
I am familiar with cron, and vi, but i need to make a change to my
/etc/hosts file, and would like to schedule it. Not sure how to run vi inside of cron. (4 Replies)
I have a file that is 20 - 80+ MB in size that is a certain type of log file.
It logs one of our processes and this process is multi-threaded. Therefore the log file is kind of a mess. Here's an example:
The logfile looks like: "DATE TIME - THREAD ID - Details", and a new file is created... (4 Replies)
Hi gurus.
Not such a problem, more of a proof of concept.
Ive got two zones :- database-1 and database-dr-1 on two different servers. Both zones have different ip addresses.
I want to copy the whole zone database-1 over to database-dr-1, which is simple enough, but I want to install... (0 Replies)
Hi,
I have a file below that I am wanting to awk. The lines of relevance are lines 7 and 9
$ nl /tmp/x
1 ADRCI: Release 11.2.0.3.0 - Production on Sun Jun 23 17:01:02 2013
2 Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
3 ADR base =... (2 Replies)
Hi,
I need to somehow pipe the password to a command and run some SQL, for example, something like echo $password | sqlplus -s system @query01.sql
To make it not so obvious, I decided to try out writing a small C program that basically just do echo $password. So now I just do x9.out | sqlplus... (8 Replies)
Hi,
Humorous UNIX Commands shows a fun way of using echo and dc to sort of obfuscate a string.
% echo 'sasb3135071790101768542287578439snlbxq'|dc
GET A LIFE!
I am just wanting to know if there is a way to sort of use dc and echo to print out an obfuscated/garbled string instead... (3 Replies)
Discussion started by: newbie_01
3 Replies
LEARN ABOUT ULTRIX
dwtfileselectiondosearch
DwtFileSelectionDoSearch(3Dwt)DwtFileSelectionDoSearch(3Dwt)Name
DwtFileSelectionDoSearch - Initiates a search with a directory mask option. Otherwise, the current directory mask is used.
Syntax
void DwtFileSelectionDoSearch(widget, dirmask)
FileSelectionWidget widget;
DwtCompString dirmask;
Arguments
widget Specifies the pointer to the file selection widget data structure.
dirmask Specifies the directory mask used in determining the files displayed in the file selection list box. This is an optional
attribute. If you do not specify a directory mask, the default directory mask is used. This argument sets the DwtNdirMask
attribute associated with DwtFileSelectionCreate.
Description
The file selection widget initiates file searches when any of the following occur:
o The file selection widget becomes visible (managed).
o You use XtSetValues to change the directory mask.
o The user clicks on the Apply push button.
o The application calls DwtFileSelectionDoSearch, which is another way for applications to initiate a directory search. This may be
useful, for example, when the application creates a new file and wants to reflect this change in a mapped file search widget.
See AlsoDwtFileSelection(3Dwt)
Guide to the XUI Toolkit: C Language Binding
Guide to the XUI Toolkit Intrinsics: C Language Binding
DwtFileSelectionDoSearch(3Dwt)