Sponsored Content
Full Discussion: Obfuscate'ing a.out ... ???
Top Forums Programming Obfuscate'ing a.out ... ??? Post 302425797 by jim mcnamara on Sunday 30th of May 2010 08:57:23 AM
Old 05-30-2010
Put that in the oracle crontab, place a.out (owned by oracle) with 700 protections in an oracle owned directory. Embedded passwords in code are always a problem.

Another choice is embed an encrypted passwd and decode it during runtime. And as long as the executable is in a protected directory with correct protections it will be reasonably safe.

If the oracle directory tree is wide open, you have so many other security problems, this one doesn't matter.
 

10 More Discussions You Might Find Interesting

1. Programming

fork()ing hell!!

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)
Discussion started by: theultimatechuf
16 Replies

2. Shell Programming and Scripting

OR'ing condition in script

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)
Discussion started by: vino
9 Replies

3. Red Hat

ssh-ing to port 80.

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)
Discussion started by: effigy
3 Replies

4. UNIX for Dummies Questions & Answers

tar'ing and zipping files

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)
Discussion started by: FredSmith
4 Replies

5. UNIX for Dummies Questions & Answers

vi'ing with cron

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)
Discussion started by: trjones89
4 Replies

6. Shell Programming and Scripting

grep'ing and sed'ing chunks in bash... need help on speeding up a log parser.

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)
Discussion started by: elinenbe
4 Replies

7. Solaris

Zones - NAT'ing

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)
Discussion started by: sbk1972
0 Replies

8. UNIX for Dummies Questions & Answers

Help with awk'ing formatting this

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)
Discussion started by: newbie_01
2 Replies

9. Programming

How to hide from UNIX strings - obfuscate or hide a literal or constant?

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)
Discussion started by: newbie_01
8 Replies

10. UNIX for Dummies Questions & Answers

UNIX fun stuff - echo and dc - obfuscate/garble a string sort of

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
HTTPD(8)						      System Manager's Manual							  HTTPD(8)

NAME
httpd, echo - HTTP server SYNOPSIS
http/httpd [ -n namespace ] srvname netname netdir http/echo [ -n namespace ] [ -d domain ] [ -r remoteip ] method version uri [ search ] DESCRIPTION
Httpd serves the file system described by namespace (default /lib/namespace.http), using version 1.0 of the HTTP protocol. It is usually executed by listen(8) in response to an incoming call on TCP port 80, the HTTP port. Srvname is the name of the service invoked, typically tcp80, netname is the name of the network, typically TCP, and netdir is the network directory for the connection. Httpd supports only the GET and HEAD methods of the HTTP protocol. The Content-type (default application/octet-stream) and Content-encod- ing (default binary) of a file are determined by looking for suffixes of the file name in /sys/lib/http. If the requested URI begins with /magic/server/, httpd executes the file /bin/http/server to finish servicing the request. Method, ver- sion, and uri are those received on the first line of the request, which is the only line read by httpd before executing the magical server. Echo is a trivial server that just returns the method, URI, any search, and the headers sent by the client. FILES
/sys/lib/http content type description file /lib/namespace.http default namespace file for httpd SOURCE
/sys/src/cmd/httpd SEE ALSO
newns in auth(2), listen(8) HTTPD(8)
All times are GMT -4. The time now is 12:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy