Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: BenRussell
  • Content: Threads
  • Order by date
  1. BenRussell

    Security of Java source code?

    I am working on a program/script in which I wanted to write in Perl. However, this is not possible since I want to keep the source code secure instead of releasing it open source. I want to release the program in a compiled form in which the source code cannot be revealed. Is Java a viable...
  2. BenRussell

    Error when trying to "include" a file

    I am running BIND 9.2.4 and am having a problem. I am trying to include another .conf file but am getting an error every time I try. I edited /etc/named.conf (Im also on a Fedora Core 3 box) and added this: include "/usr/share/mysite/named.conf"; However, when I issue the command (over SSH)...
  3. BenRussell

    Making a Perl/Tk window always stay on top

    How can I make my Tk window always stay on top, no matter what other windows are open? The Tk window is a window that displays advertisements (NOT spyware or adware in case youre wondering), and I need it to always be on top of other windows. I also need it, when activated, to "push"...
  4. BenRussell

    Embedding IE in a Perl/Tk Widget?

    Is it possible to embed an Internet Explorer window inside of a Perl/Tk widget? Basically, I am writing a program that I want to display a small advertisement window at the bottom, but I want it to be displayed using IE and point to a specific URL. If that is not possible, it it possible to...
  5. BenRussell

    Reading a random image?

    Is it possible in Perl to create a script that can read the "random images" that are sometimes used in registration and posting forms on websites? Like the ones that contain a few numbers that change each time the page is loaded, and the user has to type them into a box to make sure it is a...
  6. BenRussell

    Problem with perlcc and modules

    I cannot get my perl scripts to work if they use any modules. For example, take the following script (test.pl): use Digest::MD5; print Digest::MD5::md5_hex("Some text"); print "\n"; When I compile it with the command: perlcc test.pl It tells me: /tmp/ccl0Jfet.o: In...
  7. BenRussell

    ExtUtils::Embed and source code security

    I was wondering if I embedded my Perl script code in a C program using ExtUtils::Embed and then compiled the C program, would this be a secure way of protecting my source code? Is it at least reasonably secure? What are the possible (and probable) ways that someone could retrieve the Perl...
  8. BenRussell

    Adding directories in Archive::Tar

    I am using Archive::Tar to make a backup of some files and directories on my server. This works fine: $archive->add_files("/etc/SOMEFILE"); IF, SOMEFILE is actually a file and not a directory. However, when I try to add a directory like so...
  9. BenRussell

    GnuPG illegal in the US?

    Is GnuPG illegal in the United States? For instance, if I have a web server that uses GnuPG to encrypt emails sent to and from it, and this web server is located in the United States, is this illegal? Also, what if I use GnuPG for personal use on my home PC? - Ben
  10. BenRussell

    Storing images and other binary files in MySQL

    I am running an online service that allows users to upload images to my website. Instead of storing the pictures on my website as .jpg or something of that sort, how can I instead store them in a table in my MySQL database? ANd then, how do I retrieve them and display them in the browser? I am...
  11. BenRussell

    Best way to store a key for Rijndael cipher

    I am using the Rijndael cipher (utilizing CBC) to encrypt credit card numbers to store on a server (in the future). However, I was wondering what the best way is to store the key for the encryption/decryption. I thought of simply storing it as plaintext in a MySQL database where my web...
  12. BenRussell

    Help with database name

    I recall reading about a database that you could install into Perl (probably using a DBD:: driver), but it wasnt really a database like mySQL or mSQL. Instead, you could specify the absolute path to a file where the driver would create the tables, etc. for you, without the need to actuallly...
  13. BenRussell

    Redirecting and sending POST information simultaneously

    I want to know how to redirect someone to a webpage, but send POST information along with them. I know that I could use the GET method like this: print "Location: http://www.somesite.tld/somescript.pl?key1=value1&key2=value2\n"; However, sometimes there might be more information...
  14. BenRussell

    Creating a user on linux using useradd

    I want to create a user using a Perl script using the 'useradd' command (on Red Hat Linux). However, I also want to set the password when I issue the command, such as: useradd SOMEUSER -p SOMEPASSWORD The problem is that SOMEPASSWORD has to be encrypted when it is passed to useradd and I do...
  15. BenRussell

    Help with Image::Magick

    I am trying to read a file (that I know exists and is readable, called 'EXISTING_IMAGE.jpg') and then simply print it back out to the browser via a Perl script. I am using the following code: print "Content-type: image/gif\n\n"; # Read the image...
  16. BenRussell

    Best way to encrypt/decrypt and store credit cards

    I am trying to figure out the best encryption/decryption algorithm to use when storing client's credit card numbers (for a website). I will store the numbers in a MySQL database, but was wondering what algorithm to use. Could anybody give any suggestions? - Ben
  17. BenRussell

    Encode or Encrypt Source Code

    Could someone tell me of a program or website out there that can Encrypt and/or Encode Perl scripts? - Ben
  18. BenRussell

    Selecting from 2 tables when there is no item in the second table

    I have 2 tables (for instance): BOOKS ---------------------------------- book_id An ID number author title BOOK_SIZE ---------------------------------- book_id The ID number from BOOKS size i.e. Large, Small, etc...
  19. BenRussell

    cron reading an external file

    I want CRON to read a file and execute the commands in that file just like it would using crontab. However, I want to be able to specify where the file is (for example: /etc/MYPROGRAM/jobs.cron) Any idea how I can do this? - Ben
  20. BenRussell

    Difference in 2 dates

    I have 2 dates in YYYYMMDDHHmmSS format. I know that $time1 is LESS THAN $time2, but I need to know how I can figure out how many MINUTES there are until $time1 reaches $time2. Is there a module or some mathematical way to do this? - Ben

Part and Inventory Search

Back
Top