Skip to content

martinvelez/w32evol_ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  1. Introduction

  2. Dependencies

  3. Installation

  4. Usage

  5. Development

This is not a virus nor does it contain a virus.

This is a Ruby wrapper for the obfuscation engine w32evol.

The w32evol obfuscation engine has a command line interface. This wrapper allows you to use the obfuscation engine within your Ruby scripts.

  • Ruby 1.9.2 or greater

  • wine (1.3 or greater, may work with 1.2)

  • w32evol (v0.1.0 is include in this gem’s ext folder)

You might need to use sudo.

gem install w32evol_ruby
  1. Download w32evol_ruby

  2. Require the w32evol Ruby class file in your program (lib folder)

    • The w32evol.exe engine is located in this gems ext folder.

This example is found in the examples directory.

#!/usr/bin/env ruby

require 'w32evol'

ARGF.binmode
input = ARGF.read
# Assuming engine is installed in this gem's "ext" folder.
# Otherwise, you must pass the engine's executable path to the class's 
# constructor.
# For example:
# engine = W32Evol.new({:command => "/path/to/engine"})
engine = W32Evol.new

output, errors, status = engine.obfuscate(input)

puts "INPUT:", input.inspect
puts "STATUS:", status
puts "ERRORS: ", errors
puts "OUTPUT:", output.inspect
Author

Martin Velez

Copyright

Copyright © 2012 Martin Velez

License

GPL

Bitbucket is hosting this code.

http://bitbucket.org/martinvelez/w32evol_ruby/src

Provide feedback, get help, request features, and reports bugs here:

https://bitbucket.org/martinvelez/w32evol_ruby/issues?status=new?status=open

About

a Ruby wrapper for the w32evol x86 obfuscation engine

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages