Sha256: 24163061b3d732d53798f117d03c3a2ac099a949fd5c28ac09070701d08f1d3a

Contents?: true

Size: 330 Bytes

Versions: 5

Compression:

Stored size: 330 Bytes

Contents

#! /home/cout/.rvm/rubies/ruby-1.9.3-p194/bin/ruby

require 'internal/node/obfusc'

filename = ARGV[0]

if not filename then
  puts "Usage: #{$0} <filename>"
  exit 1
fi

str = File.read(filename)

node = Node.compile_string(str)

# TODO: Should the whole program be obfuscated or just this module?
str = node.obfusc()

puts str

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ruby-internal-0.8.5 bin/ruby-internal-obfuscate
ruby-internal-0.8.4 bin/ruby-internal-obfuscate
ruby-internal-0.8.3 bin/ruby-internal-obfuscate
ruby-internal-0.8.2 bin/ruby-internal-obfuscate
ruby-internal-0.8.1 bin/ruby-internal-obfuscate